là nó có thể giải thích cho tôi trong mã này:Các android: Thuộc tính tên trong <fragment>
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="horizontal"
android:layout_width="match_parent"
android:layout_height="match_parent">
<fragment android:name="com.example.news.ArticleListFragment"
android:id="@+id/list"
android:layout_weight="1"
android:layout_width="0dp"
android:layout_height="match_parent" />
<fragment android:name="com.example.news.ArticleReaderFragment"
android:id="@+id/viewer"
android:layout_weight="2"
android:layout_width="0dp"
android:layout_height="match_parent" />
</LinearLayout>
là những gì ArticleListFragment
và ArticleReaderFragmet
???
tôi không biết họ đề cập đến những gì ??? vào lớp Fragment (hoặc phân lớp của nó) sử dụng trong mã nguồn hoặc tệp XML để bố trí ???
nếu chúng là các tệp XML nơi chúng phải được định vị ???
http://developer.android.com/guide/components/fragments.html – CommonsWare