Colored buttons everywhere!
This commit is contained in:
parent
f7e814431e
commit
612592516b
|
@ -0,0 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:state_enabled="false" android:color="@color/tertiarytext_dark" />
|
||||
<item android:color="@color/primarytext_dark" />
|
||||
</selector>
|
|
@ -22,14 +22,12 @@
|
|||
|
||||
<Button
|
||||
android:id="@+id/exportDBButton"
|
||||
style="@style/Widget.AppCompat.Button.Colored"
|
||||
android:text="Export DB"
|
||||
grid:layout_column="0"
|
||||
grid:layout_gravity="center" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/importDBButton"
|
||||
style="@style/Widget.AppCompat.Button.Colored"
|
||||
android:text="Import DB"
|
||||
grid:layout_gravity="center"
|
||||
grid:layout_column="1" />
|
||||
|
@ -67,7 +65,6 @@
|
|||
|
||||
<Button
|
||||
android:id="@+id/deleteOldActivityDB"
|
||||
style="@style/Widget.AppCompat.Button.Colored"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
|
@ -85,7 +82,6 @@
|
|||
|
||||
<Button
|
||||
android:id="@+id/emptyDBButton"
|
||||
style="@style/Widget.AppCompat.Button.Colored"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="Empty DB" />
|
||||
|
|
|
@ -9,6 +9,9 @@
|
|||
<item name="colorPrimaryDark">@color/primarydark_light</item>
|
||||
<item name="colorAccent">@color/accent</item>
|
||||
|
||||
<item name="android:buttonStyle">@style/Widget.AppCompat.Button.Colored</item>
|
||||
<item name="buttonStyle">@style/Widget.AppCompat.Button.Colored</item>
|
||||
|
||||
<item name="chart_deep_sleep">@color/chart_deep_sleep_light</item>
|
||||
<item name="chart_light_sleep">@color/chart_light_sleep_light</item>
|
||||
<item name="chart_activity">@color/chart_activity_light</item>
|
||||
|
@ -30,12 +33,19 @@
|
|||
<item name="colorPrimaryDark">@color/primarydark_dark</item>
|
||||
<item name="colorAccent">@color/accent</item>
|
||||
|
||||
<item name="android:buttonStyle">@style/ButtonDark</item>
|
||||
<item name="buttonStyle">@style/ButtonDark</item>
|
||||
|
||||
<item name="chart_deep_sleep">@color/chart_deep_sleep_dark</item>
|
||||
<item name="chart_light_sleep">@color/chart_light_sleep_dark</item>
|
||||
<item name="chart_activity">@color/chart_activity_dark</item>
|
||||
<item name="chart_not_worn">@color/chart_not_worn_dark</item>
|
||||
</style>
|
||||
|
||||
<style name="ButtonDark" parent="Widget.AppCompat.Button.Colored">
|
||||
<item name="android:textColor">@color/btn_dark</item>
|
||||
</style>
|
||||
|
||||
<style name="GadgetbridgeThemeDark.NoActionBar">
|
||||
<item name="windowActionBar">false</item>
|
||||
<item name="windowNoTitle">true</item>
|
||||
|
|
Loading…
Reference in New Issue