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/purchase/PurchaseActivity.java
53 53
    @Override
54 54
    protected void onCreate(Bundle savedState)
55 55
      {
56
      setTheme(R.style.MaterialThemeNoActionBar);
56 57
      super.onCreate(savedState);
57 58
      DistortedLibrary.onCreate(ACTIVITY_NUMBER);
58
      setTheme(R.style.MaterialThemeNoActionBar);
59 59
      setContentView(R.layout.purchase);
60 60

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

Also available in: Unified diff