Project

General

Profile

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

examples / src / main / res / layout / predeformpickerlayout.xml @ bf3b5480

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/predeformSpinnerType"/>
18

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

    
26
     <LinearLayout
27
           android:orientation="horizontal"
28
           android:layout_width="match_parent"
29
           android:layout_height="wrap_content">
30

    
31
           <NumberPicker
32
               android:id="@+id/predeformRows"
33
               android:layout_width="wrap_content"
34
               android:layout_height="wrap_content"
35
               android:orientation="vertical"
36
               android:descendantFocusability="blocksDescendants"
37
           />
38

    
39
           <NumberPicker
40
               android:id="@+id/predeformCols"
41
               android:layout_width="wrap_content"
42
               android:layout_height="wrap_content"
43
               android:orientation="vertical"
44
               android:descendantFocusability="blocksDescendants"
45
           />
46

    
47
           <NumberPicker
48
               android:id="@+id/predeformSlices"
49
               android:layout_width="wrap_content"
50
               android:layout_height="wrap_content"
51
               android:orientation="vertical"
52
               android:descendantFocusability="blocksDescendants"
53
           />
54

    
55
           <Button
56
               android:id="@+id/predeformCreate"
57
               android:text="@string/Create"
58
               android:layout_width="match_parent"
59
               android:layout_height="fill_parent"
60
           />
61
       </LinearLayout>
62

    
63
       <View
64
           android:layout_height="4dip"
65
           android:background="#777777"
66
           android:layout_width="match_parent"
67
           />
68

    
69
       <LinearLayout
70
           android:layout_width="match_parent"
71
           android:layout_height="50dp"
72
           android:layout_gravity="center"
73
           android:orientation="horizontal">
74

    
75
           <Button
76
               android:id="@+id/predeformAddEffect"
77
               android:layout_width="wrap_content"
78
               android:layout_height="wrap_content"
79
               android:layout_weight="1"
80
               android:text="@string/Add"/>
81

    
82
           <TextView
83
               android:layout_width="wrap_content"
84
               android:layout_height="wrap_content"
85
               android:text="@string/New"
86
               android:textAppearance="?android:attr/textAppearanceMedium"/>
87

    
88
           <Spinner
89
               android:id="@+id/predeformSpinnerEffect"
90
               android:layout_width="0dp"
91
               android:layout_height="wrap_content"
92
               android:layout_weight="4"/>
93

    
94
           <Button
95
               android:id="@+id/predeformRemoveEffect"
96
               android:layout_width="wrap_content"
97
               android:layout_height="wrap_content"
98
               android:layout_weight="1"
99
               android:text="@string/reset"
100
               />
101

    
102
       </LinearLayout>
103

    
104
       <View
105
           android:layout_height="4dip"
106
           android:background="#777777"
107
           android:layout_width="match_parent"
108
           />
109

    
110
       <ScrollView
111
           android:id="@+id/predeformScrollView"
112
           android:layout_width="match_parent"
113
           android:layout_height="0dp"
114
           android:layout_weight="0.80"
115
           >
116

    
117
           <LinearLayout
118
               android:id="@+id/predeformLayout"
119
               android:layout_width="match_parent"
120
               android:layout_height="wrap_content"
121
               android:orientation="vertical" >
122
           </LinearLayout>
123

    
124
       </ScrollView>
125

    
126

    
127
</LinearLayout>
(38-38/47)