Skip to content

Commit

Permalink
Material UI
Browse files Browse the repository at this point in the history
  • Loading branch information
Ishan09811 authored Jan 27, 2024
1 parent ca1c42c commit 5d551b6
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions src/pandroid/app/src/main/res/layout/holder_game.xml
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.appcompat.widget.LinearLayoutCompat
<com.google.android.material.card.MaterialCardView
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:padding="15dp">
style="?attr/materialCardViewOutlinedStyle"
android:background="?attr/selectableItemBackground"
android:clickable="true"
android:focusable="true"
android:padding="15dp"
app:cardCornerRadius="8dp">

<androidx.cardview.widget.CardView
<com.google.android.material.card.MaterialCardView
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:cardCornerRadius="16dp">
Expand All @@ -19,7 +23,7 @@
android:scaleType="centerCrop"
android:background="?colorSurfaceVariant"/>

</androidx.cardview.widget.CardView>
</com.google.android.material.card.MaterialCardView>

<androidx.appcompat.widget.AppCompatTextView
android:id="@+id/title"
Expand All @@ -38,4 +42,4 @@
android:textSize="10sp"
android:gravity="center"/>

</androidx.appcompat.widget.LinearLayoutCompat>
</com.google.android.material.card.MaterialCardView>

0 comments on commit 5d551b6

Please sign in to comment.