0
對不起,我是Fragments的新用戶。我使用的片段是這樣的:Android碎片:「android:name」的用法
<fragment
android:name="com.example.lesson1.Fragment1"
android:id="@+id/activity_fragment1"
android:layout_weight="1"
android:layout_width="0px"
android:layout_height="match_parent"
/>
我知道SRC文件夾中的name屬性參照類,但:
- 正是屬性android:name="com.example.lesson1.Fragment1"
做的是什麼?
- 它的用法是什麼?