mirror of
https://github.com/element-hq/element-android
synced 2024-11-24 10:25:35 +03:00
Fix issue on button styles
This commit is contained in:
parent
edd24de4c3
commit
bca220f909
2 changed files with 5 additions and 1 deletions
|
@ -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>
|
|
@ -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>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue