Fragment和抽屉的布局文件
来源:互联网 发布:无脸男的寓意知乎 编辑:程序博客网 时间:2024/05/01 23:19
<?xml version="1.0" encoding="utf-8"?><android.support.v4.widget.DrawerLayout android:orientation="vertical" xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" tools:context="com.lbp.demo9.MainActivity"> <LinearLayout android:orientation="vertical" android:layout_width="match_parent" android:layout_height="match_parent"> <FrameLayout android:layout_marginLeft="50dp" android:layout_weight="1" android:id="@+id/fl" android:layout_width="match_parent" android:layout_height="0dp"> </FrameLayout> <RadioGroup android:id="@+id/rg" android:orientation="horizontal" android:layout_width="match_parent" android:layout_height="wrap_content"> <RadioButton android:gravity="center" android:id="@+id/rb1" android:button="@null" android:text="第一个" android:layout_weight="1" android:layout_width="0dp" android:layout_height="wrap_content" /> <RadioButton android:gravity="center" android:id="@+id/rb2" android:button="@null" android:text="第二个" android:layout_weight="1" android:layout_width="0dp" android:layout_height="wrap_content" /> <RadioButton android:gravity="center" android:id="@+id/rb3" android:button="@null" android:text="第三个" android:layout_weight="1" android:layout_width="0dp" android:layout_height="wrap_content" /> <RadioButton android:gravity="center" android:id="@+id/rb4" android:button="@null" android:text="第四个" android:layout_weight="1" android:layout_width="0dp" android:layout_height="wrap_content" /> <RadioButton android:gravity="center" android:id="@+id/rb5" android:button="@null" android:text="第五个" android:layout_weight="1" android:layout_width="0dp" android:layout_height="wrap_content" /> </RadioGroup> </LinearLayout> <ListView android:background="@drawable/ic_launcher_background" android:id="@+id/lv_drawer" android:layout_gravity="left" android:choiceMode="singleChoice" android:layout_width="150dp" android:layout_height="300dp"></ListView></android.support.v4.widget.DrawerLayout>
阅读全文
0 0
- Fragment和抽屉的布局文件
- actionBar和DrawerLayout的使用(抽屉布局)
- MaterialDrawer+ToolBar飘逸的导航和抽屉侧滑(用户登录信息的抽屉布局)
- 抽屉布局+Fragment+TabLayout上导航栏+PullToRefreshListView+轮播图+PullToRefreshGridView
- 抽屉布局
- Fragment和布局
- 关于fragment和其他布局文件相结合问题
- 抽屉式布局 DrawerLayout 的使用
- Android Drawer抽屉布局的实现
- 抽屉式布局DrawerLayout的实现
- android DrawerLayout 抽屉布局的使用
- Fragment隐藏和显示和抽屉与判断网络
- 谈谈对布局文件、自定义控件、Fragment、Activity的认识
- Fragment的布局问题
- ViewPager+Fragment的布局
- Fragment的常用布局
- ActionBar 和抽屉 的应用
- 关于Fragment的学习笔记1——利用布局文件创建固定Fragment
- php 处理图像
- JavaSE基础知识总结--Collection、Map集合
- PowerDesigner V16.5 安装文件 及 破解文件
- 浅谈Mybatis之mybatis是什么?
- npm淘宝镜像的使用
- Fragment和抽屉的布局文件
- 【单调性dp】Vijos 1243
- http://blog.csdn.net/murcielagoan/article/details/52313684
- 第二章 第七课 Scratch作品:神奇的小猫(脚本块:外观)
- python借用百度语音识别实现大音频文件语音识别功能
- 关于C语言的几道题
- PullToRefreshListView和Banner相连使用
- NSdata 与 NSString,Byte数组,UIImage 的相互转换
- testDirector如何对软件测试过程进行管理