以下两种ID赋值方式有什么不一样
<TabHost xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/mytabhost" android:layout_width="fill_parent"
android:layout_height="fill_parent">
<TabHost xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@android:id/tabhost" android:layout_width="fill_parent"
android:layout_height="fill_parent">
android:id="@+id/mytabhost"
和
android:id="@android:id/tabhost"
有什么不一样啊?
[解决办法]
="@+id ==》定义 id
="@android:id 引用已定义 id