1
|
<?xml version="1.0" encoding="utf-8"?>
|
2
|
|
3
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
4
|
android:orientation="vertical"
|
5
|
android:layout_width="match_parent"
|
6
|
android:layout_height="match_parent">
|
7
|
|
8
|
<LinearLayout
|
9
|
android:orientation="horizontal"
|
10
|
android:layout_width="match_parent"
|
11
|
android:layout_height="wrap_content">
|
12
|
|
13
|
<NumberPicker
|
14
|
android:id="@+id/cubespicker_rows"
|
15
|
android:layout_width="wrap_content"
|
16
|
android:layout_height="wrap_content"
|
17
|
android:orientation="vertical"
|
18
|
android:descendantFocusability="blocksDescendants"
|
19
|
/>
|
20
|
|
21
|
<NumberPicker
|
22
|
android:id="@+id/cubespicker_cols"
|
23
|
android:layout_width="wrap_content"
|
24
|
android:layout_height="wrap_content"
|
25
|
android:orientation="vertical"
|
26
|
android:descendantFocusability="blocksDescendants"
|
27
|
/>
|
28
|
|
29
|
<NumberPicker
|
30
|
android:id="@+id/cubespicker_slices"
|
31
|
android:layout_width="wrap_content"
|
32
|
android:layout_height="wrap_content"
|
33
|
android:orientation="vertical"
|
34
|
android:descendantFocusability="blocksDescendants"
|
35
|
/>
|
36
|
<Button
|
37
|
android:id="@+id/cubespicker_create"
|
38
|
android:onClick="Create"
|
39
|
android:text="@string/Create"
|
40
|
android:layout_width="match_parent"
|
41
|
android:layout_height="fill_parent"
|
42
|
/>
|
43
|
</LinearLayout>
|
44
|
|
45
|
<LinearLayout
|
46
|
android:id="@+id/cubespicker_buttongrid"
|
47
|
android:layout_width="match_parent"
|
48
|
android:layout_height="0dp"
|
49
|
android:gravity="center"
|
50
|
android:orientation="vertical"
|
51
|
android:layout_weight="0.8">
|
52
|
</LinearLayout>
|
53
|
|
54
|
</LinearLayout>
|