Project

General

Profile

« Previous | Next » 

Revision dd874ae8

Added by Leszek Koltunski over 2 years ago

Convert the theme to be a MaterialTheme and the TransparentImageButton to be a MaterialButton - the first forced by the second, and the second because a MaterialButton gives us control over the location of the icon in top of it. We need that because of the new 'solve/scramble' split-button in the lower right of the Play screen.

View differences:

src/main/java/org/distorted/main/RubikActivity.java
108 108
      super.onCreate(savedState);
109 109
      DistortedLibrary.onCreate(0);
110 110

  
111
      setTheme(R.style.CustomActivityThemeNoActionBar);
111
      setTheme(R.style.MaterialThemeNoActionBar);
112 112
      setContentView(R.layout.main);
113 113

  
114 114
      mJustStarted = true;

Also available in: Unified diff