-
Notifications
You must be signed in to change notification settings - Fork 204
Theme
qiibeta edited this page Apr 20, 2020
·
5 revisions
deprecated, you should not use this method to modify your Scene style.
Every Scene can have its different theme resource
@NonNull
@Override
public View onCreateView(@NonNull LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
setTheme(this.mThemeId);
return inflater.inflate(R.layout.scene_layout, container, false);
}
After setTheme, Scene created View's Context is a ContextWrapper, not Activity.
- Home
- Background
- Installation
- Basic
- NavigationScene
- GroupScene
- Navigation Animation
- Dialog
- Router
- Style
- State Save
- Architecture-Patterns
- Activity Compatibility
- Migrate Guide
- Benchmark (compare to Activity/Fragment)