-
Notifications
You must be signed in to change notification settings - Fork 1
/
activity_trouble.xml
79 lines (76 loc) · 2.83 KB
/
activity_trouble.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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:background="@drawable/images"
tools:context="com.example.android.shakti.trouble">
<Button
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="SOS Message"
android:textColor="#7E57C2"
android:padding="10dp"
android:onClick="SosMessage"
android:textSize="20dp"
android:layout_margin="10dp"
android:background="#8BC34A"
/>
<Button
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Raise a Request"
android:onClick="RaiseRequest"
android:textColor="#7E57C2"
android:id="@+id/webview"
android:padding="10dp"
android:textSize="20dp"
android:layout_margin="10dp"
android:background="#8BC34A"/>
<Button
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Share Real time Location"
android:textColor="#7E57C2"
android:onClick="ShareRealLocation"
android:padding="10dp"
android:textSize="20dp"
android:layout_margin="10dp"
android:background="#8BC34A"
/>
<Button
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Share Location on whatsapp"
android:textColor="#7E57C2"
android:padding="10dp"
android:onClick="shareWhatsappLocation"
android:textSize="20dp"
android:layout_margin="10dp"
android:background="#8BC34A"
/>
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="These features will save you soon!"
android:textSize="24dp"
android:layout_margin="10dp"
android:padding="10dp"
android:textColor="#304FFE"/>
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Dont't panic! You are a SuperWoman!!"
android:textSize="24dp"
android:layout_margin="10dp"
android:padding="10dp"
android:layout_marginBottom="0dp"
android:paddingBottom="0dp"
android:textColor="#304FFE"/>
<ImageView
android:layout_width="match_parent"
android:layout_height="350dp"
android:src="@drawable/image5"/>
</LinearLayout>