-
Notifications
You must be signed in to change notification settings - Fork 0
/
activity_main.xml
98 lines (87 loc) · 4.13 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
<?xml version="1.0" encoding="utf-8"?>
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:fillViewport="true"
android:scrollbars="none">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content">
<RelativeLayout xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".MainActivity">
<ImageView
android:id="@+id/photo_image_view"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:adjustViewBounds="true"
android:alpha="1"
android:scaleType="centerCrop"
android:src="@drawable/udacity" />
<TextView
android:id="@+id/zero"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerHorizontal="true"
android:layout_centerVertical="true"
android:layout_marginBottom="@dimen/Slogan1_MarginBottom"
android:text="@string/Slogan1"
android:textColor="@color/Default_black"
android:textSize="@dimen/Slogan1_textSize" />
<TextView
android:id="@+id/first"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@id/zero"
android:layout_centerHorizontal="true"
android:layout_centerVertical="true"
android:text="@string/Slogan2"
android:textColor="@color/Default_black"
android:textSize="@dimen/Slogan2_textSize" />
<TextView
android:id="@+id/site"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@id/first"
android:layout_centerHorizontal="true"
android:layout_margin="@dimen/Website_Margin"
android:autoLink="all"
android:linksClickable="true"
android:text="@string/Website"
android:textColor="@color/Default_black"
android:textSize="@dimen/Website_textSize" />
<TextView
android:id="@+id/second"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@id/site"
android:layout_centerHorizontal="true"
android:text="@string/Address1"
android:textColor="@color/Default_black"
android:textSize="@dimen/Address1_textSize" />
<TextView
android:id="@+id/third"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@id/second"
android:layout_centerHorizontal="true"
android:layout_marginTop="@dimen/Address2_MarginTop"
android:text="@string/Address2"
android:textColor="@color/Default_black"
android:textSize="@dimen/Address2_textSize" />
<TextView
android:id="@+id/fourth"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@id/third"
android:layout_centerHorizontal="true"
android:layout_marginTop="@dimen/PhoneNo_MarginTop"
android:autoLink="all"
android:linksClickable="true"
android:text="@string/Phone_number"
android:textColor="@color/Default_black"
android:textSize="@dimen/PhoneNo_textSize" />
</RelativeLayout>
</LinearLayout>
</ScrollView>