diff options
| author | 2023-04-20 14:16:02 -0400 | |
|---|---|---|
| committer | 2023-06-03 00:05:53 -0700 | |
| commit | 8cef21a0b0d9bf1904e5bca51d1c17a6e50b890a (patch) | |
| tree | 7ea4d288f829450dfbcd956d40c1b1701e15cdb4 /src/android/app | |
| parent | android: Use different colors for logo in options menu (diff) | |
| download | yuzu-8cef21a0b0d9bf1904e5bca51d1c17a6e50b890a.tar.gz yuzu-8cef21a0b0d9bf1904e5bca51d1c17a6e50b890a.tar.xz yuzu-8cef21a0b0d9bf1904e5bca51d1c17a6e50b890a.zip | |
android: Adjustments to home option card
Several spacing/color adjustments provided by Flam
Diffstat (limited to 'src/android/app')
| -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 @@ | |||
| 6 | android:id="@+id/option_card" | 6 | android:id="@+id/option_card" |
| 7 | android:layout_width="match_parent" | 7 | android:layout_width="match_parent" |
| 8 | android:layout_height="wrap_content" | 8 | android:layout_height="wrap_content" |
| 9 | android:layout_marginVertical="8dp" | 9 | android:layout_marginVertical="12dp" |
| 10 | android:layout_marginHorizontal="16dp" | 10 | android:layout_marginHorizontal="16dp" |
| 11 | android:background="?attr/selectableItemBackground" | 11 | android:background="?attr/selectableItemBackground" |
| 12 | android:backgroundTint="?attr/colorSurfaceVariant" | ||
| 12 | android:clickable="true" | 13 | android:clickable="true" |
| 13 | android:focusable="true"> | 14 | android:focusable="true"> |
| 14 | 15 | ||
| @@ -20,14 +21,15 @@ | |||
| 20 | android:id="@+id/option_icon" | 21 | android:id="@+id/option_icon" |
| 21 | android:layout_width="24dp" | 22 | android:layout_width="24dp" |
| 22 | android:layout_height="24dp" | 23 | android:layout_height="24dp" |
| 23 | android:layout_marginStart="28dp" | 24 | android:layout_marginStart="24dp" |
| 24 | android:layout_gravity="center_vertical" | 25 | android:layout_gravity="center_vertical" |
| 25 | app:tint="?attr/colorPrimary" /> | 26 | app:tint="?attr/colorOnSurface" /> |
| 26 | 27 | ||
| 27 | <LinearLayout | 28 | <LinearLayout |
| 28 | android:layout_width="match_parent" | 29 | android:layout_width="match_parent" |
| 29 | android:layout_height="wrap_content" | 30 | android:layout_height="wrap_content" |
| 30 | android:layout_margin="16dp" | 31 | android:layout_marginVertical="10dp" |
| 32 | android:layout_marginHorizontal="20dp" | ||
| 31 | android:orientation="vertical"> | 33 | android:orientation="vertical"> |
| 32 | 34 | ||
| 33 | <com.google.android.material.textview.MaterialTextView | 35 | <com.google.android.material.textview.MaterialTextView |
| @@ -36,6 +38,8 @@ | |||
| 36 | android:layout_width="match_parent" | 38 | android:layout_width="match_parent" |
| 37 | android:layout_height="wrap_content" | 39 | android:layout_height="wrap_content" |
| 38 | android:textAlignment="viewStart" | 40 | android:textAlignment="viewStart" |
| 41 | android:textStyle="bold" | ||
| 42 | android:textSize="16sp" | ||
| 39 | tools:text="@string/install_prod_keys" /> | 43 | tools:text="@string/install_prod_keys" /> |
| 40 | 44 | ||
| 41 | <com.google.android.material.textview.MaterialTextView | 45 | <com.google.android.material.textview.MaterialTextView |
| @@ -44,6 +48,8 @@ | |||
| 44 | android:layout_width="match_parent" | 48 | android:layout_width="match_parent" |
| 45 | android:layout_height="wrap_content" | 49 | android:layout_height="wrap_content" |
| 46 | android:textAlignment="viewStart" | 50 | android:textAlignment="viewStart" |
| 51 | android:textSize="14sp" | ||
| 52 | android:layout_marginTop="5dp" | ||
| 47 | tools:text="@string/install_prod_keys_description" /> | 53 | tools:text="@string/install_prod_keys_description" /> |
| 48 | 54 | ||
| 49 | </LinearLayout> | 55 | </LinearLayout> |