You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using nexusdialog and creating a form in my application, I need to support multiple theme in my application. For this reason I need to check the sharedPreferences for current theme in form before setting the layout in form, how could be possible when the layout is previously set.
@Override
public void onCreate(Bundle savedInstanceState) throws SQLException {
super.onCreate(savedInstanceState);
//chooseTheme is a method that check sharedpreferences for current theme and set the theme
//this method should be before setContentView
chooseTheme(this);
this.setContentView(layout.form_activity);
}
The text was updated successfully, but these errors were encountered:
I am using nexusdialog and creating a form in my application, I need to support multiple theme in my application. For this reason I need to check the sharedPreferences for current theme in form before setting the layout in form, how could be possible when the layout is previously set.
The text was updated successfully, but these errors were encountered: