Project

General

Profile

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

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

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
           <Spinner
14
                android:layout_width="0dp"
15
                android:layout_height="50dp"
16
                android:layout_weight="0.5"
17
                android:id="@+id/objectpicker_spinnerType"
18
           />
19

    
20
           <Spinner
21
                   android:layout_width="0dp"
22
                   android:layout_height="50dp"
23
                   android:layout_weight="0.5"
24
                   android:id="@+id/objectpicker_spinnerBitmap"
25
           />
26
     </LinearLayout>
27

    
28
     <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

    
58
       <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

    
67
</LinearLayout>
(24-24/30)