fixed issue with not applying light theme to favorites

This commit is contained in:
unknown 2014-06-25 12:31:01 +03:00
parent 1fd0094f79
commit 65bdad56dd

View file

@ -40,7 +40,8 @@ public class FavouritesActivity extends SherlockFragmentActivity {
public void onCreate(Bundle icicle) { public void onCreate(Bundle icicle) {
//This has to be called before setContentView and you must use the //This has to be called before setContentView and you must use the
//class in com.actionbarsherlock.view and NOT android.view //class in com.actionbarsherlock.view and NOT android.view
requestWindowFeature(Window.FEATURE_INDETERMINATE_PROGRESS); ((OsmandApplication) getApplication()).applyTheme(this);
requestWindowFeature(Window.FEATURE_INDETERMINATE_PROGRESS);
getSherlock().setUiOptions(ActivityInfo.UIOPTION_SPLIT_ACTION_BAR_WHEN_NARROW); getSherlock().setUiOptions(ActivityInfo.UIOPTION_SPLIT_ACTION_BAR_WHEN_NARROW);
super.onCreate(icicle); super.onCreate(icicle);
setSupportProgressBarIndeterminateVisibility(false); setSupportProgressBarIndeterminateVisibility(false);