11<?xml version =" 1.0" encoding =" utf-8" ?>
22<LinearLayout xmlns : android =" http://schemas.android.com/apk/res/android"
3- xmlns : app =" http://schemas.android.com/apk/res-auto"
4- style = " @style/DarkFragment "
3+ xmlns : app =" http://schemas.android.com/apk/res-auto"
4+ xmlns : tools = " http://schemas.android.com/tools "
55
6- xmlns : tools = " http://schemas.android.com/tools "
7- android : id =" @+id/quick_search_root "
8- android : background = " ?attr/primaryGrayBackground "
9- android : layout_width =" match_parent"
10- android : layout_height = " match_parent "
11- android : orientation =" vertical" >
6+ android : id = " @+id/quick_search_root "
7+ style =" @style/DarkFragment "
8+ android : layout_width = " match_parent "
9+ android : layout_height =" match_parent"
10+ android : background = " ?attr/primaryGrayBackground "
11+ android : orientation =" vertical" >
1212
1313 <LinearLayout
14- android : visibility = " visible "
15- android : layout_margin = " 10dp "
16- android : layout_width = " match_parent "
17- android : layout_height = " wrap_content " >
14+ android : layout_width = " match_parent "
15+ android : layout_height = " wrap_content "
16+ android : layout_margin = " 10dp "
17+ android : visibility = " visible " >
1818
1919 <ImageView
2020 android : id =" @+id/quick_search_back"
21+ android : layout_width =" 25dp"
22+ android : layout_height =" wrap_content"
2123 android : layout_gravity =" center"
22- android : foregroundGravity =" center"
2324 android : background =" ?android:attr/selectableItemBackgroundBorderless"
25+ android : foregroundGravity =" center"
2426 android : src =" @drawable/ic_baseline_arrow_back_24"
25- app : tint =" @android:color/white"
2627 android : visibility =" gone"
27- android : layout_width =" 25dp"
28- android : layout_height =" wrap_content"
29- tools : visibility =" visible" >
30- </ImageView >
28+ app : tint =" ?attr/white"
29+ tools : visibility =" visible" />
3130
3231 <FrameLayout
33- android : layout_marginStart = " 10dp "
34- android : background = " @drawable/search_background "
35- android : layout_gravity =" center_vertical"
36- android : layout_width = " match_parent "
37- android : layout_height = " 40dp " >
32+ android : layout_width = " match_parent "
33+ android : layout_height = " 40dp "
34+ android : layout_gravity =" center_vertical"
35+ android : layout_marginStart = " 10dp "
36+ android : background = " @drawable/search_background " >
3837
3938 <androidx .appcompat.widget.SearchView
40- android : nextFocusRight =" @id/search_filter "
41- android : nextFocusLeft = " @id/search_filter "
42- android : nextFocusDown = " @id/search_autofit_results "
39+ android : id =" @+ id/quick_search "
40+ android : layout_width = " match_parent "
41+ android : layout_height = " match_parent "
4342
44- android : imeOptions = " actionSearch "
45- android : inputType = " text "
43+ android : layout_gravity = " center_vertical "
44+ android : iconifiedByDefault = " false "
4645
47- android : id = " @+id/quick_search "
48- app : queryBackground = " @color/transparent "
46+ android : imeOptions = " actionSearch "
47+ android : inputType = " text "
4948
50- app : searchIcon =" @drawable/search_icon "
51- app : closeIcon =" @drawable/ic_baseline_close_24 "
49+ android : nextFocusLeft =" @id/search_filter "
50+ android : nextFocusRight =" @id/search_filter "
5251
53- android : paddingStart = " -10dp "
54- android : iconifiedByDefault = " false "
55- app : queryHint =" @string/search_hint "
56- android : layout_width = " match_parent "
57- android : layout_height = " match_parent "
58- android : layout_gravity = " center_vertical "
59- app : iconifiedByDefault = " false "
60- tools : ignore =" RtlSymmetry" >
52+ android : nextFocusDown = " @id/search_autofit_results "
53+ android : paddingStart = " -10dp "
54+ app : closeIcon =" @drawable/ic_baseline_close_24 "
55+ app : iconifiedByDefault = " false "
56+ app : queryBackground = " @color/transparent "
57+ app : queryHint = " @string/search_hint "
58+ app : searchIcon = " @drawable/search_icon "
59+ tools : ignore =" RtlSymmetry" >
6160
6261 <androidx .core.widget.ContentLoadingProgressBar
63- android : id =" @+id/quick_search_loading_bar"
64- android : layout_width = " 20dp "
65- android : layout_height =" 20dp"
66- android : layout_marginStart = " -35dp "
67- style = " @style/Widget.AppCompat.ProgressBar "
68- android : foregroundTint = " @color/white "
69- android : progressTint =" @color/white"
70- android : layout_gravity = " center " >
62+ android : id =" @+id/quick_search_loading_bar"
63+ style = " @style/Widget.AppCompat.ProgressBar "
64+ android : layout_width =" 20dp"
65+ android : layout_height = " 20dp "
66+ android : layout_gravity = " center "
67+ android : layout_marginStart = " -35dp "
68+ android : foregroundTint =" @color/white"
69+ android : progressTint = " @color/white " >
7170
7271 </androidx .core.widget.ContentLoadingProgressBar>
7372 <!-- app:queryHint="@string/search_hint"
7978 </LinearLayout >
8079
8180 <androidx .recyclerview.widget.RecyclerView
82- android : descendantFocusability = " afterDescendants "
81+ android : id = " @+id/quick_search_master_recycler "
8382
84- android : background = " ?attr/primaryBlackBackground "
85- android : id = " @+id/quick_search_master_recycler "
86- android : layout_width = " match_parent "
87- android : layout_height = " match_parent "
88- tools : listitem =" @layout/homepage_parent" />
83+ android : layout_width = " match_parent "
84+ android : layout_height = " match_parent "
85+ android : background = " ?attr/primaryBlackBackground "
86+ android : descendantFocusability = " afterDescendants "
87+ tools : listitem =" @layout/homepage_parent" />
8988
9089 <com .lagradost.cloudstream3.ui.AutofitRecyclerView
91- android : visibility = " gone "
92- android : nextFocusLeft = " @id/nav_rail_view "
93- android : descendantFocusability = " afterDescendants "
90+ android : id = " @+id/quick_search_autofit_results "
91+ android : layout_width = " match_parent "
92+ android : layout_height = " match_parent "
9493
95- android : background =" ?attr/primaryBlackBackground"
96- android : layout_width = " match_parent "
97- android : layout_height = " match_parent "
98- android : clipToPadding = " false "
99- android : paddingStart = " 8dp "
100- android : paddingTop = " 5dp "
101- app : spanCount = " 3 "
102- android : paddingEnd =" 8dp"
103- android : id = " @+id/quick_search_autofit_results "
104- tools : listitem = " @layout/search_result_grid "
105- android : orientation = " vertical " />
94+ android : background =" ?attr/primaryBlackBackground"
95+ android : clipToPadding = " false "
96+ android : descendantFocusability = " afterDescendants "
97+ android : nextFocusLeft = " @id/nav_rail_view "
98+ android : orientation = " vertical "
99+ android : paddingStart = " 8dp "
100+ android : paddingTop = " 5dp "
101+ android : paddingEnd =" 8dp"
102+ android : visibility = " gone "
103+ app : spanCount = " 3 "
104+ tools : listitem = " @layout/search_result_grid " />
106105</LinearLayout >
0 commit comments