-
Notifications
You must be signed in to change notification settings - Fork 1
/
PanicButton.xml
53 lines (36 loc) · 1.49 KB
/
PanicButton.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
<?xml version="1.0" encoding="UTF-8"?>
<android.support.constraint.ConstraintLayout
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"
tools:context="com.example.anshul.panicbuttonapp.MainActivity" >
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:layout_editor_absoluteX="16dp"
tools:layout_editor_absoluteY="83dp">
<Button
android:id="@+id/addNumber"
android:layout_width="94dp"
android:layout_height="55dp"
android:layout_centerHorizontal="true"
android:layout_centerInParent="true"
android:gravity="center"
android:text="add#"
tools:layout_editor_absoluteX="16dp"
tools:layout_editor_absoluteY="16dp" />
<EditText
android:id="@+id/editText"
android:layout_width="181dp"
android:layout_height="52dp"
android:layout_above="@id/addNumber"
android:ems="10"
android:inputType="textPersonName"
tools:layout_editor_absoluteX="230dp"
tools:layout_editor_absoluteY="0dp"
android:layout_centerInParent="true"
/>
</RelativeLayout>
</android.support.constraint.ConstraintLayout>