diff options
| author | 2023-04-11 14:31:01 -0400 | |
|---|---|---|
| committer | 2023-06-03 00:05:51 -0700 | |
| commit | 3f2b832371aa620710828cfba340061e97353d7f (patch) | |
| tree | 4dbcde03d9fbdcb0ec3704c6aaf6707ab1464572 /src/android | |
| parent | android: MainActivity overhaul (diff) | |
| download | yuzu-3f2b832371aa620710828cfba340061e97353d7f.tar.gz yuzu-3f2b832371aa620710828cfba340061e97353d7f.tar.xz yuzu-3f2b832371aa620710828cfba340061e97353d7f.zip | |
android: Adjustments to card_game
Removed a currently unused text view and moved to material text views.
Diffstat (limited to 'src/android')
| -rw-r--r-- | src/android/app/src/main/res/layout/card_game.xml | 25 |
1 files changed, 5 insertions, 20 deletions
diff --git a/src/android/app/src/main/res/layout/card_game.xml b/src/android/app/src/main/res/layout/card_game.xml index b8a640d75..4b7d2b3cc 100644 --- a/src/android/app/src/main/res/layout/card_game.xml +++ b/src/android/app/src/main/res/layout/card_game.xml | |||
| @@ -28,28 +28,13 @@ | |||
| 28 | <ImageView | 28 | <ImageView |
| 29 | android:id="@+id/image_game_screen" | 29 | android:id="@+id/image_game_screen" |
| 30 | android:layout_width="match_parent" | 30 | android:layout_width="match_parent" |
| 31 | android:layout_height="match_parent" | 31 | android:layout_height="match_parent" /> |
| 32 | android:layout_weight="1" /> | ||
| 33 | |||
| 34 | <TextView | ||
| 35 | android:id="@+id/text_game_title_inner" | ||
| 36 | style="@style/TextAppearance.Material3.BodyLarge" | ||
| 37 | android:layout_width="match_parent" | ||
| 38 | android:layout_height="match_parent" | ||
| 39 | android:ellipsize="end" | ||
| 40 | android:gravity="center" | ||
| 41 | android:maxLines="2" | ||
| 42 | android:paddingLeft="2dp" | ||
| 43 | android:paddingRight="2dp" | ||
| 44 | android:paddingTop="8dp" | ||
| 45 | android:visibility="visible" | ||
| 46 | tools:text="Super Mario Odyssey" /> | ||
| 47 | 32 | ||
| 48 | </com.google.android.material.card.MaterialCardView> | 33 | </com.google.android.material.card.MaterialCardView> |
| 49 | 34 | ||
| 50 | <TextView | 35 | <com.google.android.material.textview.MaterialTextView |
| 51 | android:id="@+id/text_game_title" | ||
| 52 | style="@style/TextAppearance.Material3.BodyLarge" | 36 | style="@style/TextAppearance.Material3.BodyLarge" |
| 37 | android:id="@+id/text_game_title" | ||
| 53 | android:layout_width="0dp" | 38 | android:layout_width="0dp" |
| 54 | android:layout_height="wrap_content" | 39 | android:layout_height="wrap_content" |
| 55 | android:ellipsize="end" | 40 | android:ellipsize="end" |
| @@ -61,9 +46,9 @@ | |||
| 61 | app:layout_constraintTop_toBottomOf="@+id/card_game_art" | 46 | app:layout_constraintTop_toBottomOf="@+id/card_game_art" |
| 62 | tools:text="Super Mario Odyssey" /> | 47 | tools:text="Super Mario Odyssey" /> |
| 63 | 48 | ||
| 64 | <TextView | 49 | <com.google.android.material.textview.MaterialTextView |
| 65 | android:id="@+id/text_game_caption" | ||
| 66 | style="@style/TextAppearance.Material3.BodyMedium" | 50 | style="@style/TextAppearance.Material3.BodyMedium" |
| 51 | android:id="@+id/text_game_caption" | ||
| 67 | android:layout_width="0dp" | 52 | android:layout_width="0dp" |
| 68 | android:layout_height="wrap_content" | 53 | android:layout_height="wrap_content" |
| 69 | android:ellipsize="end" | 54 | android:ellipsize="end" |