java xml文题
<?xml version="1.0" encoding="utf-8" ?>
- <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent">
<Button android:id="@+id/button0" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="非洲草原地图:FrameLayout的使用" />
<Button android:id="@+id/button1" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="个性化表单:RelativeLayout的使用" />
<Button android:id="@+id/button2" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="LinearLayout和RelativeLayout互助使用" />
<Button android:id="@+id/button3" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="整齐的表单:TableLayout的使用" />
</LinearLayout>
分析一下上面的程序 越详细越好
Button android:id="@+id/button1"
其中@是什么作用 用来表示什么
@+id和@id的区别
本人第一次接触xml 还请大家详细解释
如果可以的话留下联系方式
万分感激