Project

General

Profile

Download (2.21 KB) Statistics
| Branch: | Revision:

examples / src / main / res / layout / objectpickerlayout.xml @ af662543

1 50ac40a6 Leszek Koltunski
<?xml version="1.0" encoding="utf-8"?>
2
3 bfcf419a Leszek Koltunski
<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 50ac40a6 Leszek Koltunski
8 bfcf419a Leszek Koltunski
     <LinearLayout
9
           android:orientation="horizontal"
10 bcc8e016 Leszek Koltunski
           android:layout_width="match_parent"
11 bfcf419a Leszek Koltunski
           android:layout_height="wrap_content">
12 50ac40a6 Leszek Koltunski
13 bfcf419a Leszek Koltunski
           <Spinner
14
                android:layout_width="0dp"
15 50ac40a6 Leszek Koltunski
                android:layout_height="50dp"
16 bfcf419a Leszek Koltunski
                android:layout_weight="0.5"
17 50ac40a6 Leszek Koltunski
                android:id="@+id/objectpicker_spinnerType"
18 bfcf419a Leszek Koltunski
           />
19 bcc8e016 Leszek Koltunski
20 bfcf419a Leszek Koltunski
           <Spinner
21
                   android:layout_width="0dp"
22 bcc8e016 Leszek Koltunski
                   android:layout_height="50dp"
23 bfcf419a Leszek Koltunski
                   android:layout_weight="0.5"
24 bcc8e016 Leszek Koltunski
                   android:id="@+id/objectpicker_spinnerBitmap"
25 bfcf419a Leszek Koltunski
           />
26
     </LinearLayout>
27 50ac40a6 Leszek Koltunski
28 bfcf419a Leszek Koltunski
     <LinearLayout
29
           android:orientation="horizontal"
30
           android:layout_width="match_parent"
31
           android:layout_height="wrap_content">
32
33
           <NumberPicker
34
               android:id="@+id/objectpicker_rows"
35
               android:layout_width="wrap_content"
36
               android:layout_height="wrap_content"
37
               android:orientation="vertical"
38
               android:descendantFocusability="blocksDescendants"
39
           />
40
41
           <NumberPicker
42
               android:id="@+id/objectpicker_cols"
43
               android:layout_width="wrap_content"
44
               android:layout_height="wrap_content"
45
               android:orientation="vertical"
46
               android:descendantFocusability="blocksDescendants"
47
           />
48
49
           <Button
50
               android:id="@+id/objectpicker_create"
51
               android:onClick="Create"
52
               android:text="@string/Create"
53
               android:layout_width="match_parent"
54
               android:layout_height="fill_parent"
55
           />
56
       </LinearLayout>
57 50ac40a6 Leszek Koltunski
58 bfcf419a Leszek Koltunski
       <LinearLayout
59
           android:id="@+id/objectpicker_buttongrid"
60
           android:layout_width="match_parent"
61
           android:layout_height="0dp"
62
           android:gravity="center"
63
           android:orientation="vertical"
64
           android:layout_weight="0.8">
65
       </LinearLayout>
66 50ac40a6 Leszek Koltunski
67
</LinearLayout>