-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathgeofence_layout.xml
43 lines (41 loc) · 1.54 KB
/
geofence_layout.xml
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
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:layout_margin="16dp">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:background="@drawable/bac_shape"
android:text="Set Area Reminder"
android:textSize="24sp"
android:padding="6dp"/>
<EditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="Enter a notifying name"
android:inputType="text"
android:id="@+id/name_geo_edit"/>
<EditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="Area range in (meters)"
android:inputType="number"
android:id="@+id/area_range_edit"/>
<EditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="Expire time in hours"
android:inputType="number"
android:id="@+id/expire_time_edit"/>
<Button
android:id="@+id/geofence_save_btn"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="save"
android:layout_gravity="center_horizontal"
android:background="@drawable/shape_button"/>
</LinearLayout>