Project

General

Profile

« Previous | Next » 

Revision e8f3534d

Added by Leszek Koltunski about 2 months ago

call setTheme before super() on all activities onCreate()

View differences:

src/main/java/org/distorted/bandaged/BandagedActivity.java
66 66
    @Override
67 67
    protected void onCreate(Bundle savedState)
68 68
      {
69
      setTheme(R.style.MaterialThemeNoActionBar);
69 70
      super.onCreate(savedState);
70 71

  
71 72
      Bundle b = getIntent().getExtras();
72 73
      mObjectOrdinal = (b != null) ? b.getInt("obj") : 0;
73 74

  
74 75
      DistortedLibrary.onCreate(ACTIVITY_NUMBER);
75
      setTheme(R.style.MaterialThemeNoActionBar);
76 76
      setContentView(R.layout.bandaged);
77 77

  
78 78
      DisplayMetrics displaymetrics = new DisplayMetrics();

Also available in: Unified diff