materializing the colored button style

This commit is contained in:
tibbi 2022-07-09 16:27:56 +02:00
parent 4991e30130
commit 3fc3b93f91
2 changed files with 4 additions and 5 deletions

View file

@ -6,7 +6,7 @@
<item android:id="@+id/button_background_shape">
<shape android:shape="rectangle">
<solid android:color="?attr/colorPrimary" />
<corners android:radius="14dp" />
<corners android:radius="24dp" />
</shape>
</item>
</layer-list>

View file

@ -203,12 +203,11 @@
</style>
<style name="ColoredButtonStyle" parent="@android:style/Widget.TextView">
<item name="android:textFontWeight">400</item>
<item name="android:textSize">@dimen/normal_text_size</item>
<item name="android:textSize">@dimen/bigger_text_size</item>
<item name="android:paddingStart">@dimen/bigger_margin</item>
<item name="android:paddingEnd">@dimen/bigger_margin</item>
<item name="android:paddingTop">@dimen/activity_margin</item>
<item name="android:paddingBottom">@dimen/activity_margin</item>
<item name="android:paddingTop">@dimen/normal_margin</item>
<item name="android:paddingBottom">@dimen/normal_margin</item>
<item name="android:background">@drawable/button_background_rounded</item>
</style>