use material ui in `fragment_games`

This commit is contained in:
Ishan09811 2024-01-30 18:50:07 +05:30 committed by GitHub
parent fc5d698615
commit 0259eeeba5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,5 +1,7 @@
<?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"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent">
@ -10,16 +12,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_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="16dp"
android:layout_gravity="end|bottom"
android:src="@drawable/ic_add"
android:tint="?colorOnPrimary"
android:background="@drawable/simple_card_background"
android:backgroundTint="?colorPrimary"/>
android:gravity="center"
app:rippleColor="?colorOnSurfaceVariant"
app:backgroundTint="?colorPrimary"
tools:ignore="PrivateResource"/>
</FrameLayout>
</FrameLayout>