DrawerLayout侧滑界面
来源:互联网 发布:js indexof包含用法 编辑:程序博客网 时间:2024/05/16 07:29
<?xml version="1.0" encoding="utf-8"?><android.support.v4.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:id="@+id/activity_main" android:layout_width="match_parent" android:layout_height="match_parent" tools:context="baway.com.drawlayoutdemo.MainActivity"> //主界面布局 <RelativeLayout android:id="@+id/content_frame" android:layout_width="match_parent" android:layout_height="match_parent"> <TextView android:id="@+id/text" android:text="哈哈哈" android:textSize="18sp" android:padding="8dp" android:layout_width="wrap_content" android:layout_height="wrap_content" /> <Button android:text="王亚迪" android:layout_below="@id/text" android:layout_width="wrap_content" android:layout_height="wrap_content" /> </RelativeLayout> //侧滑界面布局在下面 <!--<RelativeLayout--> <!--android:id="@+id/cehua"--> <!--android:layout_width="200dp"--> <!--android:layout_gravity="start"--> <!--android:background="#ffff00"--> <!--android:layout_height="match_parent">--> <!--<Button--> <!--android:id="@+id/button"--> <!--android:text="跳转"--> <!--android:layout_width="wrap_content"--> <!--android:layout_height="wrap_content" />--> <!--</RelativeLayout>--> //侧滑Fragment界面布局在下面 <fragment android:name="baway.com.drawlayoutdemo.Fragment1" android:layout_gravity="start" android:layout_width="200dp" android:layout_height="match_parent"/></android.support.v4.widget.DrawerLayout>
阅读全文
0 0
- DrawerLayout侧滑界面
- DrawerLayout侧滑界面
- Android DrawerLayout 侧滑界面的简单实现
- DrawerLayout实现侧滑
- DrawerLayout实现侧滑
- DrawerLayout实现侧滑
- DrawerLayout侧滑菜单
- DrawerLayout---侧滑菜单
- DrawerLayout 实现侧滑
- DrawerLayout侧滑详解
- DrawerLayout 侧滑菜单
- Drawerlayout实现侧滑
- DrawerLayout侧滑列表
- DrawerLayout侧滑的
- Drawerlayout侧滑菜单
- Drawerlayout侧滑菜单
- 侧滑菜单-drawerLayout
- DrawerLayout侧滑菜单
- maven项目编译:程序包com.sun.image.codec.jpeg不存在 这个类文件的位置在jre/lib/rt.jar
- java.util.zip对zip文件解压
- 字符串数据解析和字节流数据解析转换
- Python基础1
- 第四章:整体建议
- DrawerLayout侧滑界面
- composer安装以及packagist镜像的使用
- HTTP 错误 404.3
- 面试中c++中单继承关于虚函数常遇到的4个问题
- ViewPager 全面剖析及使用详解
- 打造微信小程序联网请求的轮播图
- Math() 对象
- 关于oracle CLOB的操作
- CVPR 2017 目标跟踪相关论文