FrameLayout
Explicación del concepto de FrameLayout
DEFINICIÓN
USO DESDE XML
ATRIBUTOS
android:foregroundGravity
EJEMPLO

Last updated
Explicación del concepto de FrameLayout

Last updated
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".RecyclerViewActivity">
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/rvSilentHill"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
</FrameLayout><?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent">
<ImageView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:src="@drawable/im_pyramidhead"
</FrameLayout>