-
Notifications
You must be signed in to change notification settings - Fork 415
Expand file tree
/
Copy pathactivity_main.xml
More file actions
27 lines (24 loc) · 999 Bytes
/
activity_main.xml
File metadata and controls
27 lines (24 loc) · 999 Bytes
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
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
tools:context=".MainActivity">
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Single date picker:"
android:textSize="16sp"
android:layout_margin="5dp"
android:textStyle="bold" />
<cn.aigestudio.datepicker.views.DatePicker
android:id="@+id/main_dp"
android:layout_width="match_parent"
android:layout_height="wrap_content"/>
<Button
android:id="@+id/main_btn"
android:layout_width="wrap_content"
android:layout_gravity="center_horizontal"
android:text="Multiple date picker"
android:layout_height="wrap_content"/>
</LinearLayout>