Project

General

Profile

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

magiccube / src / main / res / layout / dialog_main.xml @ 4ed3823a

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:layout_marginLeft="10dp"
7
     android:layout_marginRight="10dp"
8
     android:layout_marginTop="10dp"
9
     android:layout_marginBottom="10dp"
10
     android:background="@color/grey"
11
     android:orientation="vertical">
12

    
13
     <Button
14
         android:id="@+id/rubikPlay"
15
         android:layout_width="fill_parent"
16
         android:layout_height="fill_parent"
17
         android:layout_weight="1"
18
         android:onClick="Play"
19
         android:layout_marginTop="10dp"
20
         android:layout_marginLeft="10dp"
21
         android:layout_marginRight="10dp"
22
         android:text="@string/play" />
23

    
24
     <Button
25
         android:id="@+id/rubikSettings"
26
         android:layout_width="fill_parent"
27
         android:layout_height="fill_parent"
28
         android:layout_weight="1"
29
         android:onClick="Effects"
30
         android:layout_marginLeft="10dp"
31
         android:layout_marginRight="10dp"
32
         android:text="@string/effects" />
33

    
34
     <Button
35
         android:id="@+id/rubikScores"
36
         android:layout_width="fill_parent"
37
         android:layout_height="fill_parent"
38
         android:layout_weight="1"
39
         android:onClick="Scores"
40
         android:layout_marginLeft="10dp"
41
         android:layout_marginRight="10dp"
42
         android:text="@string/scores" />
43

    
44
     <Button
45
         android:id="@+id/rubikPatterns"
46
         android:layout_width="fill_parent"
47
         android:layout_height="fill_parent"
48
         android:layout_weight="1"
49
         android:onClick="Patterns"
50
         android:layout_marginLeft="10dp"
51
         android:layout_marginRight="10dp"
52
         android:text="@string/patterns" />
53

    
54
     <Button
55
         android:id="@+id/rubikSolver"
56
         android:layout_width="fill_parent"
57
         android:layout_height="fill_parent"
58
         android:layout_weight="1"
59
         android:onClick="Solver"
60
         android:layout_marginLeft="10dp"
61
         android:layout_marginRight="10dp"
62
         android:text="@string/solver" />
63

    
64
     <Button
65
         android:id="@+id/rubikAbout"
66
         android:layout_width="fill_parent"
67
         android:layout_height="fill_parent"
68
         android:layout_weight="1"
69
         android:onClick="About"
70
         android:layout_marginLeft="10dp"
71
         android:layout_marginRight="10dp"
72
         android:layout_marginBottom="10dp"
73
         android:text="@string/about" />
74

    
75
</LinearLayout>
(2-2/18)