Project

General

Profile

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

magiccube / src / main / res / layout / object_popup.xml @ 94ff5962

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:orientation="vertical">
8

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

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

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

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

    
53
    <Button
54
        android:id="@+id/objectConfig"
55
        android:text="@string/config_stickers"
56
        android:layout_width="match_parent"
57
        android:layout_height="wrap_content"
58
        android:paddingRight="10dp"
59
        android:paddingLeft="10dp"
60
        android:singleLine="true"
61
        android:backgroundTint="@color/dark_grey"
62
        android:gravity="center"/>
63

    
64
   <TextView
65
       android:id="@+id/objectLevels"
66
       android:layout_width="match_parent"
67
       android:text="@string/levels"
68
       android:layout_height="wrap_content"
69
       android:gravity="center"/>
70

    
71
   <LinearLayout
72
        android:layout_width="match_parent"
73
        android:layout_height="wrap_content"
74
        android:gravity="left"
75
        android:orientation="horizontal">
76

    
77
        <Button
78
           android:id="@+id/level0"
79
           android:text="@string/level0"
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/level1"
87
           android:text="@string/level1"
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
        <Button
94
           android:id="@+id/level2"
95
           android:text="@string/level2"
96
           android:layout_width="wrap_content"
97
           android:layout_height="wrap_content"
98
           android:paddingRight="10dp"
99
           android:paddingLeft="10dp"
100
           android:backgroundTint="@color/dark_grey"/>
101
   </LinearLayout>
102

    
103
   <LinearLayout
104
        android:layout_width="match_parent"
105
        android:layout_height="wrap_content"
106
        android:gravity="left"
107
        android:orientation="horizontal">
108

    
109
        <Button
110
           android:id="@+id/level3"
111
           android:text="@string/level3"
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/level4"
119
           android:text="@string/level4"
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
        <Button
126
           android:id="@+id/level5"
127
           android:text="@string/level5"
128
           android:layout_width="wrap_content"
129
           android:layout_height="wrap_content"
130
           android:paddingRight="10dp"
131
           android:paddingLeft="10dp"
132
           android:backgroundTint="@color/dark_grey"/>
133
   </LinearLayout>
134

    
135
   <LinearLayout
136
        android:layout_width="match_parent"
137
        android:layout_height="wrap_content"
138
        android:gravity="left"
139
        android:orientation="horizontal">
140

    
141
        <Button
142
           android:id="@+id/level6"
143
           android:text="@string/level6"
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/level7"
151
           android:text="@string/level7"
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
        <Button
158
           android:id="@+id/levelM"
159
           android:text="@string/levelM"
160
           android:layout_width="wrap_content"
161
           android:layout_height="wrap_content"
162
           android:paddingRight="10dp"
163
           android:paddingLeft="10dp"
164
           android:backgroundTint="@color/dark_grey"/>
165
   </LinearLayout>
166
</LinearLayout>
(40-40/56)