Skip to content
This repository has been archived by the owner on Nov 27, 2024. It is now read-only.

Commit

Permalink
fix: update buttons in version update to be m3 compliant (#8)
Browse files Browse the repository at this point in the history
Reviewed-by: @kuylar
  • Loading branch information
kuylar authored Jul 5, 2023
2 parents 9032d9b + 37816dc commit c7036f1
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion app/src/main/res/layout/fragment_update.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:orientation="vertical"
android:padding="16dp"
tools:context=".ui.fragment.UpdateFragment">
Expand Down Expand Up @@ -33,7 +34,8 @@

<com.google.android.material.button.MaterialButton
android:id="@+id/update_skip"
style="@style/Widget.Material3.Button.TextButton"
style="@style/Widget.Material3.Button.IconButton.Outlined"
app:icon="@drawable/ic_close"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/update_skip" />
Expand All @@ -45,6 +47,8 @@

<com.google.android.material.button.MaterialButton
android:id="@+id/update_download"
app:icon="@drawable/ic_download"
style="@style/Widget.Material3.Button.IconButton.Filled"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/update_download" />
Expand Down

0 comments on commit c7036f1

Please sign in to comment.