77 android : background =" @color/white"
88 android : orientation =" vertical" >
99
10- <ScrollView
10+ <LinearLayout
11+ android : layout_width =" fill_parent"
12+ android : layout_height =" wrap_content"
13+ android : layout_margin =" 2dp"
14+ android : orientation =" horizontal" >
15+
16+ <TextView
17+ android : layout_width =" match_parent"
18+ android : layout_height =" match_parent"
19+ android : layout_weight =" 3"
20+ android : gravity =" center_vertical|left"
21+ android : paddingLeft =" 10dp"
22+ android : text =" @string/title" />
23+
24+ <EditText
25+ android : id =" @+id/et_title"
26+ android : layout_width =" match_parent"
27+ android : layout_height =" match_parent"
28+ android : layout_marginRight =" 10dp"
29+ android : layout_weight =" 1"
30+ android : maxLines =" 1"
31+ android : singleLine =" true" />
32+ </LinearLayout >
33+
34+ <LinearLayout
35+ android : layout_width =" match_parent"
36+ android : layout_height =" wrap_content"
37+ android : layout_margin =" 2dp"
38+ android : layout_weight =" 1"
39+ android : orientation =" horizontal" >
40+
41+ <TextView
42+ android : layout_width =" match_parent"
43+ android : layout_height =" match_parent"
44+ android : layout_weight =" 3"
45+ android : gravity =" center_vertical|left"
46+ android : paddingLeft =" 10dp"
47+ android : text =" @string/category" />
48+
49+ <EditText
50+ android : id =" @+id/et_category"
51+ android : layout_width =" match_parent"
52+ android : layout_height =" match_parent"
53+ android : layout_marginRight =" 10dp"
54+ android : layout_weight =" 1"
55+ android : maxLines =" 1"
56+ android : singleLine =" true" />
57+
58+ </LinearLayout >
59+
60+ <LinearLayout
1161 android : layout_width =" match_parent"
12- android : layout_height =" match_parent" >
62+ android : layout_height =" wrap_content"
63+ android : layout_gravity =" center_horizontal"
64+ android : layout_margin =" 2dp"
65+ android : layout_weight =" 1"
66+ android : orientation =" horizontal" >
1367
14- <LinearLayout
68+ <TextView
69+ android : layout_width =" match_parent"
70+ android : layout_height =" match_parent"
71+ android : layout_weight =" 3"
72+ android : gravity =" center_vertical|left"
73+ android : paddingLeft =" 10dp"
74+ android : text =" @string/price" />
75+
76+ <EditText
77+ android : id =" @+id/et_price"
1578 android : layout_width =" match_parent"
1679 android : layout_height =" wrap_content"
17- android : orientation =" vertical" >
18-
19- <LinearLayout
20- android : layout_width =" fill_parent"
21- android : layout_height =" wrap_content"
22- android : layout_margin =" 2dp"
23- android : orientation =" horizontal" >
24-
25- <TextView
26- android : layout_width =" match_parent"
27- android : layout_height =" match_parent"
28- android : layout_weight =" 3"
29- android : gravity =" center_vertical|left"
30- android : paddingLeft =" 10dp"
31- android : text =" @string/title" />
32-
33- <EditText
34- android : id =" @+id/et_title"
35- android : layout_width =" match_parent"
36- android : layout_height =" match_parent"
37- android : layout_marginRight =" 10dp"
38- android : layout_weight =" 1"
39- android : maxLines =" 1"
40- android : singleLine =" true" />
41- </LinearLayout >
42-
43- <LinearLayout
44- android : layout_width =" match_parent"
45- android : layout_height =" wrap_content"
46- android : layout_margin =" 2dp"
47- android : layout_weight =" 1"
48- android : orientation =" horizontal" >
49-
50- <TextView
51- android : layout_width =" match_parent"
52- android : layout_height =" match_parent"
53- android : layout_weight =" 3"
54- android : gravity =" center_vertical|left"
55- android : paddingLeft =" 10dp"
56- android : text =" @string/category" />
57-
58- <EditText
59- android : id =" @+id/et_category"
60- android : layout_width =" match_parent"
61- android : layout_height =" match_parent"
62- android : layout_marginRight =" 10dp"
63- android : layout_weight =" 1"
64- android : maxLines =" 1"
65- android : singleLine =" true" />
66-
67- </LinearLayout >
68-
69- <LinearLayout
70- android : layout_width =" match_parent"
71- android : layout_height =" wrap_content"
72- android : layout_gravity =" center_horizontal"
73- android : layout_margin =" 2dp"
74- android : layout_weight =" 1"
75- android : orientation =" horizontal" >
76-
77- <TextView
78- android : layout_width =" match_parent"
79- android : layout_height =" match_parent"
80- android : layout_weight =" 3"
81- android : gravity =" center_vertical|left"
82- android : paddingLeft =" 10dp"
83- android : text =" @string/price" />
84-
85- <EditText
86- android : id =" @+id/et_price"
87- android : layout_width =" match_parent"
88- android : layout_height =" wrap_content"
89- android : layout_marginRight =" 10dp"
90- android : layout_weight =" 1"
91- android : inputType =" numberSigned"
92- android : maxLines =" 1"
93- android : singleLine =" true" />
94-
95- </LinearLayout >
96-
97- <LinearLayout
98- android : layout_width =" match_parent"
99- android : layout_height =" wrap_content"
100- android : layout_gravity =" center_horizontal"
101- android : layout_margin =" 2dp"
102- android : layout_weight =" 1"
103- android : orientation =" horizontal" >
104-
105- <TextView
106- android : layout_width =" match_parent"
107- android : layout_height =" match_parent"
108- android : layout_weight =" 3"
109- android : gravity =" center_vertical|left"
110- android : paddingLeft =" 10dp"
111- android : text =" @string/account" />
112-
113- <Spinner
114- android : id =" @+id/spinner_account"
115- android : layout_width =" match_parent"
116- android : layout_height =" wrap_content"
117- android : layout_marginRight =" 10dp"
118- android : layout_weight =" 1" />
119-
120- </LinearLayout >
121- </LinearLayout >
122-
123- </ScrollView >
80+ android : layout_marginRight =" 10dp"
81+ android : layout_weight =" 1"
82+ android : inputType =" numberSigned"
83+ android : maxLines =" 1"
84+ android : singleLine =" true" />
85+
86+ </LinearLayout >
87+
88+ <LinearLayout
89+ android : layout_width =" match_parent"
90+ android : layout_height =" wrap_content"
91+ android : layout_gravity =" center_horizontal"
92+ android : layout_margin =" 2dp"
93+ android : layout_weight =" 1"
94+ android : orientation =" horizontal" >
95+
96+ <TextView
97+ android : layout_width =" match_parent"
98+ android : layout_height =" match_parent"
99+ android : layout_weight =" 3"
100+ android : gravity =" center_vertical|left"
101+ android : paddingLeft =" 10dp"
102+ android : text =" @string/account" />
103+
104+ <Spinner
105+ android : id =" @+id/spinner_account"
106+ android : layout_width =" match_parent"
107+ android : layout_height =" wrap_content"
108+ android : layout_marginRight =" 10dp"
109+ android : layout_weight =" 1" />
110+
111+ </LinearLayout >
124112</LinearLayout >
0 commit comments