Skip to content

Commit

Permalink
use material ui in fragment_games
Browse files Browse the repository at this point in the history
  • Loading branch information
Ishan09811 authored Jan 30, 2024
1 parent caa6d61 commit 28c5e53
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions src/pandroid/app/src/main/res/layout/fragment_games.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout 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">

Expand All @@ -10,16 +11,16 @@
android:paddingStart="15dp"
android:paddingEnd="15dp"/>

<androidx.appcompat.widget.AppCompatImageButton
<com.google.android.material.floatingactionbutton.FloatingActionButton
android:id="@+id/add_rom"
android:layout_width="50dp"
android:layout_height="50dp"
android:layout_marginEnd="20dp"
android:layout_marginBottom="20dp"
android:layout_gravity="end|bottom"
android:src="@drawable/ic_add"
app:srcCompat="@drawable/ic_add"
android:tint="?colorOnPrimary"
android:background="@drawable/simple_card_background"
android:backgroundTint="?colorPrimary"/>
app:rippleColor="?colorOnSurfaceVariant"
app:backgroundTint="?colorPrimary"/>

</FrameLayout>
</FrameLayout>

0 comments on commit 28c5e53

Please sign in to comment.