第二个综合题的布局文件
来源:互联网 发布:政府数据库 编辑:程序博客网 时间:2024/05/16 16:54
<?xml version="1.0" encoding="utf-8"?>
<android.support.v4.widget.DrawerLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:id="@+id/mydrawer">
<!--菜单内容-->
<RelativeLayout
android:layout_width="170dp"
android:layout_height="match_parent"
android:layout_gravity="end"
android:id="@+id/menu"
android:background="#00f">
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/img"
android:src="@mipmap/ic_launcher"/>
</RelativeLayout>
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
>
<android.support.design.widget.TabLayout
android:layout_width="match_parent"
android:layout_height="40dp"
android:id="@+id/mytab"
app:tabGravity="center"
app:tabIndicatorColor="@color/colorAccent"
app:tabMode="scrollable"
app:tabSelectedTextColor="@color/colorPrimaryDark"
app:tabTextColor="@color/colorPrimary"
></android.support.design.widget.TabLayout>
<android.support.v4.view.ViewPager
android:layout_width="match_parent"
android:layout_height="match_parent"
android:id="@+id/vp"
android:layout_below="@id/mytab"></android.support.v4.view.ViewPager>
</RelativeLayout>
</android.support.v4.widget.DrawerLayout>
- 第二个综合题的布局文件
- 第二个综合题的mainactivity
- 第二个综合题的fragment
- 第二个综合题的适配器
- 第一个综合题布局
- 我的第二个div布局
- 第一个综合题的MainActivity
- 第一个综合题的fragment
- J2EE综合:Struts上传多个文件的例子
- 布局的综合使用演示
- 第二十一天 Activity的生命周期、显式启动第二个界面、四大布局(layout)
- QT4:布局管理器的综合使用
- QT4:布局管理器的综合使用
- 第二个解析HTML文件的Python程序
- 倒叙打印文件第二行的前100个大写字母
- 文件读取的综合案例
- Flex之旅:第二部分:容器与布局(5)---如何管理多个弹出的页面
- 代码1:第二章内置命令示例所用的网页布局文件
- CIA3 NOI接站(tarjan缩环+Floyd传递闭包+可相交最小路径覆盖)
- 算法训练 表达式计算
- mvp(okhttp)请求图片与数据
- 简单注册登录请求
- form表单验证,提交数据显示
- 第二个综合题的布局文件
- 《挑战程序设计竞赛》 P2 题目:抽签 优化,优化,再优化
- HashTable、HashSet和Dictionary的区别
- 第二个综合题的mainactivity
- MVP登录注册
- recycleview
- 第二个综合题的fragment
- Java基础 自定义异常
- Android限时抢购倒计时实现代码