1
|
<?xml version="1.0" encoding="utf-8"?>
|
2
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
3
|
android:layout_width="fill_parent"
|
4
|
android:layout_height="fill_parent"
|
5
|
android:gravity="center|fill_horizontal"
|
6
|
android:background="@color/grey"
|
7
|
android:orientation="vertical">
|
8
|
|
9
|
<TextView
|
10
|
android:id="@+id/tutorialTitle"
|
11
|
android:layout_width="match_parent"
|
12
|
android:layout_height="wrap_content"
|
13
|
android:gravity="center"
|
14
|
android:textSize="18sp"
|
15
|
android:layout_marginTop="10dp"
|
16
|
android:layout_marginLeft="10dp"
|
17
|
android:layout_marginRight="10dp"
|
18
|
android:paddingLeft="2dp"
|
19
|
android:paddingRight="2dp"
|
20
|
android:maxLines="1"
|
21
|
android:background="@color/dark_grey"/>
|
22
|
|
23
|
<LinearLayout
|
24
|
android:id="@+id/tutorialLayout"
|
25
|
android:layout_width="fill_parent"
|
26
|
android:layout_height="wrap_content"
|
27
|
android:layout_marginLeft="10dp"
|
28
|
android:layout_marginRight="10dp"
|
29
|
android:background="@color/dark_grey"
|
30
|
android:gravity="center"
|
31
|
android:orientation="horizontal">
|
32
|
|
33
|
<LinearLayout
|
34
|
android:layout_width="0dp"
|
35
|
android:layout_height="match_parent"
|
36
|
android:layout_weight="0.4"
|
37
|
android:gravity="left"
|
38
|
android:orientation="horizontal">
|
39
|
|
40
|
<ImageView
|
41
|
android:id="@+id/tutorialCountry"
|
42
|
android:layout_width="match_parent"
|
43
|
android:layout_height="match_parent"
|
44
|
android:paddingBottom="3dp"
|
45
|
android:paddingTop="3dp"
|
46
|
android:paddingLeft="10dp"/>
|
47
|
</LinearLayout>
|
48
|
|
49
|
<LinearLayout
|
50
|
android:layout_width="0dp"
|
51
|
android:layout_height="match_parent"
|
52
|
android:layout_weight="1.5"
|
53
|
android:gravity="left"
|
54
|
android:orientation="horizontal">
|
55
|
|
56
|
<TextView
|
57
|
android:id="@+id/tutorialAuthor"
|
58
|
android:layout_width="wrap_content"
|
59
|
android:layout_height="wrap_content"
|
60
|
android:paddingLeft="5dp"
|
61
|
android:textSize="18sp"
|
62
|
android:maxLines="1"
|
63
|
android:layout_gravity="center_vertical|start"/>
|
64
|
</LinearLayout>
|
65
|
|
66
|
<LinearLayout
|
67
|
android:layout_width="0dp"
|
68
|
android:layout_height="match_parent"
|
69
|
android:layout_weight="1.0"
|
70
|
android:gravity="right"
|
71
|
android:orientation="horizontal">
|
72
|
|
73
|
<Button
|
74
|
android:id="@+id/tutorialButton"
|
75
|
android:layout_width="match_parent"
|
76
|
android:layout_height="wrap_content"
|
77
|
android:paddingRight="15dp"
|
78
|
android:paddingLeft="15dp"
|
79
|
android:singleLine="true"
|
80
|
android:textAllCaps="false"
|
81
|
android:layout_gravity="right"/>
|
82
|
</LinearLayout>
|
83
|
|
84
|
</LinearLayout>
|
85
|
</LinearLayout>
|