嵌套1
来源:互联网 发布:淘宝已买的宝贝在哪找 编辑:程序博客网 时间:2024/05/18 01:05
<?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" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" android:id="@+id/drawerLayout" tools:context="com.example.lianxi.MainActivity"> <RelativeLayout android:layout_width="match_parent" android:layout_height="match_parent"> <RadioGroup android:id="@+id/group" android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="horizontal" android:layout_alignParentBottom="true" > <RadioButton android:id="@+id/but1" android:layout_width="0dp" android:layout_height="wrap_content" android:layout_weight="1" android:button="@null" android:background="@drawable/radiobutton_selector" android:text="第一页" android:gravity="center" /> <RadioButton android:id="@+id/but2" android:layout_width="0dp" android:layout_height="wrap_content" android:layout_weight="1" android:button="@null" android:background="@drawable/radiobutton_selector" android:text="第二页" android:gravity="center" /> <RadioButton android:id="@+id/but3" android:layout_width="0dp" android:layout_height="wrap_content" android:layout_weight="1" android:button="@null" android:background="@drawable/radiobutton_selector" android:text="第三页" android:gravity="center"/> </RadioGroup> <FrameLayout android:id="@+id/fl_main" android:layout_width="match_parent" android:layout_height="match_parent" android:layout_above="@+id/group" ></FrameLayout> </RelativeLayout> <LinearLayout android:id="@+id/cll" android:layout_width="300dp" android:layout_height="match_parent" android:orientation="vertical" android:layout_gravity="left" android:choiceMode="singleChoice" android:background="#fe0" > <ImageView android:id="@+id/img" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="center" android:src="@mipmap/ic_launcher" /> <ListView android:id="@+id/lv" android:layout_width="match_parent" android:layout_height="match_parent" android:layout_below="@id/img" android:layout_gravity="center" android:layout_marginTop="20dp"></ListView> </LinearLayout></android.support.v4.widget.DrawerLayout>
frag1
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical"> <android.support.v4.view.ViewPager android:id="@+id/viewpager" android:layout_width="match_parent" android:layout_height="match_parent"/></LinearLayout>frag2<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" android:background="@color/colorPrimary" android:orientation="vertical"> <com.bawei.wzq.wzlibrary.view.XListView android:id="@+id/xlv" android:layout_width="match_parent" android:layout_height="match_parent"> </com.bawei.wzq.wzlibrary.view.XListView></LinearLayout>listview<?xml version="1.0" encoding="utf-8"?><LinearLayout 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"> <ImageView android:id="@+id/imageView" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_weight="1" app:srcCompat="@mipmap/ic_launcher" /> <TextView android:id="@+id/textView" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_weight="1" android:text="TextView" /></LinearLayout>
阅读全文
0 0
- 嵌套《1》
- 嵌套1
- 嵌套
- 嵌套
- 3.3.1 嵌套循环联结
- 复习1:for循环嵌套的应用
- 需求 - 1 - 强制更新的嵌套项
- java--json嵌套数组解析(1)
- 用嵌套循环计算1!+2!+...+10!
- HashMap嵌套HashMap嵌套HashMap(三层嵌套)
- 精通cobol--9.16.1 如何定义嵌套表
- 精通COBOL--11.7.1 嵌套子程序的结构
- 深入浅出SQL教程之嵌套SELECT语句1
- PL/SQL0.1——块嵌套与变量范围
- 黑马程序员————嵌套语句(1)
- 9.2.1(矩形嵌套_最长子序列方法)
- NYoj 16 矩形嵌套[经典动态规划1]
- android关于scrollview嵌套ExpandableListView的实现1
- linux 使用intel mpi进阶(二)
- 异常处理
- Eclipse+pydev配置
- 洛谷P1679 神奇的四次方数
- 输入圆的半径r,计算并输出圆的周长和面积
- 嵌套1
- MVP v层
- 多线程下载更新版本_
- struts2通配符的使用
- 策划菜单
- Ue4之快捷键
- 大小写英文字母转换
- M层Rxjava2解析数据
- 7.3用函数计算两个数的最大值