Project

General

Profile

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

magiccube / src / main / res / layout / object_popup.xml @ 4a6b3b53

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
   <TextView
54
       android:id="@+id/objectLevels"
55
       android:layout_width="match_parent"
56
       android:text="@string/levels"
57
       android:layout_height="wrap_content"
58
       android:gravity="center"/>
59

    
60
   <LinearLayout
61
        android:layout_width="match_parent"
62
        android:layout_height="wrap_content"
63
        android:gravity="left"
64
        android:orientation="horizontal">
65

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

    
92
   <LinearLayout
93
        android:layout_width="match_parent"
94
        android:layout_height="wrap_content"
95
        android:gravity="left"
96
        android:orientation="horizontal">
97

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

    
124
   <LinearLayout
125
        android:layout_width="match_parent"
126
        android:layout_height="wrap_content"
127
        android:gravity="left"
128
        android:orientation="horizontal">
129

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