Revision 9881dc03
Added by Leszek Koltunski about 1 month ago
src/main/res/values/styles.xml | ||
---|---|---|
1 | 1 |
<resources> |
2 | 2 |
|
3 |
<style name="MaterialThemeNoActionBar" parent="@style/Theme.MaterialComponents.NoActionBar"> |
|
3 |
<style name="BaseMaterialThemeNoActionBar" parent="@style/Theme.MaterialComponents.NoActionBar">
|
|
4 | 4 |
<item name="tabBackground">@drawable/tab_background</item> |
5 | 5 |
<item name="tabIndicatorHeight">0dp</item> |
6 | 6 |
<item name="android:windowNoTitle">true</item> |
... | ... | |
12 | 12 |
<item name="buttonBarPositiveButtonStyle">@style/PositiveButtonStyle</item> |
13 | 13 |
</style> |
14 | 14 |
|
15 |
<style name="GreyTheme" parent="@style/BaseMaterialThemeNoActionBar"> |
|
16 |
<item name="darkBackground">@color/dark_grey</item> |
|
17 |
<item name="lightBackground">@color/grey</item> |
|
18 |
</style> |
|
19 |
|
|
20 |
<style name="WhiteTheme" parent="@style/BaseMaterialThemeNoActionBar"> |
|
21 |
<item name="darkBackground">@color/dark_white</item> |
|
22 |
<item name="lightBackground">@color/white</item> |
|
23 |
</style> |
|
24 |
|
|
25 |
<style name="GreenTheme" parent="@style/BaseMaterialThemeNoActionBar"> |
|
26 |
<item name="darkBackground">@color/dark_green</item> |
|
27 |
<item name="lightBackground">@color/green</item> |
|
28 |
</style> |
|
29 |
|
|
15 | 30 |
<style name="NegativeButtonStyle" parent="Widget.MaterialComponents.Button.TextButton.Dialog"> |
16 | 31 |
<item name="android:textColor">#ffffff</item> |
17 | 32 |
</style> |
Also available in: Unified diff
common code from all activities to one BaseActivity