1
1
<?xml version =" 1.0" encoding =" utf-8" ?>
2
- <androidx .constraintlayout.widget.ConstraintLayout xmlns : android =" http://schemas.android.com/apk/res/android"
2
+ <LinearLayout xmlns : android =" http://schemas.android.com/apk/res/android"
3
3
xmlns : app =" http://schemas.android.com/apk/res-auto"
4
4
xmlns : tools =" http://schemas.android.com/tools"
5
5
android : layout_width =" match_parent"
6
- android : layout_height =" match_parent"
6
+ android : layout_height =" wrap_content"
7
+ android : orientation =" vertical"
7
8
tools : context =" .directory.ui.DirectorySortingBottomSheetFragment" >
8
9
9
10
<TextView
16
17
android : text =" @string/msg_sort_by"
17
18
android : textColor =" #9EA2A8"
18
19
android : textSize =" 17sp"
19
- android : textStyle =" normal"
20
- app : layout_constraintStart_toStartOf =" parent"
21
- app : layout_constraintTop_toTopOf =" parent" />
20
+ android : textStyle =" normal" />
22
21
23
22
<View
24
23
android : id =" @+id/view_divider_one"
25
24
android : layout_width =" match_parent"
26
25
android : layout_height =" 1dp"
27
26
android : layout_marginTop =" 16dp"
28
- android : background =" #1F000000"
29
- app : layout_constraintTop_toBottomOf =" @+id/text_sort_by" />
27
+ android : background =" #1F000000" />
30
28
31
- <TextView
32
- android : id =" @+id/text_channels"
29
+ <androidx .core.widget.NestedScrollView
33
30
android : layout_width =" match_parent"
34
- android : layout_height =" wrap_content"
35
- android : drawableStart =" @drawable/ic_hashtag_16dp"
36
- android : drawablePadding =" 16dp"
37
- android : paddingStart =" 16dp"
38
- android : paddingTop =" 16dp"
39
- android : paddingEnd =" 16dp"
40
- android : paddingBottom =" 16dp"
41
- android : text =" @string/msg_channels"
42
- android : textColor =" #2F343D"
43
- android : textSize =" 16sp"
44
- android : textStyle =" normal"
45
- app : layout_constraintTop_toBottomOf =" @+id/view_divider_one" />
31
+ android : layout_height =" wrap_content" >
46
32
47
- <TextView
48
- android : id =" @+id/text_users"
49
- android : layout_width =" match_parent"
50
- android : layout_height =" wrap_content"
51
- android : drawableStart =" @drawable/ic_user_16dp"
52
- android : drawablePadding =" 16dp"
53
- android : paddingStart =" 16dp"
54
- android : paddingTop =" 16dp"
55
- android : paddingEnd =" 16dp"
56
- android : paddingBottom =" 16dp"
57
- android : text =" @string/msg_users"
58
- android : textColor =" #2F343D"
59
- android : textSize =" 16sp"
60
- android : textStyle =" normal"
61
- app : layout_constraintTop_toBottomOf =" @+id/text_channels" />
33
+ <androidx .constraintlayout.widget.ConstraintLayout
34
+ android : layout_width =" match_parent"
35
+ android : layout_height =" wrap_content" >
62
36
63
- <View
64
- android : id =" @+id/view_divider_two"
65
- android : layout_width =" match_parent"
66
- android : layout_height =" 1dp"
67
- android : layout_marginStart =" 16dp"
68
- android : layout_marginEnd =" 16dp"
69
- android : background =" #1F000000"
70
- app : layout_constraintTop_toBottomOf =" @+id/text_users" />
37
+ <TextView
38
+ android : id =" @+id/text_channels"
39
+ android : layout_width =" match_parent"
40
+ android : layout_height =" wrap_content"
41
+ android : drawableStart =" @drawable/ic_hashtag_16dp"
42
+ android : drawablePadding =" 16dp"
43
+ android : paddingStart =" 16dp"
44
+ android : paddingTop =" 16dp"
45
+ android : paddingEnd =" 16dp"
46
+ android : paddingBottom =" 16dp"
47
+ android : text =" @string/msg_channels"
48
+ android : textColor =" #2F343D"
49
+ android : textSize =" 16sp"
50
+ android : textStyle =" normal"
51
+ app : layout_constraintStart_toStartOf =" parent"
52
+ app : layout_constraintTop_toTopOf =" parent" />
71
53
72
- <TextView
73
- android : id =" @+id/text_search_for_global_users"
74
- android : layout_width =" wrap_content"
75
- android : layout_height =" wrap_content"
76
- android : paddingStart =" 16dp"
77
- android : paddingTop =" 16dp"
78
- android : paddingEnd =" 16dp"
79
- android : text =" @string/msg_search_for_global_users"
80
- android : textColor =" #2F343D"
81
- android : textSize =" 16sp"
82
- android : textStyle =" normal"
83
- app : layout_constraintStart_toStartOf =" parent"
84
- app : layout_constraintTop_toBottomOf =" @+id/view_divider_two" />
54
+ <TextView
55
+ android : id =" @+id/text_users"
56
+ android : layout_width =" match_parent"
57
+ android : layout_height =" wrap_content"
58
+ android : drawableStart =" @drawable/ic_user_16dp"
59
+ android : drawablePadding =" 16dp"
60
+ android : paddingStart =" 16dp"
61
+ android : paddingTop =" 16dp"
62
+ android : paddingEnd =" 16dp"
63
+ android : paddingBottom =" 16dp"
64
+ android : text =" @string/msg_users"
65
+ android : textColor =" #2F343D"
66
+ android : textSize =" 16sp"
67
+ android : textStyle =" normal"
68
+ app : layout_constraintTop_toBottomOf =" @+id/text_channels" />
85
69
86
- <Switch
87
- android : id =" @+id/switch_global_users"
88
- android : layout_width =" wrap_content"
89
- android : layout_height =" wrap_content"
90
- android : layout_marginTop =" 16dp"
91
- android : layout_marginEnd =" 16dp"
92
- android : checked =" false"
93
- app : layout_constraintBottom_toBottomOf =" @+id/text_search_for_global_users"
94
- app : layout_constraintEnd_toEndOf =" parent"
95
- app : layout_constraintTop_toTopOf =" @+id/text_search_for_global_users" />
70
+ <View
71
+ android : id =" @+id/view_divider_two"
72
+ android : layout_width =" match_parent"
73
+ android : layout_height =" 1dp"
74
+ android : layout_marginStart =" 16dp"
75
+ android : layout_marginEnd =" 16dp"
76
+ android : background =" #1F000000"
77
+ app : layout_constraintTop_toBottomOf =" @+id/text_users" />
96
78
97
- <TextView
98
- android : id =" @+id/text_search_for_global_users_description"
99
- android : layout_width =" wrap_content"
100
- android : layout_height =" wrap_content"
101
- android : paddingStart =" 16dp"
102
- android : paddingEnd =" 16dp"
103
- android : paddingBottom =" 16dp"
104
- android : text =" @string/msg_search_for_global_users_description"
105
- android : textColor =" #9EA2A8"
106
- android : textSize =" 14sp"
107
- android : textStyle =" normal"
108
- app : layout_constraintStart_toStartOf =" parent"
109
- app : layout_constraintTop_toBottomOf =" @+id/text_search_for_global_users" />
79
+ <TextView
80
+ android : id =" @+id/text_search_for_global_users"
81
+ android : layout_width =" wrap_content"
82
+ android : layout_height =" wrap_content"
83
+ android : paddingStart =" 16dp"
84
+ android : paddingTop =" 16dp"
85
+ android : paddingEnd =" 16dp"
86
+ android : text =" @string/msg_search_for_global_users"
87
+ android : textColor =" #2F343D"
88
+ android : textSize =" 16sp"
89
+ android : textStyle =" normal"
90
+ app : layout_constraintStart_toStartOf =" parent"
91
+ app : layout_constraintTop_toBottomOf =" @+id/view_divider_two" />
92
+
93
+ <Switch
94
+ android : id =" @+id/switch_global_users"
95
+ android : layout_width =" wrap_content"
96
+ android : layout_height =" wrap_content"
97
+ android : layout_marginTop =" 16dp"
98
+ android : layout_marginEnd =" 16dp"
99
+ android : checked =" false"
100
+ app : layout_constraintBottom_toBottomOf =" @+id/text_search_for_global_users"
101
+ app : layout_constraintEnd_toEndOf =" parent"
102
+ app : layout_constraintTop_toTopOf =" @+id/text_search_for_global_users" />
103
+
104
+ <TextView
105
+ android : id =" @+id/text_search_for_global_users_description"
106
+ android : layout_width =" wrap_content"
107
+ android : layout_height =" wrap_content"
108
+ android : paddingStart =" 16dp"
109
+ android : paddingEnd =" 16dp"
110
+ android : paddingBottom =" 16dp"
111
+ android : text =" @string/msg_search_for_global_users_description"
112
+ android : textColor =" #9EA2A8"
113
+ android : textSize =" 14sp"
114
+ android : textStyle =" normal"
115
+ app : layout_constraintStart_toStartOf =" parent"
116
+ app : layout_constraintTop_toBottomOf =" @+id/text_search_for_global_users" />
117
+
118
+ </androidx .constraintlayout.widget.ConstraintLayout>
119
+
120
+ </androidx .core.widget.NestedScrollView>
110
121
111
- </androidx .constraintlayout.widget.ConstraintLayout >
122
+ </LinearLayout >
0 commit comments