<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="@drawable/bluetiao"    android:orientation="vertical"    tools:context=".MainActivity">    <RelativeLayout        android:layout_width="match_parent"        android:layout_height="52dp"        android:background="@drawable/mainbg">        <TextView            android:id="@+id/textView1"            android:layout_width="wrap_content"            android:layout_height="wrap_content"            android:layout_centerHorizontal="true"            android:layout_centerVertical="true"            android:text="图文列表"            android:textSize="16sp"            android:textAppearance="?android:attr/textAppearanceLarge"            />        <Button            android:id="@+id/back"            android:layout_width="25dp"            android:layout_height="35dp"            android:layout_alignParentLeft="true"            android:layout_centerVertical="true"            android:layout_marginLeft="10dp"            android:background="@drawable/fanhui"            android:onClick="back"            />    </RelativeLayout>    <LinearLayout        android:layout_width="match_parent"        android:layout_height="10dp"        android:orientation="vertical">    </LinearLayout>    <!--图文开始-->    <RelativeLayout        android:id="@+id/tuwen01"        android:layout_width="match_parent"        android:layout_height="70dp"        android:background="#ffffff"        android:onClick=""        android:layout_marginTop="1dp"        >        <ImageView            android:id="@+id/imageView01"            android:layout_width="wrap_content"            android:layout_height="wrap_content"            android:layout_alignParentLeft="true"            android:layout_centerVertical="true"            android:layout_marginLeft="8dp"            android:src="@drawable/s1802"            />        <TextView            android:layout_width="wrap_content"            android:layout_height="wrap_content"            android:layout_centerVertical="true"            android:layout_marginLeft="20dp"            android:layout_toRightOf="@+id/imageView01"            android:text="孙悟空"            android:textColor="#000000"            android:textSize="16sp"/>    </RelativeLayout>    <RelativeLayout        android:id="@+id/tuwen02"        android:layout_width="match_parent"        android:layout_height="70dp"        android:background="#ffffff"        android:layout_marginTop="1dp"        >        <ImageView            android:id="@+id/imageView02"            android:layout_width="wrap_content"            android:layout_height="wrap_content"            android:layout_alignParentLeft="true"            android:layout_centerVertical="true"            android:layout_marginLeft="8dp"            android:src="@drawable/s1804"            />        <TextView            android:layout_width="wrap_content"            android:layout_height="wrap_content"            android:layout_centerVertical="true"            android:layout_marginLeft="20dp"            android:layout_toRightOf="@+id/imageView02"            android:text="九尾"            android:textColor="#000000"            android:textSize="16sp"/>    </RelativeLayout>    <RelativeLayout        android:id="@+id/tuwen03"        android:layout_width="match_parent"        android:layout_height="70dp"        android:background="#ffffff"        android:layout_marginTop="1dp"        >        <ImageView            android:id="@+id/imageView03"            android:layout_width="wrap_content"            android:layout_height="wrap_content"            android:layout_alignParentLeft="true"            android:layout_centerVertical="true"            android:layout_marginLeft="8dp"            android:src="@drawable/s1810"            />        <TextView            android:layout_width="wrap_content"            android:layout_height="wrap_content"            android:layout_centerVertical="true"            android:layout_marginLeft="20dp"            android:layout_toRightOf="@+id/imageView03"            android:text="守鹤"            android:textColor="#000000"            android:textSize="16sp"/>    </RelativeLayout></LinearLayout>

更多相关文章

  1. 2.4.4 进度条
  2. Debian 5 Android(安卓)编译
  3. 从头开始学Android—Android(安卓)Studio(二)
  4. 第32章、日期对话框DatePickerDialog(从零开始学Android)
  5. Android(安卓)计时器,定时功能
  6. android开发之interpolator的用法详解
  7. 开始使用Google Maps Android(安卓)API v2(Getting Started)
  8. Android(安卓)surface 3 绘制 (的时机 java层)
  9. 小区广播接收流程

随机推荐

  1. Android(安卓)Interface Definition Lang
  2. [Android] EditText 的 inputType属性(键
  3. android 字体的使用
  4. Android(安卓)TextView属性大全
  5. Android安全加密:消息摘要Message Digest
  6. Android文件的读写
  7. Android(安卓)PinnedHeaderListView 详解
  8. Android(安卓)Support兼容包详解
  9. 深度解析Android中字体设置
  10. Android: 如何创建AVD以及选择合适target