-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathactivity_intro_.xml
83 lines (77 loc) · 3.76 KB
/
activity_intro_.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
<?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:layout_height="match_parent"
android:orientation="vertical"
android:layout_gravity="center"
android:gravity="center"
tools:context=".Intro_Activity">
<TextView
android:id="@+id/tv_app_name_intro"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/intro_screen_title_text_marginTop"
android:text="@string/app_name"
android:textColor="@color/colorAccent"
android:textSize="@dimen/intro_screen_title_text_size"
android:textStyle="bold" />
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/intro_screen_image_marginTop"
android:contentDescription="@string/image_contentDescription"
android:src="@drawable/ic_task_image" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/lets_get_started_text_marginTop"
android:text="@string/let_s_get_started_text"
android:textColor="@color/primary_text_color"
android:textSize="@dimen/lets_get_started_text_size" />
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="@dimen/intro_text_marginStartEnd"
android:layout_marginTop="@dimen/intro_text_marginTop"
android:layout_marginEnd="@dimen/intro_text_marginStartEnd"
android:gravity="center"
android:lineSpacingExtra="@dimen/intro_text_line_spacing_extra"
android:text="@string/intro_text_description"
android:textColor="@color/secondary_text_color"
android:textSize="@dimen/intro_text_size" />
<!--TODO (Step 8: Button background files are added in the drawable folder.)-->
<Button
android:id="@+id/btn_sign_in_intro"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:layout_marginStart="@dimen/btn_marginStartEnd"
android:layout_marginTop="@dimen/intro_screen_sign_in_btn_marginTop"
android:layout_marginEnd="@dimen/btn_marginStartEnd"
android:background="@drawable/shape_button_rounded"
android:foreground="?attr/selectableItemBackground"
android:gravity="center"
android:paddingTop="@dimen/btn_paddingTopBottom"
android:paddingBottom="@dimen/btn_paddingTopBottom"
android:text="@string/sign_in"
android:textColor="@android:color/white"
android:textSize="@dimen/btn_text_size" />
<Button
android:id="@+id/btn_sign_up_intro"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:layout_marginStart="@dimen/btn_marginStartEnd"
android:layout_marginTop="@dimen/intro_screen_sign_up_btn_marginTop"
android:layout_marginEnd="@dimen/btn_marginStartEnd"
android:background="@drawable/white_border_shape_button_rounded"
android:foreground="?attr/selectableItemBackground"
android:gravity="center"
android:paddingTop="@dimen/btn_paddingTopBottom"
android:paddingBottom="@dimen/btn_paddingTopBottom"
android:text="@string/sign_up"
android:textColor="@color/colorAccent"
android:textSize="@dimen/btn_text_size" />
</LinearLayout>