summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCharles Lombardo <clombardo169@gmail.com>2023-04-20 14:16:02 -0400
committerbunnei <bunneidev@gmail.com>2023-06-03 00:05:53 -0700
commit8cef21a0b0d9bf1904e5bca51d1c17a6e50b890a (patch)
tree7ea4d288f829450dfbcd956d40c1b1701e15cdb4 /src
parenta82f8fe1c1d75bfb830b02ffd141b871e64bfbdb (diff)
android: Adjustments to home option card
Several spacing/color adjustments provided by Flam
Diffstat (limited to 'src')
-rw-r--r--src/android/app/src/main/res/layout/card_home_option.xml14
1 files changed, 10 insertions, 4 deletions
diff --git a/src/android/app/src/main/res/layout/card_home_option.xml b/src/android/app/src/main/res/layout/card_home_option.xml
index aea354783..aa535943f 100644
--- a/src/android/app/src/main/res/layout/card_home_option.xml
+++ b/src/android/app/src/main/res/layout/card_home_option.xml
@@ -6,9 +6,10 @@
android:id="@+id/option_card"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:layout_marginVertical="8dp"
+ android:layout_marginVertical="12dp"
android:layout_marginHorizontal="16dp"
android:background="?attr/selectableItemBackground"
+ android:backgroundTint="?attr/colorSurfaceVariant"
android:clickable="true"
android:focusable="true">
@@ -20,14 +21,15 @@
android:id="@+id/option_icon"
android:layout_width="24dp"
android:layout_height="24dp"
- android:layout_marginStart="28dp"
+ android:layout_marginStart="24dp"
android:layout_gravity="center_vertical"
- app:tint="?attr/colorPrimary" />
+ app:tint="?attr/colorOnSurface" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:layout_margin="16dp"
+ android:layout_marginVertical="10dp"
+ android:layout_marginHorizontal="20dp"
android:orientation="vertical">
<com.google.android.material.textview.MaterialTextView
@@ -36,6 +38,8 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textAlignment="viewStart"
+ android:textStyle="bold"
+ android:textSize="16sp"
tools:text="@string/install_prod_keys" />
<com.google.android.material.textview.MaterialTextView
@@ -44,6 +48,8 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textAlignment="viewStart"
+ android:textSize="14sp"
+ android:layout_marginTop="5dp"
tools:text="@string/install_prod_keys_description" />
</LinearLayout>