Project

General

Profile

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

magiccube / src / main / res / layout / object_popup.xml @ e9245b7b

1
<?xml version="1.0" encoding="utf-8"?>
2
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
3
   android:id="@+id/objectGrid"
4
   android:layout_width="wrap_content"
5
   android:layout_height="wrap_content"
6
   android:gravity="center"
7
    android:layout_marginTop="0dp"
8
    android:layout_marginBottom="0dp"
9
    android:padding="0dp"
10
   android:orientation="vertical">
11

    
12
   <Button
13
      android:id="@+id/objectSolver"
14
      android:text="@string/object_solver"
15
      android:layout_width="match_parent"
16
      android:layout_height="wrap_content"
17
      android:paddingRight="10dp"
18
      android:paddingLeft="10dp"
19
      android:singleLine="true"
20
      android:backgroundTint="@color/dark_grey"
21
      android:gravity="center"/>
22

    
23
   <Button
24
      android:id="@+id/objectPattern"
25
      android:text="@string/object_pattern"
26
      android:layout_width="match_parent"
27
      android:layout_height="wrap_content"
28
      android:paddingRight="10dp"
29
      android:paddingLeft="10dp"
30
      android:singleLine="true"
31
      android:backgroundTint="@color/dark_grey"
32
      android:gravity="center"/>
33

    
34
   <Button
35
      android:id="@+id/objectTutorial"
36
      android:text="@string/object_tutorial"
37
      android:layout_width="match_parent"
38
      android:layout_height="wrap_content"
39
      android:paddingRight="10dp"
40
      android:paddingLeft="10dp"
41
      android:singleLine="true"
42
      android:backgroundTint="@color/dark_grey"
43
      android:gravity="center"/>
44

    
45
   <Button
46
        android:id="@+id/objectInfo"
47
        android:text="@string/object_info"
48
        android:layout_width="match_parent"
49
        android:layout_height="wrap_content"
50
        android:paddingRight="10dp"
51
        android:paddingLeft="10dp"
52
        android:singleLine="true"
53
        android:backgroundTint="@color/dark_grey"
54
        android:gravity="center"/>
55

    
56
   <TextView
57
       android:id="@+id/objectLevels"
58
       android:layout_width="match_parent"
59
       android:text="@string/levels"
60
       android:layout_height="wrap_content"
61
       android:gravity="center"/>
62

    
63
   <LinearLayout
64
        android:layout_width="match_parent"
65
        android:layout_height="wrap_content"
66
        android:gravity="left"
67
        android:orientation="horizontal">
68

    
69
        <Button
70
           android:id="@+id/level0"
71
           android:text="@string/level0"
72
           android:layout_width="wrap_content"
73
           android:layout_height="wrap_content"
74
           android:paddingRight="10dp"
75
           android:paddingLeft="10dp"
76
           android:backgroundTint="@color/dark_grey"/>
77
        <Button
78
           android:id="@+id/level1"
79
           android:text="@string/level1"
80
           android:layout_width="wrap_content"
81
           android:layout_height="wrap_content"
82
           android:paddingRight="10dp"
83
           android:paddingLeft="10dp"
84
           android:backgroundTint="@color/dark_grey"/>
85
        <Button
86
           android:id="@+id/level2"
87
           android:text="@string/level2"
88
           android:layout_width="wrap_content"
89
           android:layout_height="wrap_content"
90
           android:paddingRight="10dp"
91
           android:paddingLeft="10dp"
92
           android:backgroundTint="@color/dark_grey"/>
93
   </LinearLayout>
94

    
95
   <LinearLayout
96
        android:layout_width="match_parent"
97
        android:layout_height="wrap_content"
98
        android:gravity="left"
99
        android:orientation="horizontal">
100

    
101
        <Button
102
           android:id="@+id/level3"
103
           android:text="@string/level3"
104
           android:layout_width="wrap_content"
105
           android:layout_height="wrap_content"
106
           android:paddingRight="10dp"
107
           android:paddingLeft="10dp"
108
           android:backgroundTint="@color/dark_grey"/>
109
        <Button
110
           android:id="@+id/level4"
111
           android:text="@string/level4"
112
           android:layout_width="wrap_content"
113
           android:layout_height="wrap_content"
114
           android:paddingRight="10dp"
115
           android:paddingLeft="10dp"
116
           android:backgroundTint="@color/dark_grey"/>
117
        <Button
118
           android:id="@+id/level5"
119
           android:text="@string/level5"
120
           android:layout_width="wrap_content"
121
           android:layout_height="wrap_content"
122
           android:paddingRight="10dp"
123
           android:paddingLeft="10dp"
124
           android:backgroundTint="@color/dark_grey"/>
125
   </LinearLayout>
126

    
127
   <LinearLayout
128
        android:layout_width="match_parent"
129
        android:layout_height="wrap_content"
130
        android:gravity="left"
131
        android:orientation="horizontal">
132

    
133
        <Button
134
           android:id="@+id/level6"
135
           android:text="@string/level6"
136
           android:layout_width="wrap_content"
137
           android:layout_height="wrap_content"
138
           android:paddingRight="10dp"
139
           android:paddingLeft="10dp"
140
           android:backgroundTint="@color/dark_grey"/>
141
        <Button
142
           android:id="@+id/level7"
143
           android:text="@string/level7"
144
           android:layout_width="wrap_content"
145
           android:layout_height="wrap_content"
146
           android:paddingRight="10dp"
147
           android:paddingLeft="10dp"
148
           android:backgroundTint="@color/dark_grey"/>
149
        <Button
150
           android:id="@+id/levelM"
151
           android:text="@string/levelM"
152
           android:layout_width="wrap_content"
153
           android:layout_height="wrap_content"
154
           android:paddingRight="10dp"
155
           android:paddingLeft="10dp"
156
           android:backgroundTint="@color/dark_grey"/>
157
   </LinearLayout>
158
</LinearLayout>
(38-38/50)