✎
编程开发网
首页
C语言
C++
面试
Linux
函数
Windows
数据库
下载
搜索
当前位置:
首页
->
AI编程基础
->
JAVA
ViewStub的使用示例(二)
2014-11-24 11:17:29
·
作者:
·
浏览:
1
标签:
ViewStub
使用
示例
ntent"
android:layout_height="wrap_content"
android:text="加载ViewStub"
/>
android:id="@+id/button_hidden"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="隐藏ViewStub"
/>
testviewstublayout.xml.xml如下:
[html]
< xml version="1.0" encoding="utf-8" >
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical" >
android:id="@+id/viewStub_TextView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="test test test"
/>
首页
上一页
1
2
下一页
尾页
2
/2/2