color retry button based on service color

This commit is contained in:
bopol 2020-05-10 10:54:12 +02:00
parent b3eadb557b
commit 80cc8a8e02
2 changed files with 7 additions and 1 deletions

View file

@ -28,6 +28,6 @@
android:textAllCaps="true"
android:textAppearance="@style/TextAppearance.AppCompat.Body1"
android:textSize="16sp"
android:theme="@style/RedButton"/>
android:theme="@style/ServiceColoredButton"/>
</LinearLayout>

View file

@ -7,6 +7,12 @@
<item name="colorControlHighlight">@color/dark_ripple_color</item>
</style>
<style name="ServiceColoredButton" parent="Widget.AppCompat.Button.Colored">
<item name="colorButtonNormal">?attr/colorPrimary</item>
<item name="android:textColor">@color/subscribe_text_color</item>
<item name="colorControlHighlight">@color/dark_ripple_color</item>
</style>
<!--File picker styles-->
<style name="FilePickerThemeLight" parent="NNF_BaseTheme.Light">