Project

General

Profile

Download (2.31 KB) Statistics
| Branch: | Tag: | Revision:

magiccube / src / main / res / layout / dialog_tutorial_row.xml @ 99b8a069

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:paddingLeft="5dp"
30
        android:paddingRight="5dp"
31
        android:background="@color/dark_grey"
32
        android:orientation="horizontal">
33

    
34
        <ImageView
35
             android:id="@+id/tutorialCountry"
36
             android:layout_width="0dp"
37
             android:layout_height="match_parent"
38
             android:layout_weight="0.4"
39
             android:paddingBottom="6dp"
40
             android:paddingTop="6dp"
41
             android:gravity="left"
42
             android:paddingLeft="0dp"/>
43

    
44
        <TextView
45
             android:id="@+id/tutorialAuthor"
46
             android:layout_width="0dp"
47
             android:layout_height="match_parent"
48
             android:layout_weight="1.0"
49
             android:gravity="center_vertical|start"
50
             android:paddingLeft="5dp"
51
             android:textSize="18sp"
52
             android:singleLine="true"
53
             android:maxLines="1"/>
54

    
55
        <Button
56
             android:id="@+id/tutorialButton"
57
             android:layout_width="0dp"
58
             android:layout_height="match_parent"
59
             android:layout_weight="0.7"
60
             android:paddingRight="10dp"
61
             android:paddingLeft="10dp"
62
             android:singleLine="true"
63
             android:textAllCaps="false"
64
             android:gravity="center"/>
65

    
66
    </LinearLayout>
67
</LinearLayout>
(20-20/31)