Fix issue on button styles

This commit is contained in:
Benoit Marty 2021-06-28 17:02:06 +02:00
parent edd24de4c3
commit bca220f909
2 changed files with 5 additions and 1 deletions

View file

@ -8,6 +8,6 @@
<dimen name="text_size_caption">12sp</dimen> <dimen name="text_size_caption">12sp</dimen>
<dimen name="text_size_micro">10sp</dimen> <dimen name="text_size_micro">10sp</dimen>
<dimen name="text_size_button">16sp</dimen> <dimen name="text_size_button">14sp</dimen>
</resources> </resources>

View file

@ -6,6 +6,7 @@
<item name="android:paddingRight">16dp</item> <item name="android:paddingRight">16dp</item>
<item name="android:minWidth">94dp</item> <item name="android:minWidth">94dp</item>
<item name="android:textAppearance">@style/TextAppearance.Vector.Button</item> <item name="android:textAppearance">@style/TextAppearance.Vector.Button</item>
<item name="cornerRadius">8dp</item>
<item name="lineHeight">24sp</item> <item name="lineHeight">24sp</item>
</style> </style>
@ -32,6 +33,7 @@
<item name="android:paddingRight">16dp</item> <item name="android:paddingRight">16dp</item>
<item name="android:minWidth">94dp</item> <item name="android:minWidth">94dp</item>
<item name="android:textAppearance">@style/TextAppearance.Vector.Button</item> <item name="android:textAppearance">@style/TextAppearance.Vector.Button</item>
<item name="cornerRadius">8dp</item>
<item name="lineHeight">24sp</item> <item name="lineHeight">24sp</item>
</style> </style>
@ -48,6 +50,7 @@
<item name="colorControlHighlight">?colorSecondary</item> <item name="colorControlHighlight">?colorSecondary</item>
<item name="materialThemeOverlay">@style/VectorMaterialThemeOverlayPositive</item> <item name="materialThemeOverlay">@style/VectorMaterialThemeOverlayPositive</item>
<item name="android:textAppearance">@style/TextAppearance.Vector.Button</item> <item name="android:textAppearance">@style/TextAppearance.Vector.Button</item>
<item name="cornerRadius">8dp</item>
<item name="lineHeight">24sp</item> <item name="lineHeight">24sp</item>
</style> </style>
@ -61,6 +64,7 @@
<item name="strokeColor">@color/button_background_tint_selector</item> <item name="strokeColor">@color/button_background_tint_selector</item>
<item name="strokeWidth">1dp</item> <item name="strokeWidth">1dp</item>
<item name="android:textAppearance">@style/TextAppearance.Vector.Button</item> <item name="android:textAppearance">@style/TextAppearance.Vector.Button</item>
<item name="cornerRadius">8dp</item>
<item name="lineHeight">24sp</item> <item name="lineHeight">24sp</item>
</style> </style>