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/res/values/styles.xml
15 15
        <item name="android:windowContentOverlay">@null</item>
16 16
    </style>
17 17

  
18
   <style name="MaterialThemeNoActionBar" parent="@style/Theme.MaterialComponents.NoActionBar">
19
        <item name="android:windowNoTitle">true</item>
20
        <item name="android:windowActionBar">false</item>
21
        <item name="android:windowFullscreen">true</item>
22
        <item name="android:windowContentOverlay">@null</item>
23
    </style>
24

  
18 25
</resources>

Also available in: Unified diff