66 android : paddingTop =" 16sp"
77 android : id =" @+id/whatever" >
88
9- <android .support.design.widget.FloatingActionButton
10- android : id =" @+id/inspectToggleButton"
11- android : layout_width =" wrap_content"
12- android : layout_height =" wrap_content"
13- android : padding =" 20dp"
14- android : src =" @drawable/ic_play_arrow_24dp"
15- android : checked =" false"
16- android : translationZ =" 8dp"
17- android : layout_alignParentBottom =" true"
18- android : layout_alignParentRight =" true"
19- android : layout_margin =" 20dp"
20- android : focusableInTouchMode =" true" />
21-
229 <ProgressBar
2310 android : id =" @+id/inspectActivity"
2411 android : layout_width =" wrap_content"
156143 android : gravity =" center_vertical"
157144 />
158145 </ScrollView >
146+
147+ <!--
148+ Later children in a RelativeLayout tend to float over earlier children in a RelativeLayout.
149+ https://www.stackoverflow.com/a/28651543
150+ -->
151+ <android .support.design.widget.FloatingActionButton
152+ android : id =" @+id/inspectToggleButton"
153+ android : layout_width =" wrap_content"
154+ android : layout_height =" wrap_content"
155+ android : padding =" 20dp"
156+ android : src =" @drawable/ic_play_arrow_24dp"
157+ android : checked =" false"
158+ android : translationZ =" 8dp"
159+ android : layout_alignParentBottom =" true"
160+ android : layout_alignParentRight =" true"
161+ android : layout_margin =" 20dp"
162+ android : focusableInTouchMode =" true" />
159163</RelativeLayout >
0 commit comments