Revision 2e99ba6a
Added by Leszek Koltunski over 2 years ago
src/main/res/layout/config_difficulty.xml | ||
---|---|---|
2 | 2 |
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
3 | 3 |
android:layout_width="fill_parent" |
4 | 4 |
android:layout_height="0dp" |
5 |
android:layout_weight="1" |
|
6 | 5 |
android:gravity="center|fill_horizontal" |
7 | 6 |
android:background="@color/grey" |
7 |
android:paddingLeft="10dp" |
|
8 |
android:paddingRight="10dp" |
|
8 | 9 |
android:orientation="vertical"> |
9 | 10 |
|
10 | 11 |
<TextView |
11 | 12 |
android:id="@+id/configDifficultyTitle" |
12 | 13 |
android:layout_width="match_parent" |
13 | 14 |
android:layout_height="0dp" |
14 |
android:layout_weight="1"
|
|
15 |
android:layout_weight="0.8"
|
|
15 | 16 |
android:gravity="center" |
16 | 17 |
android:textSize="26sp" |
17 |
android:layout_marginTop="10dp" |
|
18 |
android:layout_marginLeft="10dp" |
|
19 |
android:layout_marginRight="10dp" |
|
20 | 18 |
android:paddingLeft="2dp" |
21 | 19 |
android:paddingRight="2dp" |
22 | 20 |
android:maxLines="1" |
23 | 21 |
android:text="@string/config_difficulty" |
24 | 22 |
android:background="@color/light_grey"/> |
25 | 23 |
|
24 |
<LinearLayout |
|
25 |
android:id="@+id/configDifficultyLayout" |
|
26 |
android:layout_width="fill_parent" |
|
27 |
android:layout_height="0dp" |
|
28 |
android:layout_weight="2.0" |
|
29 |
android:paddingLeft="5dp" |
|
30 |
android:paddingRight="5dp" |
|
31 |
android:paddingTop="10dp" |
|
32 |
android:paddingBottom="10dp" |
|
33 |
android:background="@color/light_grey" |
|
34 |
android:orientation="horizontal"> |
|
35 |
|
|
36 |
<ImageView |
|
37 |
android:id="@+id/configDifficulty0" |
|
38 |
android:layout_width="0dp" |
|
39 |
android:layout_height="match_parent" |
|
40 |
android:layout_weight="1" |
|
41 |
android:gravity="center" |
|
42 |
android:src="@drawable/ui_huge_info" /> |
|
43 |
|
|
44 |
<ImageView |
|
45 |
android:id="@+id/configDifficulty1" |
|
46 |
android:layout_width="0dp" |
|
47 |
android:layout_height="match_parent" |
|
48 |
android:layout_weight="1" |
|
49 |
android:gravity="center" |
|
50 |
android:src="@drawable/ui_huge_tutorial" /> |
|
51 |
|
|
52 |
<ImageView |
|
53 |
android:id="@+id/configDifficulty2" |
|
54 |
android:layout_width="0dp" |
|
55 |
android:layout_height="match_parent" |
|
56 |
android:layout_weight="1" |
|
57 |
android:gravity="center" |
|
58 |
android:src="@drawable/ui_huge_cube_back" /> |
|
59 |
|
|
60 |
<ImageView |
|
61 |
android:id="@+id/configDifficulty3" |
|
62 |
android:layout_width="0dp" |
|
63 |
android:layout_height="match_parent" |
|
64 |
android:layout_weight="1" |
|
65 |
android:gravity="center" |
|
66 |
android:src="@drawable/ui_huge_cube_grey" /> |
|
67 |
|
|
68 |
<ImageView |
|
69 |
android:id="@+id/configDifficulty4" |
|
70 |
android:layout_width="0dp" |
|
71 |
android:layout_height="match_parent" |
|
72 |
android:layout_weight="1" |
|
73 |
android:gravity="center" |
|
74 |
android:src="@drawable/ui_huge_cube_scramble" /> |
|
75 |
|
|
76 |
</LinearLayout> |
|
77 |
|
|
26 | 78 |
</LinearLayout> |
Also available in: Unified diff
Progress with ConfigPane.