Set text color of buttons in settings dialog to same color as in Android settings app

This commit is contained in:
dankito 2020-10-22 22:38:18 +02:00
parent 2401ba7d95
commit a50f6ac8f8
2 changed files with 3 additions and 2 deletions

View File

@ -102,7 +102,7 @@
android:textAlignment="gravity" android:textAlignment="gravity"
style="?android:attr/buttonBarButtonStyle" style="?android:attr/buttonBarButtonStyle"
android:textAllCaps="false" android:textAllCaps="false"
android:textColor="@color/materialDesignTextColorPrimary" android:textColor="@color/formButtonsTextColor"
android:textSize="@dimen/dialog_settings_navigate_to_sub_dialog_button_text_size" android:textSize="@dimen/dialog_settings_navigate_to_sub_dialog_button_text_size"
android:text="@string/dialog_settings_secure_app_data" android:text="@string/dialog_settings_secure_app_data"
/> />
@ -126,7 +126,7 @@
android:gravity="start|center_vertical" android:gravity="start|center_vertical"
android:textAlignment="gravity" android:textAlignment="gravity"
android:textAllCaps="false" android:textAllCaps="false"
android:textColor="@color/materialDesignTextColorPrimary" android:textColor="@color/formButtonsTextColor"
android:textSize="@dimen/dialog_settings_navigate_to_sub_dialog_button_text_size" android:textSize="@dimen/dialog_settings_navigate_to_sub_dialog_button_text_size"
android:text="@string/dialog_settings_send_message_log_title" android:text="@string/dialog_settings_send_message_log_title"
/> />

View File

@ -19,6 +19,7 @@
<color name="formLabelTextColor">#494949</color> <color name="formLabelTextColor">#494949</color>
<color name="formValueTextColor">#999999</color> <color name="formValueTextColor">#999999</color>
<color name="formButtonsTextColor">@color/formLabelTextColor</color>
<color name="formListItemTextColor">@color/formLabelTextColor</color> <color name="formListItemTextColor">@color/formLabelTextColor</color>
<color name="drawerMenuItemPrimaryColor">@color/primaryTextColor_Dark</color> <color name="drawerMenuItemPrimaryColor">@color/primaryTextColor_Dark</color>