-
Notifications
You must be signed in to change notification settings - Fork 1
/
activity_trusted_contacts.xml
60 lines (57 loc) · 2.14 KB
/
activity_trusted_contacts.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
<?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:orientation="vertical"
android:background="#FFE0B2"
android:layout_height="match_parent"
tools:context="com.example.android.shakti.Trusted_contacts">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Add Trusted Contacts"
android:textSize="20dp"
android:padding="20dp"/>
<EditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="Name"
android:id="@+id/EditText1"
android:inputType="textPersonName"/>
<EditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="Contact Number"
android:id="@+id/EditText2"
android:inputType="number"/>
<Button
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="ADD AS A TRUSTED CONTACT"
android:layout_margin="20dp"
android:onClick="DisplayContact"
android:padding="20dp"/>
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Trusted Contacts are:"
android:textSize="20dp"
android:textColor="#7E57C2" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text=" "
android:textColor="#7E57C2"
android:id="@+id/trusted_contact_info1"
android:textSize="16sp"
android:layout_margin="16dp"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text=" "
android:textColor="#7E57C2"
android:id="@+id/trusted_contact_info2"
android:textSize="16sp"
android:layout_margin="16dp"/>
</LinearLayout>