android:id="@android:id/tabhost" 、android:id="@+id/llRoot" 、android:id="@id/llRoot" 之间的区别

一、

android:id="@android:id/tabhost"   是调用系统内部的ID

和代码中


mTabContent = (FrameLayout) findViewById(com.android.internal.R.id.tabcontent);

是一回事。

二、

android:id="@+id/llRoot" 

就是自己定义一个新的ID。

三、

android:id="@id/llRoot"

使用一个已经存在的ID号引用(跟第一个不同,这里引用的不是系统的)

原文地址:https://www.cnblogs.com/liumin-txgt/p/13043271.html