103_slidingdrawer控件的使用
来源:互联网 发布:绘制流程图的软件 编辑:程序博客网 时间:2024/05/29 16:20
一、布局文件中
<SlidingDrawer
android:id="@+id/sd"
android:layout_width="match_parent"
android:layout_height="fill_parent"
android:content="@+id/content"
android:handle="@+id/handle"
android:orientation="horizontal" >
<LinearLayout <!-- 嵌套一个线性布局 ,可以让把手显示在最上方或最左边 -->
android:id="@id/handle"
android:layout_width="wrap_content"
android:layout_height="fill_parent" >
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/ic_launcher" />
</LinearLayout>
<LinearLayout
android:id="@id/content"
android:layout_width="match_parent"
android:layout_height="fill_parent"
android:background="#66009900" >
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="我是抽屉里面的内容" />
</LinearLayout>
</SlidingDrawer>
- 103_slidingdrawer控件的使用
- 滑动式抽屉_SlidingDrawer
- CListCtrl控件控件的使用
- 控件treeview的使用
- DataTable控件的使用
- 使用的控件前缀
- HTML控件的使用
- JTree控件的使用
- JTree控件的使用
- FreeTextBox控件的使用
- updateSql 控件的使用
- GridCtrl控件的使用
- Label控件的使用
- ListBox控件的使用
- AlphaControls 控件的使用
- ActiveBar控件的使用
- DropDownList控件的使用
- DropDownList控件的使用
- sublime与python相遇(1)
- 选择开始时间,结束时间自动加一年或某个时间。
- Netty In Action中文版 - 第十二章:SPDY
- Ganglia API安装与使用
- 数据挖掘十大经典算法(8) kNN: k-nearest neighbor classification
- 103_slidingdrawer控件的使用
- poj 2115 C Looooops【数论】【欧几里得算法】
- Android截图
- Android Launcher分析和修改12——Widget列表信息收集
- hdu 1023 Train Problem II
- hdu 2049 不容易系列之(4)——考新郎(错排+排列组合)
- 关于UIp通讯自己主动发送的办法
- 好文收录
- Java基础温习 (8)Java内部类的使用小结