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
|
android:gravity="center_vertical">
|
8
|
|
9
|
<TableLayout
|
10
|
android:layout_width="match_parent"
|
11
|
android:layout_height="wrap_content"
|
12
|
android:stretchColumns="1,2,3,4"
|
13
|
android:shrinkColumns="1,2,3,4"
|
14
|
>
|
15
|
|
16
|
<TableRow
|
17
|
android:layout_width="match_parent"
|
18
|
android:layout_height="match_parent"
|
19
|
android:paddingTop="10dp">
|
20
|
|
21
|
<TextView
|
22
|
android:layout_width="wrap_content"
|
23
|
android:layout_height="wrap_content"
|
24
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
25
|
android:text="@string/Create"
|
26
|
android:id="@+id/textView2"
|
27
|
android:layout_gravity="center_vertical"
|
28
|
android:layout_marginLeft="10dp"/>
|
29
|
|
30
|
<Spinner
|
31
|
android:layout_width="fill_parent"
|
32
|
android:layout_height="50dp"
|
33
|
android:id="@+id/objectpicker_spinnerType"
|
34
|
android:layout_span="4"/>
|
35
|
</TableRow>
|
36
|
|
37
|
<TableRow
|
38
|
android:layout_width="match_parent"
|
39
|
android:layout_height="match_parent"
|
40
|
android:paddingTop="10dp">
|
41
|
|
42
|
<TextView
|
43
|
android:layout_width="wrap_content"
|
44
|
android:layout_height="wrap_content"
|
45
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
46
|
android:text="@string/Bitmap"
|
47
|
android:id="@+id/textView7"
|
48
|
android:layout_marginLeft="10dp"
|
49
|
android:layout_gravity="center_vertical"/>
|
50
|
|
51
|
<Spinner
|
52
|
android:layout_width="wrap_content"
|
53
|
android:layout_height="50dp"
|
54
|
android:id="@+id/objectpicker_spinnerBitmap"
|
55
|
android:layout_span="4"/>
|
56
|
</TableRow>
|
57
|
|
58
|
<TableRow
|
59
|
android:layout_width="match_parent"
|
60
|
android:layout_height="match_parent"
|
61
|
android:paddingTop="10dp"
|
62
|
android:paddingBottom="10dp">
|
63
|
|
64
|
<TextView
|
65
|
android:layout_width="wrap_content"
|
66
|
android:layout_height="wrap_content"
|
67
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
68
|
android:text="@string/rows"
|
69
|
android:id="@+id/textView8"
|
70
|
android:layout_gravity="center_vertical"
|
71
|
android:layout_marginLeft="10dp"
|
72
|
/>
|
73
|
|
74
|
<NumberPicker
|
75
|
android:id="@+id/objectpicker_rows"
|
76
|
android:layout_width="wrap_content"
|
77
|
android:layout_height="wrap_content"
|
78
|
android:orientation="vertical"
|
79
|
/>
|
80
|
|
81
|
<TextView
|
82
|
android:layout_width="wrap_content"
|
83
|
android:layout_height="wrap_content"
|
84
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
85
|
android:text="@string/cols"
|
86
|
android:id="@+id/textView9"
|
87
|
android:layout_marginLeft="10dp"
|
88
|
android:layout_gravity="center_vertical"
|
89
|
/>
|
90
|
|
91
|
<NumberPicker
|
92
|
android:id="@+id/objectpicker_cols"
|
93
|
android:layout_width="wrap_content"
|
94
|
android:layout_height="wrap_content"
|
95
|
android:orientation="vertical"
|
96
|
/>
|
97
|
</TableRow>
|
98
|
|
99
|
</TableLayout>
|
100
|
|
101
|
<Button
|
102
|
android:id="@+id/objectpicker_create"
|
103
|
android:onClick="Continue"
|
104
|
android:text="@string/continu"
|
105
|
android:layout_width="match_parent"
|
106
|
android:layout_height="50dp"
|
107
|
android:layout_span="4"
|
108
|
android:layout_marginTop="5dp"/>
|
109
|
|
110
|
</LinearLayout>
|