11
11
~ limitations under the License.
12
12
-->
13
13
14
- <androidx .appcompat.widget.LinearLayoutCompat
14
+ <ScrollView
15
15
xmlns : android =" http://schemas.android.com/apk/res/android"
16
16
xmlns : app =" http://schemas.android.com/apk/res-auto"
17
17
xmlns : tools =" http://schemas.android.com/tools"
18
18
android : layout_width =" match_parent"
19
- android : layout_height =" match_parent"
20
- android : orientation =" vertical"
19
+ android : layout_height =" wrap_content"
21
20
app : layout_behavior =" @string/appbar_scrolling_view_behavior"
22
21
tools : context =" .MainActivity"
23
22
tools : showIn =" @layout/activity_main" >
24
- <ScrollView
23
+ <androidx .appcompat.widget.LinearLayoutCompat
25
24
android : layout_width =" match_parent"
26
- android : layout_height =" wrap_content" >
25
+ android : layout_height =" wrap_content"
26
+ android : orientation =" vertical" >
27
27
<TextView
28
28
android : id =" @+id/complex_values_textview"
29
29
android : layout_width =" wrap_content"
30
30
android : layout_height =" wrap_content"
31
31
android : text =" Hello World!"
32
- />
33
- </ScrollView >
34
-
35
- <Button
36
- android : id =" @+id/clear_button"
37
- android : layout_width =" match_parent"
38
- android : layout_height =" 30dp"
39
- android : text =" Clear" />
40
-
41
- </androidx .appcompat.widget.LinearLayoutCompat>
32
+ />
33
+ <Button
34
+ android : id =" @+id/clear_button"
35
+ android : layout_width =" match_parent"
36
+ android : layout_height =" wrap_content"
37
+ android : text =" Clear" />
38
+ </androidx .appcompat.widget.LinearLayoutCompat>
39
+ </ScrollView >
0 commit comments