You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
107 lines
4.1 KiB
XML
107 lines
4.1 KiB
XML
|
2 years ago
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:background="@drawable/radius"
|
||
|
|
android:orientation="vertical">
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="160dp"
|
||
|
|
android:layout_marginTop="10dp"
|
||
|
|
android:orientation="vertical">
|
||
|
|
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="0dp"
|
||
|
|
android:layout_weight="1"
|
||
|
|
android:orientation="horizontal">
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:id="@+id/lay_dialog_takePhoto"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="match_parent"
|
||
|
|
android:layout_weight="1"
|
||
|
|
android:gravity="center"
|
||
|
|
android:orientation="horizontal"
|
||
|
|
android:paddingStart="10dp"
|
||
|
|
android:paddingEnd="10dp"
|
||
|
|
android:background="@drawable/shape_bottom_corner"
|
||
|
|
android:visibility="visible">
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:background="@drawable/selector_list_item"
|
||
|
|
android:id="@+id/dialog_takePhoto"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="match_parent"
|
||
|
|
android:layout_weight="8"
|
||
|
|
android:gravity="center"
|
||
|
|
android:maxLines="1"
|
||
|
|
android:padding="5dp"
|
||
|
|
android:text="拍照或选择照片"
|
||
|
|
android:textColor="@color/bule"
|
||
|
|
android:textSize="18dp"
|
||
|
|
android:visibility="visible" />
|
||
|
|
|
||
|
|
<View
|
||
|
|
android:layout_width="1px"
|
||
|
|
android:layout_height="match_parent"
|
||
|
|
android:background="@color/gray" />
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:background="@drawable/selector_list_item"
|
||
|
|
android:id="@+id/dialog_takeVideo"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="match_parent"
|
||
|
|
android:layout_weight="8"
|
||
|
|
android:gravity="center"
|
||
|
|
android:maxLines="1"
|
||
|
|
android:padding="5dp"
|
||
|
|
android:text="拍摄或选择视频"
|
||
|
|
android:textColor="@color/bule"
|
||
|
|
android:textSize="18dp"
|
||
|
|
android:visibility="visible" />
|
||
|
|
</LinearLayout>
|
||
|
|
</LinearLayout>
|
||
|
|
<View
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="1px"
|
||
|
|
android:background="@color/gray" />
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="0dp"
|
||
|
|
android:layout_weight="1"
|
||
|
|
android:orientation="horizontal">
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:id="@+id/lay_dialog_cancel"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="match_parent"
|
||
|
|
android:layout_weight="1"
|
||
|
|
android:gravity="center"
|
||
|
|
android:orientation="horizontal"
|
||
|
|
android:paddingStart="10dp"
|
||
|
|
android:paddingEnd="10dp"
|
||
|
|
android:background="@drawable/shape_bottom_corner"
|
||
|
|
android:visibility="visible">
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:background="@drawable/selector_list_item"
|
||
|
|
android:id="@+id/dialog_cancle"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="match_parent"
|
||
|
|
android:layout_weight="8"
|
||
|
|
android:gravity="center"
|
||
|
|
android:maxLines="1"
|
||
|
|
android:padding="5dp"
|
||
|
|
android:text="取消"
|
||
|
|
android:textColor="@color/bule"
|
||
|
|
android:textSize="18dp"
|
||
|
|
android:visibility="visible" />
|
||
|
|
</LinearLayout>
|
||
|
|
</LinearLayout>
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
</LinearLayout>
|