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