5151 />
5252 </RadioGroup >
5353
54- <LinearLayout
55- android : layout_width =" match_parent"
56- android : layout_height =" match_parent"
57- android : orientation =" vertical"
58- android : background =" @drawable/interactive_mode_buttons_bottom_line"
59- android : layout_marginLeft =" @dimen/interactive_mode_side_space"
60- android : layout_marginRight =" @dimen/interactive_mode_side_space"
61- >
62-
63- <TextView
64- android : id =" @+id/deviceName"
65- android : textColor =" @color/nice_gray"
66- android : layout_marginTop =" 10dp"
67- android : layout_gravity =" center_horizontal"
68- android : textSize =" @dimen/interactive_mode_button_text_size"
69- android : layout_width =" wrap_content"
70- android : layout_height =" wrap_content" />
71-
72- <com .imgtec.hobbyist.views.InstantAutoCompleteTextView
73- style =" @style/RoundedEditText"
74- android : id =" @+id/commandTextButton"
75- android : hint =" @string/select_command"
76- android : textColorHint =" @color/nice_green"
77- android : layout_marginTop =" 10dp"
78- android : layout_marginBottom =" 15dp"
79- android : gravity =" left"
80- android : maxLength =" 64"
81- android : imeOptions =" actionDone"
82- android : inputType =" textNoSuggestions"
83- />
84-
85- <Button
86- style =" @style/RoundedEditText"
87- android : id =" @+id/searchUsersButton"
88- android : text =" @string/search_users"
89- android : textColor =" @color/nice_green"
90- android : layout_marginTop =" 25dp"
91- android : layout_marginBottom =" 15dp"
92- android : gravity =" left"
93- android : visibility =" gone"
94- />
95-
96- <EditText
97- style =" @style/RoundedEditText"
98- android : id =" @+id/messageText"
99- android : inputType =" text"
100- android : hint =" @string/type_a_message"
101- android : textColorHint =" @color/nice_green"
102- android : layout_marginBottom =" 15dp"
103- android : visibility =" gone"
104- />
54+ <FrameLayout
55+ android : layout_width =" fill_parent"
56+ android : layout_height =" fill_parent" >
10557
10658 <LinearLayout
107- android : id =" @+id/controlPanel"
108- android : orientation =" horizontal"
10959 android : layout_width =" match_parent"
110- android : layout_height =" wrap_content"
60+ android : layout_height =" match_parent"
61+ android : orientation =" vertical"
62+ android : background =" @drawable/interactive_mode_buttons_bottom_line"
63+ android : layout_marginLeft =" @dimen/interactive_mode_side_space"
64+ android : layout_marginRight =" @dimen/interactive_mode_side_space"
11165 >
11266
67+ <TextView
68+ android : id =" @+id/deviceName"
69+ android : textColor =" @color/nice_gray"
70+ android : layout_marginTop =" 10dp"
71+ android : layout_gravity =" center_horizontal"
72+ android : textSize =" @dimen/interactive_mode_button_text_size"
73+ android : layout_width =" wrap_content"
74+ android : layout_height =" wrap_content" />
75+
76+ <LinearLayout
77+ android : orientation =" horizontal"
78+ android : layout_width =" fill_parent"
79+ android : layout_height =" wrap_content"
80+ android : weightSum =" 1" >
81+
82+ <com .imgtec.hobbyist.views.InstantAutoCompleteTextView
83+ style =" @style/RoundedEditText"
84+ android : id =" @+id/commandTextButton"
85+ android : hint =" @string/select_command"
86+ android : textColorHint =" @color/nice_green"
87+ android : layout_marginTop =" 10dp"
88+ android : layout_marginBottom =" 15dp"
89+ android : gravity =" left"
90+ android : maxLength =" 64"
91+ android : imeOptions =" actionDone"
92+ android : inputType =" textNoSuggestions"
93+ android : layout_width =" fill_parent"
94+ android : layout_weight =" 0.63"
95+ android : layout_height =" wrap_content" />
96+
97+ </LinearLayout >
98+
11399 <Button
114- android : id =" @+id/sendCommandsButton "
115- android : layout_weight = " 1 "
116- android : layout_width = " 0dp "
117- android : layout_height =" @dimen/button_height "
118- android : text = " @string/send_button_text "
100+ style =" @style/RoundedEditText "
101+ android : id = " @+id/searchUsersButton "
102+ android : text = " @string/search_users "
103+ android : textColor =" @color/nice_green "
104+ android : layout_marginTop = " 25dp "
119105 android : layout_marginBottom =" 15dp"
120- android : layout_marginRight =" 15dp"
121- android : textColor =" @android:color/white"
122- android : background =" @drawable/green_and_grey_button_selector"
106+ android : gravity =" left"
107+ android : visibility =" gone"
123108 />
124109
125- <Button
126- android : id =" @+id/clearCommandsButton"
127- android : layout_width =" @dimen/button_height"
128- android : layout_height =" @dimen/button_height"
129- android : text =" @string/C_letter"
110+ <EditText
111+ style =" @style/RoundedEditText"
112+ android : id =" @+id/messageText"
113+ android : inputType =" text"
114+ android : hint =" @string/type_a_message"
115+ android : textColorHint =" @color/nice_green"
130116 android : layout_marginBottom =" 15dp"
131- android : textColor =" @android:color/white"
132- android : enabled =" false"
133- android : background =" @drawable/gray_disabled_purple_enabled_selector"
117+ android : visibility =" gone"
134118 />
135119
136- </LinearLayout >
120+ <LinearLayout
121+ android : id =" @+id/controlPanel"
122+ android : orientation =" horizontal"
123+ android : layout_width =" match_parent"
124+ android : layout_height =" wrap_content"
125+ >
126+
127+ <Button
128+ android : id =" @+id/parametersButton"
129+ android : layout_width =" wrap_content"
130+ android : layout_height =" wrap_content"
131+ android : text =" Parameters"
132+ android : layout_marginBottom =" 15dp"
133+ android : textColor =" @android:color/white"
134+ android : background =" @drawable/green_and_grey_button_not_pressed"
135+ android : paddingLeft =" 5dp"
136+ android : paddingRight =" 5dp"
137+ android : layout_marginRight =" 10dp" />
138+
139+ <Button
140+ android : id =" @+id/sendCommandsButton"
141+ android : layout_weight =" 0.35"
142+ android : layout_width =" 0dp"
143+ android : layout_height =" @dimen/button_height"
144+ android : text =" @string/send_button_text"
145+ android : layout_marginBottom =" 15dp"
146+ android : layout_marginRight =" 10dp"
147+ android : textColor =" @android:color/white"
148+ android : background =" @drawable/green_and_grey_button_selector"
149+ />
150+
151+ <Button
152+ android : id =" @+id/clearCommandsButton"
153+ android : layout_width =" @dimen/button_height"
154+ android : layout_height =" @dimen/button_height"
155+ android : text =" @string/C_letter"
156+ android : layout_marginBottom =" 15dp"
157+ android : textColor =" @android:color/white"
158+ android : enabled =" false"
159+ android : background =" @drawable/gray_disabled_purple_enabled_selector"
160+ />
161+
162+ </LinearLayout >
163+
164+
165+ <ListView
166+ android : id =" @+id/messagesListView"
167+ android : layout_width =" match_parent"
168+ android : layout_height =" match_parent"
169+ android : divider =" @null"
170+ android : dividerHeight =" 0dp"
171+ android : background =" @drawable/stroke_shape"
172+ android : layout_marginBottom =" 15dp"
173+ android : visibility =" gone"
174+ >
175+ </ListView >
137176
138177
139- <ListView
140- android : id =" @+id/messagesListView"
141- android : layout_width =" match_parent"
142- android : layout_height =" match_parent"
143- android : divider =" @null"
144- android : dividerHeight =" 0dp"
145- android : background =" @drawable/stroke_shape"
146- android : layout_marginBottom =" 15dp"
147- android : visibility =" gone"
148- >
149- </ListView >
150-
178+ </LinearLayout >
151179
152- </LinearLayout >
180+ </FrameLayout >
153181
154182</LinearLayout >
0 commit comments