Merge pull request #714 from Bars107/master

fixed bug with not appling light theme to My Favorites.
This commit is contained in:
vshcherb 2014-06-25 11:34:41 +02:00
commit 5381085664

View file

@ -40,7 +40,8 @@ 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
requestWindowFeature(Window.FEATURE_INDETERMINATE_PROGRESS);
((OsmandApplication) getApplication()).applyTheme(this);
requestWindowFeature(Window.FEATURE_INDETERMINATE_PROGRESS);
getSherlock().setUiOptions(ActivityInfo.UIOPTION_SPLIT_ACTION_BAR_WHEN_NARROW);
super.onCreate(icicle);
setSupportProgressBarIndeterminateVisibility(false);