diff options
| author | Charles Lombardo <clombardo169@gmail.com> | 2023-04-20 14:16:02 -0400 | 
|---|---|---|
| committer | bunnei <bunneidev@gmail.com> | 2023-06-03 00:05:53 -0700 | 
| commit | 8cef21a0b0d9bf1904e5bca51d1c17a6e50b890a (patch) | |
| tree | 7ea4d288f829450dfbcd956d40c1b1701e15cdb4 | |
| parent | a82f8fe1c1d75bfb830b02ffd141b871e64bfbdb (diff) | |
android: Adjustments to home option card
Several spacing/color adjustments provided by Flam
| -rw-r--r-- | src/android/app/src/main/res/layout/card_home_option.xml | 14 | 
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> | 
