Skip to content

Commit

Permalink
color retry button based on service color
Browse files Browse the repository at this point in the history
  • Loading branch information
B0pol committed May 10, 2020
1 parent b3eadb5 commit 80cc8a8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/main/res/layout/error_retry.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
6 changes: 6 additions & 0 deletions app/src/main/res/values/styles_misc.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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">
Expand Down

0 comments on commit 80cc8a8

Please sign in to comment.