include(xml)
<include layout="@layout/item_list_empty"
android:id="@+id/included"
android:visibility="gone"/>
使用:java:
mAlbumListBing.included.getRoot().setVisibility(View.VISIBLE);
<include layout="@layout/item_list_empty"
android:id="@+id/included"
android:visibility="gone"/>
mAlbumListBing.included.getRoot().setVisibility(View.VISIBLE);