Project

General

Profile

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

magiccube / src / main / res / layout / layout.xml @ ffd744be

1 0c52af30 Leszek Koltunski
<?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:orientation="vertical" >
6
7
    <LinearLayout
8
        android:id="@+id/linearLayout"
9
        android:layout_width="fill_parent"
10
        android:layout_height="wrap_content"
11
        android:gravity="center|fill_horizontal" >
12
13
         <Button
14
            android:id="@+id/rubikCredits"
15
            android:layout_width="wrap_content"
16
            android:layout_height="64dp"
17
            android:layout_weight="0.5"
18
            android:onClick="Credits"
19
            android:paddingLeft="5dp"
20
            android:paddingRight="5dp"
21
            android:text="@string/credits" />
22
23
        <ImageButton
24
            android:id="@+id/rubikSize2"
25
            android:layout_width="64dp"
26
            android:layout_height="wrap_content"
27
            android:onClick="setSize"
28
            android:paddingLeft="5dp"
29
            android:paddingRight="5dp"
30
            android:src="@drawable/button2"/>
31
32
        <ImageButton
33
            android:id="@+id/rubikSize3"
34
            android:layout_width="64dp"
35
            android:layout_height="wrap_content"
36
            android:onClick="setSize"
37
            android:paddingLeft="5dp"
38
            android:paddingRight="5dp"
39
            android:src="@drawable/button3"/>
40
41
        <ImageButton
42
            android:id="@+id/rubikSize4"
43
            android:layout_width="64dp"
44
            android:layout_height="wrap_content"
45
            android:onClick="setSize"
46
            android:paddingLeft="5dp"
47
            android:paddingRight="5dp"
48
            android:src="@drawable/button4"/>
49
50
        <Button
51
            android:id="@+id/rubikScramble"
52
            android:layout_width="wrap_content"
53
            android:layout_height="64dp"
54
            android:layout_weight="0.5"
55
            android:onClick="Scramble"
56
            android:paddingLeft="5dp"
57
            android:paddingRight="5dp"
58
            android:text="@string/scramble" />
59
60
    </LinearLayout>
61
62
    <org.distorted.magic.RubikSurfaceView
63
        android:id="@+id/rubikSurfaceView"
64
        android:layout_width="fill_parent"
65
        android:layout_height="0dp"
66
        android:layout_weight="1" />
67
68
</LinearLayout>