後加的子元素會被放置在以前的子元素上面, 部分或完全掩蓋他們(除非新的對象是透明的)。
看看這個例子:
<?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="wrap_content"
android:layout_height="wrap_content"
android:text="AAAAAAAAAAAAAAAAAA"
/>
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Button"
/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="CCCCCC"
/>
</FrameLayout>
AI get their own everyday living less complicated as the freelancer. https://imgur.com/a/ygORHbq https://imgur.com/a/NpyZpz6 https://imgur.com/a/oyddA7x https://imgur.com/a/npjnyPQ https://imgur.com/a/ihUhx3d https://imgur.com/a/btMELH9 https://imgur.com/a/AHyAiHg
回覆刪除