pickerview_time.xml
1.7 KB
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
39
40
41
42
43
44
45
46
47
48
49
50
51
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="vertical" >
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="50dp"
android:background="@android:color/white"
android:gravity="center_vertical"
>
<Button
android:id="@+id/btnCancel"
android:background="@android:color/transparent"
android:layout_width="60dp"
android:layout_height="34dp"
android:gravity="center"
android:text="取消"
android:textColor="#878787" />
<Button
android:id="@+id/btnSubmit"
android:background="@android:color/transparent"
android:layout_width="60dp"
android:layout_height="34dp"
android:layout_alignParentRight="true"
android:gravity="center"
android:text="确定"
android:textColor="#161616" />
</RelativeLayout>
<View
android:layout_width="match_parent"
android:layout_height="0.5dp"
android:background="#D8D3D3" />
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content">
<View
android:layout_alignTop="@id/timepicker"
android:layout_alignBottom="@id/timepicker"
android:background="@mipmap/pickerview_bg_above_timepicker"
android:layout_width="match_parent"
android:layout_height="wrap_content"
/>
</RelativeLayout>
</LinearLayout>