-
Notifications
You must be signed in to change notification settings - Fork 0
/
home_screen.xml
84 lines (74 loc) · 3.04 KB
/
home_screen.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
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:padding="24dp">
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content">
<ImageView
android:id="@+id/profilePhoto"
android:layout_width="66dp"
android:layout_height="66dp"
android:layout_gravity="center"
android:contentDescription="@string/my_profile"
android:src="@drawable/tony_stark_small"
android:layout_marginRight="8dp" />
<TextView
android:id="@+id/nameText"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
android:layout_centerHorizontal="true"
android:layout_gravity="center"
android:layout_toRightOf="@+id/profilePhoto"
android:text="Tony Stark"
android:textColor="#222222"
android:textSize="24sp"
android:textStyle="bold" />
<TextView
android:id="@+id/emailText"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignStart="@+id/nameText"
android:layout_centerVertical="true"
android:layout_gravity="center"
android:layout_toRightOf="@+id/profilePhoto"
android:layout_below="@+id/nameText"
android:text="tony@starkindustries.com"
android:textColor="#555555"
android:textSize="14sp" />
<TextView
android:id="@+id/phoneNumberText"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
android:layout_alignStart="@+id/nameText"
android:layout_gravity="center"
android:layout_marginTop="53dp"
android:layout_toRightOf="@+id/profilePhoto"
android:layout_below="@+id/emailText"
android:text="+91 987654210"
android:textColor="#555555"
android:textSize="14sp" />
</RelativeLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<Button
android:id="@+id/eduButton"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Education"
android:textColor="#FFFFFF" />
<Button
android:id="@+id/workButton"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Work Experience"
android:textColor="#FFFFFF" />
</LinearLayout>
</LinearLayout>