use material ui in `fragment_game_drawer`

This commit is contained in:
Ishan09811 2024-01-30 13:47:11 +05:30 committed by GitHub
commit fc5d698615
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,13 +1,14 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<androidx.appcompat.widget.LinearLayoutCompat xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout
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_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:orientation="vertical" android:orientation="vertical"
android:background="?colorSurface"> android:background="?colorSurface">
<androidx.appcompat.widget.LinearLayoutCompat <LinearLayout
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:orientation="vertical" android:orientation="vertical"
@ -17,7 +18,7 @@
android:minHeight="190dp" android:minHeight="190dp"
android:background="?colorSurfaceVariant"> android:background="?colorSurfaceVariant">
<androidx.cardview.widget.CardView <com.google.android.material.card.MaterialCardView
android:layout_width="90dp" android:layout_width="90dp"
android:layout_height="90dp" android:layout_height="90dp"
app:cardCornerRadius="10dp" app:cardCornerRadius="10dp"
@ -30,9 +31,9 @@
android:layout_height="match_parent" android:layout_height="match_parent"
android:background="?colorSurface"/> android:background="?colorSurface"/>
</androidx.cardview.widget.CardView> </com.google.android.material.card.MaterialCardView>
<androidx.appcompat.widget.LinearLayoutCompat <LinearLayout
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:orientation="vertical" android:orientation="vertical"
@ -58,16 +59,16 @@
android:textColor="?colorOnSurfaceVariant" android:textColor="?colorOnSurfaceVariant"
android:textSize="14sp"/> android:textSize="14sp"/>
</androidx.appcompat.widget.LinearLayoutCompat> </LinearLayout>
</androidx.appcompat.widget.LinearLayoutCompat> </LinearLayout>
<ScrollView <ScrollView
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_marginTop="10dp"> android:layout_marginTop="10dp">
<androidx.appcompat.widget.LinearLayoutCompat <LinearLayout
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:orientation="vertical"> android:orientation="vertical">
@ -98,8 +99,8 @@
app:menu="@menu/game_drawer_others" app:menu="@menu/game_drawer_others"
android:background="?colorSurface"/> android:background="?colorSurface"/>
</androidx.appcompat.widget.LinearLayoutCompat> </LinearLayout>
</ScrollView> </ScrollView>
</androidx.appcompat.widget.LinearLayoutCompat> </LinearLayout>