Project

General

Profile

« Previous | Next » 

Revision 8a40abf4

Added by Leszek Koltunski about 5 years ago

Rubk App: improve 4 buttons in the top.

View differences:

src/main/res/layout/rubiklayout.xml
12 12
        android:paddingBottom="10dp"
13 13
        android:paddingTop="10dp" >
14 14

  
15
        <Button
15
        <ImageButton
16 16
            android:id="@+id/rubikSize2"
17 17
            android:layout_width="wrap_content"
18 18
            android:layout_height="wrap_content"
......
22 22
            android:onClick="setSize"
23 23
            android:paddingLeft="5dp"
24 24
            android:paddingRight="5dp"
25
            android:text="@string/swirl" />
25
            android:src="@drawable/button_rubik2"/>
26 26

  
27
        <Button
27
        <ImageButton
28 28
            android:id="@+id/rubikSize3"
29 29
            android:layout_width="wrap_content"
30 30
            android:layout_height="wrap_content"
......
34 34
            android:onClick="setSize"
35 35
            android:paddingLeft="5dp"
36 36
            android:paddingRight="5dp"
37
            android:text="@string/bubble" />
37
            android:src="@drawable/button_rubik3"/>
38 38

  
39
        <Button
39
        <ImageButton
40 40
            android:id="@+id/rubikSize4"
41 41
            android:layout_width="54dp"
42 42
            android:layout_height="wrap_content"
......
46 46
            android:onClick="setSize"
47 47
            android:paddingLeft="5dp"
48 48
            android:paddingRight="5dp"
49
            android:text="@string/sink" />
49
            android:src="@drawable/button_rubik4"/>
50 50

  
51 51
        <Button
52 52
            android:id="@+id/rubikScramble"
......
58 58
            android:onClick="Scramble"
59 59
            android:paddingLeft="5dp"
60 60
            android:paddingRight="5dp"
61
            android:text="@string/alpha" />
61
            android:text="@string/scramble" />
62 62

  
63 63
    </LinearLayout>
64 64

  

Also available in: Unified diff