Merge pull request #10667 from t895/landscape-card

Android: Fix game card in landscape
This commit is contained in:
Mai M 2022-05-19 22:44:59 -04:00 committed by GitHub
commit 0f2540a0d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,24 +12,20 @@
android:paddingStart="4dp"
android:paddingTop="8dp"
android:paddingEnd="4dp"
android:transitionName="card_game"
tools:layout_width="160dp">
android:transitionName="card_game">
<androidx.cardview.widget.CardView
android:id="@+id/card_game_art"
android:layout_width="match_parent"
android:layout_height="159dp"
android:layout_width="115dp"
android:layout_height="161dp"
android:layout_gravity="center"
app:cardCornerRadius="4dp"
tools:layout_width="140dp">
app:cardCornerRadius="4dp">
<ImageView
android:id="@+id/image_game_screen"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
tools:scaleType="centerCrop"
tools:src="@drawable/placeholder_screenshot" />
android:layout_weight="1"/>
</androidx.cardview.widget.CardView>
<TextView