-
Notifications
You must be signed in to change notification settings - Fork 0
/
activity_main.xml
111 lines (86 loc) · 3.24 KB
/
activity_main.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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
<android.support.v4.widget.DrawerLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/drawerLayout"
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#4C4C4C"
android:orientation="vertical" >
<TextView
android:id="@+id/textView1"
android:layout_width="wrap_content"
android:textSize="35dp"
android:textColor="#FF9900"
android:layout_marginTop="70dp"
android:layout_gravity="center"
android:layout_height="wrap_content"
android:text="Send an Alert"
android:textAppearance="?android:attr/textAppearanceSmall" />
<TextView
android:id="@+id/textView2"
android:layout_width="wrap_content"
android:layout_marginTop="15dp"
android:textColor="#FF9900"
android:layout_gravity="center"
android:layout_height="wrap_content"
android:text="Press the button to send alert messages"
android:textAppearance="?android:attr/textAppearanceSmall" />
<Button
android:id="@+id/button1"
android:layout_marginTop="80dp"
android:layout_gravity="center"
android:layout_width="100dp"
android:layout_height="100dp"
android:text="" />
<!-- android:background="@drawable/alert1" -->
<Button
android:id="@+id/button2"
android:background="@drawable/edit_contact"
android:layout_marginLeft="20dp"
android:layout_width="50dp"
android:layout_height="50dp"
android:layout_marginTop="20dp"
android:text="B" />
<Button
android:id="@+id/button3"
android:layout_width="50dp"
android:layout_height="50dp"
android:layout_marginLeft="80dp"
android:background="@drawable/people"
android:text="B" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="horizontal" >
<Button
android:id="@+id/button4"
android:layout_marginLeft="20dp"
android:layout_width="50dp"
android:layout_height="50dp"
android:text="b" />
<Button
android:id="@+id/button5"
android:background="@drawable/locate"
android:layout_marginLeft="50dp"
android:layout_width="50dp"
android:layout_height="50dp"
android:text="B" />
</LinearLayout>
</LinearLayout>
<FrameLayout
android:id="@+id/mainContent"
android:layout_width="match_parent"
android:layout_height="match_parent" />
<!-- The navigation drawer -->
<ListView android:id="@+id/drawerList"
android:layout_width="240dp"
android:layout_height="match_parent"
android:layout_gravity="left"
android:choiceMode="singleChoice"
android:divider="@android:color/transparent"
android:dividerHeight="0dp"
android:background="#11ff9900"/>
</android.support.v4.widget.DrawerLayout>
<!-- android:background="@drawable/loc_sett" -->