-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathactivity_main.xml
63 lines (55 loc) · 2.23 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
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/NavajoWhite"
android:orientation="vertical"
android:gravity="center_horizontal"
tools:context=".MainActivity">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:layout_marginTop="20dp"
android:textSize="17sp"
android:textColor="@android:color/holo_red_dark"
android:text="Enter The Number Here"
/>
<EditText android:layout_width="300dp"
android:layout_height="50dp"
android:layout_marginTop="30dp"
android:background="#FAFAFA"
android:gravity="start"
android:lines="15"
android:hint="Write a Phone number +880xx.."
android:inputType="phone"
android:id="@+id/edittextid"
android:textAlignment="center"/>
<Button android:layout_width="wrap_content" android:layout_height="40dp"
android:layout_marginTop="10dp"
android:id="@+id/buttonid"
android:onClick="storePhoneNum"
android:text="ok"
android:textAllCaps="false"
/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:layout_marginTop="20dp"
android:textSize="17sp"
android:textColor="@android:color/darker_gray"
android:text="Updated Message:"
/>
<TextView
android:id="@+id/textview"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:textSize="15sp"
android:textColor="@android:color/holo_blue_bright"
/>
</LinearLayout>