Revision e8f3534d
Added by Leszek Koltunski about 2 months ago
src/main/res/values/styles.xml | ||
---|---|---|
1 | 1 |
<resources> |
2 | 2 |
|
3 |
<!-- Base application theme. --> |
|
4 |
<style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar"> |
|
5 |
<!-- Customize your theme here. --> |
|
6 |
<item name="colorPrimary">@color/colorPrimary</item> |
|
7 |
<item name="colorPrimaryDark">@color/colorPrimaryDark</item> |
|
8 |
<item name="colorAccent">@color/colorAccent</item> |
|
9 |
</style> |
|
10 |
|
|
11 |
<style name="CustomActivityThemeNoActionBar" parent="@style/Theme.AppCompat.NoActionBar"> |
|
12 |
<item name="android:windowNoTitle">true</item> |
|
13 |
<item name="android:windowActionBar">false</item> |
|
14 |
<item name="android:windowFullscreen">true</item> |
|
15 |
<item name="android:windowContentOverlay">@null</item> |
|
16 |
</style> |
|
17 |
|
|
18 | 3 |
<style name="MaterialThemeNoActionBar" parent="@style/Theme.MaterialComponents.NoActionBar"> |
19 | 4 |
<item name="tabBackground">@drawable/tab_background</item> |
20 | 5 |
<item name="tabIndicatorHeight">0dp</item> |
Also available in: Unified diff
call setTheme before super() on all activities onCreate()