android: Adjustments to card_game
Removed a currently unused text view and moved to material text views.
This commit is contained in:
		| @@ -28,28 +28,13 @@ | |||||||
|         <ImageView |         <ImageView | ||||||
|             android:id="@+id/image_game_screen" |             android:id="@+id/image_game_screen" | ||||||
|             android:layout_width="match_parent" |             android:layout_width="match_parent" | ||||||
|             android:layout_height="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" /> |  | ||||||
|  |  | ||||||
|     </com.google.android.material.card.MaterialCardView> |     </com.google.android.material.card.MaterialCardView> | ||||||
|  |  | ||||||
|     <TextView |     <com.google.android.material.textview.MaterialTextView | ||||||
|         android:id="@+id/text_game_title" |  | ||||||
|         style="@style/TextAppearance.Material3.BodyLarge" |         style="@style/TextAppearance.Material3.BodyLarge" | ||||||
|  |         android:id="@+id/text_game_title" | ||||||
|         android:layout_width="0dp" |         android:layout_width="0dp" | ||||||
|         android:layout_height="wrap_content" |         android:layout_height="wrap_content" | ||||||
|         android:ellipsize="end" |         android:ellipsize="end" | ||||||
| @@ -61,9 +46,9 @@ | |||||||
|         app:layout_constraintTop_toBottomOf="@+id/card_game_art" |         app:layout_constraintTop_toBottomOf="@+id/card_game_art" | ||||||
|         tools:text="Super Mario Odyssey" /> |         tools:text="Super Mario Odyssey" /> | ||||||
|  |  | ||||||
|     <TextView |     <com.google.android.material.textview.MaterialTextView | ||||||
|         android:id="@+id/text_game_caption" |  | ||||||
|         style="@style/TextAppearance.Material3.BodyMedium" |         style="@style/TextAppearance.Material3.BodyMedium" | ||||||
|  |         android:id="@+id/text_game_caption" | ||||||
|         android:layout_width="0dp" |         android:layout_width="0dp" | ||||||
|         android:layout_height="wrap_content" |         android:layout_height="wrap_content" | ||||||
|         android:ellipsize="end" |         android:ellipsize="end" | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user