57 lines
1.7 KiB
XML
57 lines
1.7 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="280dp"
|
|
android:layout_height="wrap_content"
|
|
android:background="@drawable/bg_dialog"
|
|
android:orientation="vertical"
|
|
>
|
|
|
|
<DatePicker
|
|
android:id="@+id/datePicker"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="10dp"
|
|
android:layout_marginRight="10dp"
|
|
android:calendarViewShown="false"
|
|
android:datePickerMode="spinner"
|
|
/>
|
|
|
|
<View
|
|
style="@style/line2"
|
|
/>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="40dp">
|
|
|
|
|
|
<TextView
|
|
android:id="@+id/btn_cancel"
|
|
android:layout_width="0dp"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight="1"
|
|
android:gravity="center"
|
|
android:text="@string/cancel"
|
|
android:textColor="@color/textColor"
|
|
android:textSize="14sp"
|
|
/>
|
|
|
|
<View
|
|
android:layout_width="1dp"
|
|
android:layout_height="match_parent"
|
|
android:background="@color/gray2"
|
|
/>
|
|
|
|
<TextView
|
|
android:id="@+id/btn_confirm"
|
|
android:layout_width="0dp"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight="1"
|
|
android:gravity="center"
|
|
android:text="@string/confirm"
|
|
android:textColor="@color/global"
|
|
android:textSize="14sp"
|
|
/>
|
|
|
|
</LinearLayout>
|
|
</LinearLayout> |