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/info/InfoActivity.java
49 49
    @Override
50 50
    protected void onCreate(Bundle savedState)
51 51
      {
52
      setTheme(R.style.MaterialThemeNoActionBar);
52 53
      super.onCreate(savedState);
53 54
      DistortedLibrary.onCreate(ACTIVITY_NUMBER);
54
      setTheme(R.style.MaterialThemeNoActionBar);
55 55
      setContentView(R.layout.info);
56 56

  
57 57
      Bundle b = getIntent().getExtras();

Also available in: Unified diff