<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation
="vertical"
android:layout_width
="fill_parent"
android:layout_height
="fill_parent"
>
<TextView
android:layout_width="320dp"
android:layout_height
="320dp"
android:background
="#000044"
android:layout_gravity
="center"
/>
<TextView
android:layout_width="280dp"
android:layout_height
="280dp"
android:background
="#004433"
android:layout_gravity
="center"
/>
<TextView
android:layout_width="240dp"
android:layout_height
="240dp"
android:background
="#009900"
android:layout_gravity
="center"
/>
<TextView
android:layout_width="200dp"
android:layout_height
="200dp"
android:background
="#00ff00"
android:layout_gravity
="center"
/>
</FrameLayout>

Android FrameLayout的显示效果

相关文章:

  • 2021-08-08
  • 2022-12-23
  • 2021-12-07
  • 2022-12-23
  • 2021-04-29
  • 2021-12-05
  • 2021-10-25
猜你喜欢
  • 2021-08-27
  • 2022-12-23
  • 2022-03-10
  • 2022-12-23
  • 2021-06-05
  • 2022-12-23
  • 2021-12-10
相关资源
相似解决方案