Skip to content

Instantly share code, notes, and snippets.

@extmkv
Created March 8, 2018 09:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save extmkv/b6f4ed10703641d8885dd83c4a1d9ec6 to your computer and use it in GitHub Desktop.
Save extmkv/b6f4ed10703641d8885dd83c4a1d9ec6 to your computer and use it in GitHub Desktop.
public class ActivityPrimaryTheme extends AbstractFragmentActivity {
// The layout resource you want to find the FrameLayout.
@Override
protected int getLayoutResId() {
return R.layout.activity_primary;
}
// The default frameLayout id you want to inject the fragments.
@Override
protected int getContainerViewId() {
return R.id.frmContainer;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment