第一个综合题布局
来源:互联网 发布:淘宝标题优化技巧步骤 编辑:程序博客网 时间:2024/04/29 22:05
<?xml version="1.0" encoding="utf-8"?>
<android.support.v4.widget.DrawerLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/mydrawer">
<!--菜单内容-->
<RelativeLayout
android:layout_width="230dp"
android:layout_height="match_parent"
android:layout_gravity="start"
android:background="#00f">
</RelativeLayout>
<!--主内容-->
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="match_parent">
<RadioGroup
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:layout_alignParentBottom="true"
android:id="@+id/rg">
<RadioButton
android:layout_width="0dp"
android:layout_height="wrap_content"
android:id="@+id/rb_index"
android:checked="true"
android:layout_weight="1"
android:text="首页"
android:button="@null"
android:gravity="center"/>
<RadioButton
android:layout_width="0dp"
android:layout_height="wrap_content"
android:id="@+id/rb_mind"
android:layout_weight="1"
android:gravity="center"
android:text="想法"
android:button="@null"/>
</RadioGroup>
<FrameLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:id="@+id/fcontent"
android:layout_above="@+id/rg"
>
</FrameLayout>
</RelativeLayout>
</android.support.v4.widget.DrawerLayout>
- 第一个综合题布局
- 第一个综合题的MainActivity
- 第一个综合题的fragment
- 第二个综合题的布局文件
- 第一个布局
- 第一个Fragement布局
- 第一个简单web布局
- 自己写的第一个综合链表
- 第一个CSS布局实例(转载)
- 第一个css+div布局过程1
- 第一个css+div布局2
- SWT综合布局示例
- 线性布局综合案例
- easyui综合布局demo
- 第二个综合题的mainactivity
- 第二个综合题的fragment
- 第二个综合题的适配器
- 第9天:第一个CSS布局实例
- DrawerLayout的布局
- 查询添加用户
- 淘宝分类
- DrawerLayout的代码
- okhttp简单请求数据,列表切换展示
- 第一个综合题布局
- 第一个综合题的MainActivity
- MVP+okhttp仿搜索
- 蓝牙应用
- QQ 第三方登录
- 第一个综合题的fragment
- NAT笔记
- netty编解码之jboss marshalling
- MVP