task_manager_pages.xml 分析
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/list_container"
android:layout_width="match_parent"
android:layout_height="match_parent">
<android.support.v4.view.ViewPager
android:id="@+id/tab_pager"
android:layout_height="match_parent"
android:layout_width="match_parent"
/>
<FrameLayout
android:id="@+id/empty"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:visibility="gone">
<FrameLayout
android:id="@+id/container"
android:layout_height="match_parent"
android:layout_width="match_parent" />
</FrameLayout>
</FrameLayout>
本文分析了task_manager_pages.xml文件中的布局结构,该文件使用XML定义了一个包含ViewPager的FrameLayout,用于展示不同页面的内容,并配置了空状态的显示布局。
988

被折叠的 条评论
为什么被折叠?



