mirror of
https://github.com/mihonapp/mihon.git
synced 2024-11-07 11:17:25 +01:00
Don't capitalize buttons (closes #3454)
This commit is contained in:
parent
5ef5087406
commit
d8f4e6b45f
@ -242,12 +242,14 @@
|
|||||||
<style name="Theme.Widget.Button" parent="Widget.MaterialComponents.Button.TextButton">
|
<style name="Theme.Widget.Button" parent="Widget.MaterialComponents.Button.TextButton">
|
||||||
<item name="android:textColor">?attr/colorAccent</item>
|
<item name="android:textColor">?attr/colorAccent</item>
|
||||||
<item name="rippleColor">?attr/colorAccent</item>
|
<item name="rippleColor">?attr/colorAccent</item>
|
||||||
|
<item name="android:textAllCaps">false</item>
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<style name="Theme.Widget.Button.FilledAccent" parent="Widget.MaterialComponents.Button">
|
<style name="Theme.Widget.Button.FilledAccent" parent="Widget.MaterialComponents.Button">
|
||||||
<item name="android:textColor">?attr/colorOnSecondary</item>
|
<item name="android:textColor">?attr/colorOnSecondary</item>
|
||||||
<item name="backgroundTint">?attr/colorAccent</item>
|
<item name="backgroundTint">?attr/colorAccent</item>
|
||||||
<item name="rippleColor">?attr/colorAccent</item>
|
<item name="rippleColor">?attr/colorAccent</item>
|
||||||
|
<item name="android:textAllCaps">false</item>
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<style name="Theme.Widget.Button.Icon" parent="Widget.MaterialComponents.Button.OutlinedButton.Icon">
|
<style name="Theme.Widget.Button.Icon" parent="Widget.MaterialComponents.Button.OutlinedButton.Icon">
|
||||||
|
@ -67,6 +67,7 @@
|
|||||||
<item name="md_color_title">?attr/colorOnSurface</item>
|
<item name="md_color_title">?attr/colorOnSurface</item>
|
||||||
<item name="md_color_content">?attr/colorOnSurface</item>
|
<item name="md_color_content">?attr/colorOnSurface</item>
|
||||||
<item name="md_color_button_text">?attr/colorAccent</item>
|
<item name="md_color_button_text">?attr/colorAccent</item>
|
||||||
|
<item name="md_button_casing">literal</item>
|
||||||
<item name="md_corner_radius">@dimen/card_radius</item>
|
<item name="md_corner_radius">@dimen/card_radius</item>
|
||||||
|
|
||||||
<!-- Custom Attributes-->
|
<!-- Custom Attributes-->
|
||||||
@ -151,6 +152,7 @@
|
|||||||
<item name="md_color_title">?attr/colorOnSurface</item>
|
<item name="md_color_title">?attr/colorOnSurface</item>
|
||||||
<item name="md_color_content">?attr/colorOnSurface</item>
|
<item name="md_color_content">?attr/colorOnSurface</item>
|
||||||
<item name="md_color_button_text">?attr/colorAccent</item>
|
<item name="md_color_button_text">?attr/colorAccent</item>
|
||||||
|
<item name="md_button_casing">literal</item>
|
||||||
<item name="md_corner_radius">@dimen/card_radius</item>
|
<item name="md_corner_radius">@dimen/card_radius</item>
|
||||||
|
|
||||||
<!-- Custom Attributes-->
|
<!-- Custom Attributes-->
|
||||||
|
Loading…
Reference in New Issue
Block a user