6
6
android : layout_height =" match_parent"
7
7
tools : context =" .MainActivity" >
8
8
9
- <LinearLayout
10
- android : id =" @+id/linearLayout"
9
+ <ScrollView
11
10
android : layout_width =" match_parent"
12
11
android : layout_height =" match_parent"
13
- android : layout_marginStart =" 8dp"
14
- android : layout_marginLeft =" 8dp"
15
- android : layout_marginTop =" 24dp"
16
- android : layout_marginEnd =" 8dp"
17
- android : layout_marginRight =" 8dp"
18
- android : layout_marginBottom =" 16dp"
19
- android : orientation =" vertical"
20
- app : layout_constraintBottom_toBottomOf =" parent"
21
- app : layout_constraintEnd_toEndOf =" parent"
22
- app : layout_constraintStart_toStartOf =" parent"
23
- app : layout_constraintTop_toTopOf =" parent" >
12
+ tools : layout_editor_absoluteX =" 8dp"
13
+ tools : layout_editor_absoluteY =" 24dp" >
24
14
25
- <Button
26
- android : id =" @+id/button"
27
- android : layout_width =" wrap_content"
28
- android : layout_height =" wrap_content"
29
- android : layout_marginStart =" 16dp"
30
- android : layout_marginLeft =" 16dp"
31
- android : layout_marginTop =" 16dp"
32
- android : layout_marginEnd =" 274dp"
33
- android : layout_marginRight =" 274dp"
34
- android : text =" sign APK"
35
- app : layout_constraintBottom_toTopOf =" @+id/sample_text"
36
- app : layout_constraintEnd_toEndOf =" parent"
37
- app : layout_constraintStart_toStartOf =" parent"
38
- app : layout_constraintTop_toTopOf =" parent" />
39
-
40
- <EditText
41
- android : id =" @+id/passwd"
15
+ <LinearLayout
42
16
android : layout_width =" match_parent"
43
17
android : layout_height =" wrap_content"
44
- android : ems =" 10"
45
- android : inputType =" text"
46
- android : text =" 12345678" />
18
+ android : orientation =" vertical" >
47
19
48
- <TextView
49
- android : id =" @+id/sample_text"
50
- android : layout_width =" wrap_content"
51
- android : layout_height =" wrap_content"
52
- android : text =" Hello World!" />
20
+ <Button
21
+ android : id =" @+id/button"
22
+ android : layout_width =" 130dp"
23
+ android : layout_height =" 68dp"
24
+ android : layout_marginStart =" 16dp"
25
+ android : layout_marginLeft =" 16dp"
26
+ android : layout_marginTop =" 16dp"
27
+ android : layout_marginEnd =" 16dp"
28
+ android : layout_marginRight =" 16dp"
29
+ android : text =" sign APK"
30
+ app : layout_constraintBottom_toTopOf =" @+id/sample_text"
31
+ app : layout_constraintEnd_toEndOf =" parent"
32
+ app : layout_constraintStart_toStartOf =" parent"
33
+ app : layout_constraintTop_toTopOf =" parent" />
53
34
54
- <RadioGroup
55
- android : id =" @+id/radio"
56
- android : layout_width =" match_parent"
57
- android : layout_height =" match_parent" />
35
+ <EditText
36
+ android : id =" @+id/passwd"
37
+ android : layout_width =" match_parent"
38
+ android : layout_height =" wrap_content"
39
+ android : ems =" 10"
40
+ android : inputType =" text"
41
+ android : text =" @string/the_password" />
42
+
43
+ <TextView
44
+ android : id =" @+id/sample_text"
45
+ android : layout_width =" match_parent"
46
+ android : layout_height =" wrap_content"
47
+ android : layout_margin =" 2dp"
48
+ android : text =" @string/hello_world" />
58
49
59
- </LinearLayout >
50
+ <RadioGroup
51
+ android : id =" @+id/radio"
52
+ android : layout_width =" match_parent"
53
+ android : layout_height =" match_parent"
54
+ android : isScrollContainer =" true"
55
+ android : scrollbarAlwaysDrawVerticalTrack =" true"
56
+ android : scrollbarStyle =" insideInset"
57
+ android : scrollbars =" vertical"
58
+ android : verticalScrollbarPosition =" defaultPosition" />
59
+ </LinearLayout >
60
+ </ScrollView >
60
61
61
62
</androidx .constraintlayout.widget.ConstraintLayout>
0 commit comments