布局UI

来源:互联网 发布:兰蔻和mac口红哪个好 编辑:程序博客网 时间:2024/05/22 06:27
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
  xmlns:android="http://schemas.android.com/apk/res/android"
  android:orientation="vertical"
  android:background="@drawable/common_background"
  android:layout_width="fill_parent"
  android:layout_height="fill_parent">
              <include android:id="@+id/dispatch_select_user_title"
            layout="@layout/common_title"
            android:layout_alignParentTop="true"/>
            <LinearLayout
                android:id="@+id/section_title_layout"
                android:background="@drawable/bg_sencend_title"
                android:orientation="horizontal"
                android:layout_width="fill_parent"
                android:layout_height="28dip" android:weightSum="10"
                android:layout_below="@id/dispatch_select_user_title">
                <TextView
                    android:id="@+id/dispatch_section_user_name"
                    android:layout_marginLeft="10dip"
                    android:text="@string/dispatch_section_user_name"
                    android:layout_weight="2"
                    android:layout_width="fill_parent"
                    android:layout_height="fill_parent"
                    android:textColor="@drawable/color_black"
                    android:clickable="false" android:enabled="false" android:gravity="center_vertical">
                    </TextView>
                    <LinearLayout
                        android:id="@+id/dispatch_lineLayout02"
                        android:background="#6d6d6e"
                        android:layout_width="1dip"
                        android:layout_height="fill_parent"
                    ></LinearLayout>
                <TextView
                    android:id="@+id/dispatch_section_select"
                    android:text="@string/dispatch_section_select"
                    android:layout_weight="8"
                    android:gravity="center"
                    android:layout_width="fill_parent"
                    android:layout_height="fill_parent"
                    android:textColor="@drawable/color_black"
                    android:background="@drawable/bg_sencend_title" android:clickable="false" android:enabled="false">
                    </TextView>
                </LinearLayout>
            <LinearLayout
                android:layout_width="fill_parent"
                android:layout_height="fill_parent"
                android:layout_below="@id/section_title_layout">
                <ListView
                    android:id="@+id/android:list"
                    android:layout_height="wrap_content"
                    android:cacheColorHint="#00000000"
                    android:layout_width="fill_parent"></ListView>
            </LinearLayout>
</RelativeLayout>

0 0
原创粉丝点击