<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">
<TextView
android:layout_width="300px"
android:layout_height="300px"
android:layout_gravity="center"
android:background="#ff0000"/>
<TextView
android:layout_width="200px"
android:layout_height="200px"
android:layout_gravity="center"
android:background="#00ff00"/>
<TextView
android:layout_width="100px"
android:layout_height="100px"
android:layout_gravity="center"
android:background="#0000ff"/>
</FrameLayout>
Android之帧布局
最新推荐文章于 2024-07-07 21:10:54 发布