Migrate SearchResultsActivity to fragment
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
This commit is contained in:
@@ -19,9 +19,11 @@
|
||||
|
||||
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:id="@+id/coordinator"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
android:layout_height="match_parent"
|
||||
tools:context=".view.ui.search.SearchResultsFragment">
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
|
||||
@@ -79,5 +79,18 @@
|
||||
android:id="@+id/searchSuggestionFragment"
|
||||
android:name="com.aurora.store.view.ui.search.SearchSuggestionFragment"
|
||||
android:label="@string/title_search_suggestion"
|
||||
tools:layout="@layout/fragment_search_suggestion" />
|
||||
tools:layout="@layout/fragment_search_suggestion">
|
||||
<action
|
||||
android:id="@+id/action_searchSuggestionFragment_to_searchResultsFragment"
|
||||
app:destination="@id/searchResultsFragment" />
|
||||
</fragment>
|
||||
<fragment
|
||||
android:id="@+id/searchResultsFragment"
|
||||
android:name="com.aurora.store.view.ui.search.SearchResultsFragment"
|
||||
android:label="@string/title_search_results"
|
||||
tools:layout="@layout/fragment_search_result">
|
||||
<argument
|
||||
android:name="query"
|
||||
app:argType="string" />
|
||||
</fragment>
|
||||
</navigation>
|
||||
@@ -306,6 +306,7 @@
|
||||
<string name="title_settings">"Settings"</string>
|
||||
<string name="title_spoof_manager">"Spoof manager"</string>
|
||||
<string name="title_search_suggestion">"Search suggestion"</string>
|
||||
<string name="title_search_results">"Search results"</string>
|
||||
<string name="title_updates">"Updates"</string>
|
||||
<string name="title_advanced">"Advanced"</string>
|
||||
<string name="title_manual_download">"Manual download"</string>
|
||||
|
||||
Reference in New Issue
Block a user