上拉,下拉布局2
来源:互联网 发布:dw做淘宝导航条 编辑:程序博客网 时间:2024/05/17 08:49
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent" >
<ImageView
android:id="@+id/mImage"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="10dp"
android:layout_marginTop="10dp"
android:adjustViewBounds="true"
android:scaleType="fitCenter"
android:src="@drawable/ic_launcher" />
<TextView
android:id="@+id/title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignTop="@id/mImage"
android:layout_marginLeft="15dp"
android:layout_toRightOf="@id/mImage"
android:singleLine="true"
android:text="标题"
android:textSize="15sp" />
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignBottom="@id/mImage"
android:layout_alignLeft="@id/title"
android:layout_below="@id/title"
android:layout_marginTop="3dp"
android:gravity="center_vertical" >
<TextView
android:id="@+id/place"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="地点:"
android:textSize="15sp" />
<TextView
android:id="@+id/content"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:singleLine="true"
android:text="内容部分"
android:textSize="15sp" />
</LinearLayout>
</RelativeLayout>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent" >
<ImageView
android:id="@+id/mImage"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="10dp"
android:layout_marginTop="10dp"
android:adjustViewBounds="true"
android:scaleType="fitCenter"
android:src="@drawable/ic_launcher" />
<TextView
android:id="@+id/title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignTop="@id/mImage"
android:layout_marginLeft="15dp"
android:layout_toRightOf="@id/mImage"
android:singleLine="true"
android:text="标题"
android:textSize="15sp" />
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignBottom="@id/mImage"
android:layout_alignLeft="@id/title"
android:layout_below="@id/title"
android:layout_marginTop="3dp"
android:gravity="center_vertical" >
<TextView
android:id="@+id/place"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="地点:"
android:textSize="15sp" />
<TextView
android:id="@+id/content"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:singleLine="true"
android:text="内容部分"
android:textSize="15sp" />
</LinearLayout>
</RelativeLayout>
0 0
- 上拉,下拉布局2
- 上拉,下拉的布局
- 上拉,下拉,布局3
- 上拉,下拉布局4
- 抽屉布局+xlistview+上拉、下拉+imageLoad
- Recyclerview布局+spring上拉、下拉
- RecycleView 布局布局管理器 上拉加载 下拉刷新
- 实现上拉刷新下拉加载的布局
- 自定义布局实现listview上拉加载下拉刷新
- ListView的进阶-跳转 下拉 上拉 多布局重用
- 自定义listview布局实现上拉加载,下拉刷新
- recyclerview,okHttp,布局切换,springView上拉刷新下拉加载
- 上拉刷新,下拉加载2
- 上拉刷新下拉加载(2)
- 上拉/下拉电阻
- 上拉/下拉电阻
- 上拉 下拉
- Xlistview上拉、下拉
- 杭电ACM----1001
- Eclipse tomcat插件使用
- Android统一风格 —— 主题
- 软件测试的分类
- XListView上拉刷新下拉加载
- 上拉,下拉布局2
- Ubuntu 中安装 Code::Blocks
- HTTP常见状态码
- Servlet 简介
- servlet的相关知识2
- Spring ioc 例子
- 上拉,下拉,布局3
- xbox one无线手柄到底是蓝牙还是普通2.4G
- java中普通代码块、构造代码块、静态代码块的区别