diff options
author | Charles Lombardo <clombardo169@gmail.com> | 2023-04-11 20:31:01 +0200 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2023-06-03 09:05:51 +0200 |
commit | 3f2b832371aa620710828cfba340061e97353d7f (patch) | |
tree | 4dbcde03d9fbdcb0ec3704c6aaf6707ab1464572 | |
parent | android: MainActivity overhaul (diff) | |
download | yuzu-3f2b832371aa620710828cfba340061e97353d7f.tar yuzu-3f2b832371aa620710828cfba340061e97353d7f.tar.gz yuzu-3f2b832371aa620710828cfba340061e97353d7f.tar.bz2 yuzu-3f2b832371aa620710828cfba340061e97353d7f.tar.lz yuzu-3f2b832371aa620710828cfba340061e97353d7f.tar.xz yuzu-3f2b832371aa620710828cfba340061e97353d7f.tar.zst yuzu-3f2b832371aa620710828cfba340061e97353d7f.zip |
-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 @@ <ImageView android:id="@+id/image_game_screen" android:layout_width="match_parent" - android:layout_height="match_parent" - android:layout_weight="1" /> - - <TextView - android:id="@+id/text_game_title_inner" - style="@style/TextAppearance.Material3.BodyLarge" - android:layout_width="match_parent" - android:layout_height="match_parent" - android:ellipsize="end" - android:gravity="center" - android:maxLines="2" - android:paddingLeft="2dp" - android:paddingRight="2dp" - android:paddingTop="8dp" - android:visibility="visible" - tools:text="Super Mario Odyssey" /> + android:layout_height="match_parent" /> </com.google.android.material.card.MaterialCardView> - <TextView - android:id="@+id/text_game_title" + <com.google.android.material.textview.MaterialTextView style="@style/TextAppearance.Material3.BodyLarge" + android:id="@+id/text_game_title" android:layout_width="0dp" android:layout_height="wrap_content" android:ellipsize="end" @@ -61,9 +46,9 @@ app:layout_constraintTop_toBottomOf="@+id/card_game_art" tools:text="Super Mario Odyssey" /> - <TextView - android:id="@+id/text_game_caption" + <com.google.android.material.textview.MaterialTextView style="@style/TextAppearance.Material3.BodyMedium" + android:id="@+id/text_game_caption" android:layout_width="0dp" android:layout_height="wrap_content" android:ellipsize="end" |