Skip to content

Commit

Permalink
use material ui in fragment_game_drawer
Browse files Browse the repository at this point in the history
  • Loading branch information
Ishan09811 authored Jan 30, 2024
1 parent 57efe2a commit fc5d698
Showing 1 changed file with 12 additions and 11 deletions.
23 changes: 12 additions & 11 deletions src/pandroid/app/src/main/res/layout/fragment_game_drawer.xml
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
<?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_height="match_parent"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:orientation="vertical"
android:background="?colorSurface">


<androidx.appcompat.widget.LinearLayoutCompat
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
Expand All @@ -17,7 +18,7 @@
android:minHeight="190dp"
android:background="?colorSurfaceVariant">

<androidx.cardview.widget.CardView
<com.google.android.material.card.MaterialCardView
android:layout_width="90dp"
android:layout_height="90dp"
app:cardCornerRadius="10dp"
Expand All @@ -30,9 +31,9 @@
android:layout_height="match_parent"
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_height="wrap_content"
android:orientation="vertical"
Expand All @@ -58,16 +59,16 @@
android:textColor="?colorOnSurfaceVariant"
android:textSize="14sp"/>

</androidx.appcompat.widget.LinearLayoutCompat>
</LinearLayout>

</androidx.appcompat.widget.LinearLayoutCompat>
</LinearLayout>

<ScrollView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginTop="10dp">

<androidx.appcompat.widget.LinearLayoutCompat
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
Expand Down Expand Up @@ -98,8 +99,8 @@
app:menu="@menu/game_drawer_others"
android:background="?colorSurface"/>

</androidx.appcompat.widget.LinearLayoutCompat>
</LinearLayout>

</ScrollView>

</androidx.appcompat.widget.LinearLayoutCompat>
</LinearLayout>

0 comments on commit fc5d698

Please sign in to comment.