Revision bcc8e016
Added by Leszek Koltunski almost 8 years ago
src/main/res/layout/objectpickerlayout.xml | ||
---|---|---|
1 | 1 |
<?xml version="1.0" encoding="utf-8"?> |
2 | 2 |
|
3 | 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"> |
|
4 |
android:orientation="vertical" |
|
5 |
android:layout_width="match_parent" |
|
6 |
android:layout_height="match_parent" |
|
7 |
android:gravity="center_vertical"> |
|
7 | 8 |
|
8 | 9 |
<TableLayout |
9 |
android:layout_width="match_parent" |
|
10 |
android:layout_height="wrap_content" |
|
11 |
android:stretchColumns="1,2,3" |
|
12 |
android:shrinkColumns="1,2,3"> |
|
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 |
> |
|
13 | 15 |
|
14 | 16 |
<TableRow |
15 | 17 |
android:layout_width="match_parent" |
16 |
android:layout_height="match_parent"> |
|
18 |
android:layout_height="match_parent" |
|
19 |
android:paddingTop="10dp"> |
|
17 | 20 |
|
18 | 21 |
<TextView |
19 | 22 |
android:layout_width="wrap_content" |
... | ... | |
28 | 31 |
android:layout_width="fill_parent" |
29 | 32 |
android:layout_height="50dp" |
30 | 33 |
android:id="@+id/objectpicker_spinnerType" |
31 |
android:layout_span="3"/>
|
|
34 |
android:layout_span="4"/>
|
|
32 | 35 |
</TableRow> |
33 | 36 |
|
34 |
<TableRow |
|
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 |
|
35 | 59 |
android:layout_width="match_parent" |
36 |
android:layout_height="match_parent"> |
|
60 |
android:layout_height="match_parent" |
|
61 |
android:paddingTop="10dp" |
|
62 |
android:paddingBottom="10dp"> |
|
37 | 63 |
|
38 | 64 |
<TextView |
39 | 65 |
android:layout_width="wrap_content" |
... | ... | |
42 | 68 |
android:text="@string/rows" |
43 | 69 |
android:id="@+id/textView8" |
44 | 70 |
android:layout_gravity="center_vertical" |
45 |
android:layout_marginLeft="10dp"/> |
|
71 |
android:layout_marginLeft="10dp" |
|
72 |
/> |
|
46 | 73 |
|
47 | 74 |
<NumberPicker |
48 | 75 |
android:id="@+id/objectpicker_rows" |
49 | 76 |
android:layout_width="wrap_content" |
50 | 77 |
android:layout_height="wrap_content" |
51 | 78 |
android:orientation="vertical" |
52 |
android:layout_span="1" |
|
53 | 79 |
/> |
54 | 80 |
|
55 | 81 |
<TextView |
... | ... | |
59 | 85 |
android:text="@string/cols" |
60 | 86 |
android:id="@+id/textView9" |
61 | 87 |
android:layout_marginLeft="10dp" |
62 |
android:layout_gravity="center_vertical"/> |
|
88 |
android:layout_gravity="center_vertical" |
|
89 |
/> |
|
63 | 90 |
|
64 | 91 |
<NumberPicker |
65 | 92 |
android:id="@+id/objectpicker_cols" |
... | ... | |
71 | 98 |
|
72 | 99 |
</TableLayout> |
73 | 100 |
|
74 |
<LinearLayout |
|
75 |
android:id="@+id/objectpicker_buttongrid" |
|
76 |
android:layout_width="match_parent" |
|
77 |
android:layout_height="0dp" |
|
78 |
android:gravity="center" |
|
79 |
android:orientation="vertical" |
|
80 |
android:layout_weight="0.8"> |
|
81 |
</LinearLayout> |
|
82 |
|
|
83 | 101 |
<Button |
84 | 102 |
android:id="@+id/objectpicker_create" |
85 |
android:onClick="Create"
|
|
86 |
android:text="@string/Create"
|
|
103 |
android:onClick="Continue"
|
|
104 |
android:text="@string/continu"
|
|
87 | 105 |
android:layout_width="match_parent" |
88 | 106 |
android:layout_height="50dp" |
89 | 107 |
android:layout_span="4" |
Also available in: Unified diff
Improve the Vertex3D app some more.