-
Notifications
You must be signed in to change notification settings - Fork 130
Expand file tree
/
Copy pathactivity_first_run.xml
More file actions
80 lines (68 loc) · 2.95 KB
/
activity_first_run.xml
File metadata and controls
80 lines (68 loc) · 2.95 KB
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
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:font="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context="org.buildmlearn.toolkit.activity.FirstRunActivity">
<ImageView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:adjustViewBounds="true"
android:contentDescription="@string/buildmlearn_backdrop_image"
android:scaleType="centerCrop"
android:src="@drawable/first_run_bg" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
android:gravity="center"
android:orientation="vertical"
android:weightSum="1">
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:adjustViewBounds="true"
android:contentDescription="@string/buildmlearn_logo"
android:scaleType="centerCrop"
android:src="@drawable/logo_70" />
<org.buildmlearn.toolkit.views.TextViewPlus
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_horizontal"
android:text="@string/main_title"
android:textColor="@color/white_secondary_text"
android:textSize="@dimen/headline_leading"
font:customFont="roboto_light.ttf" />
<org.buildmlearn.toolkit.views.TextViewPlus
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_horizontal"
android:text="@string/main_subtitle"
android:textColor="@color/white_secondary_text"
android:textSize="@dimen/title"
font:customFont="roboto_light.ttf" />
<View
android:id="@+id/focus_thief"
android:layout_width="1dp"
android:layout_height="1dp"
android:focusable="true"
android:focusableInTouchMode="true" />
<EditText
android:id="@+id/first_name"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="50dp"
android:ems="10"
android:hint="@string/main_name_hint"
android:inputType="textPersonName"
android:paddingLeft="20dp"
android:paddingRight="20dp"
android:textColorHint="@color/white_hint_text_disabled" />
<Button
android:text="Next"
android:layout_width="242dp"
android:layout_height="wrap_content"
android:id="@+id/ok_button"
android:background="@drawable/activated_background" />
</LinearLayout>
</RelativeLayout>