Files
rk35xx-android14/development/samples/FixedGridLayout/res/layout/main.xml
T
hmz007 36ed224bac Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a)
Signed-off-by: hmz007 <hmz007@gmail.com>
Change-Id: Ib87fdbe7a0be7dc961af3500fe9ea4589a127f9f
2024-10-29 18:12:02 +08:00

43 lines
1.4 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<com.example.android.fixedgridlayout.FixedGridLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res/com.example.android.fixedgridlayout"
android:id="@+id/grid"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:cellWidth="80dp"
app:cellHeight="100dp"
>
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/bugdroid"
/>
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/bugdroid"
/>
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/bugdroid"
/>
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/bugdroid"
/>
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/bugdroid"
/>
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/bugdroid"
/>
</com.example.android.fixedgridlayout.FixedGridLayout>