dialog_list_layout.xml 1.48 KB
Newer Older
konghaorui committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
<?xml version="1.0" encoding="utf-8"?>
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:layout_gravity="center" >

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:orientation="horizontal"
        android:layout_gravity="center"
        >
        <LinearLayout
            android:layout_width="0dp"
            android:layout_height="wrap_content"
            android:layout_weight="3"
            android:minWidth="200dp"
            android:background="@drawable/dialog_list_bg"
            android:orientation="vertical"
            android:scrollbars="vertical">
           <android.support.v7.widget.RecyclerView
               android:layout_marginTop="5dp"
               android:id="@+id/dialog_list_rcv"
               android:layout_width="match_parent"
               android:layout_height="match_parent"></android.support.v7.widget.RecyclerView>
            <TextView
                android:id="@+id/last_btn"
                android:layout_width="match_parent"
                android:layout_height="40dp"
                android:textSize="18sp"
                android:gravity="center"
                android:layout_marginBottom="5dp"
                android:background="@drawable/normaldialog_right_btn_select"
                android:text="确定"/>
        </LinearLayout>
    </LinearLayout>

</ScrollView>