Skip to content

Commit

Permalink
change donate button design
Browse files Browse the repository at this point in the history
  • Loading branch information
btimofeev committed Nov 15, 2024
1 parent f722e53 commit 5666435
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/src/free/res/layout/activity_donate.xml
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,11 @@

<Button
android:id="@+id/sendBitcoinButton"
style="@style/Widget.MaterialComponents.Button"
style="@style/DonateButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="32dp"
android:minHeight="64dp"
android:text="@string/donate_screen_send_bitcoin_button"
app:icon="@drawable/ic_bitcoin"
app:layout_constraintEnd_toEndOf="parent"
Expand Down
2 changes: 2 additions & 0 deletions app/src/main/res/values-night/colors.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,6 @@

<color name="tabSelectedText">#f2777a</color>
<color name="tabIndicatorColor">#f2777a</color>

<color name="colorDonateButton">#D5A167</color>
</resources>
2 changes: 2 additions & 0 deletions app/src/main/res/values/colors.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,6 @@

<color name="tabSelectedText">#ff5252</color>
<color name="tabIndicatorColor">#ff5252</color>

<color name="colorDonateButton">#E6921F</color>
</resources>
6 changes: 6 additions & 0 deletions app/src/main/res/values/styles.xml
Original file line number Diff line number Diff line change
Expand Up @@ -81,4 +81,10 @@
<item name="colorControlNormal">@color/colorToolbarBackArrow</item>
</style>

<style name="DonateButton" parent="Widget.Material3.Button">
<item name="backgroundTint">@color/colorDonateButton</item>
<item name="android:textSize">7pt</item>
<item name="iconSize">24dp</item>
</style>

</resources>

0 comments on commit 5666435

Please sign in to comment.