From ce4773230ab31e84b10b53793331ec6575ce553d Mon Sep 17 00:00:00 2001 From: Alex Ning Date: Fri, 22 Feb 2019 17:26:50 +0800 Subject: Change SearchView style in MainActivity. Solve tab layout covering fragments in viewpager in SearchActivity. --- app/src/main/res/layout/activity_search.xml | 1 + 1 file changed, 1 insertion(+) (limited to 'app/src/main/res/layout/activity_search.xml') diff --git a/app/src/main/res/layout/activity_search.xml b/app/src/main/res/layout/activity_search.xml index bd440eac..8d080b46 100644 --- a/app/src/main/res/layout/activity_search.xml +++ b/app/src/main/res/layout/activity_search.xml @@ -38,6 +38,7 @@ android:id="@+id/view_pager_search_activity" android:layout_width="match_parent" android:layout_height="match_parent" + app:layout_behavior="@string/appbar_scrolling_view_behavior" tools:context=".SearchActivity" /> \ No newline at end of file -- cgit v1.2.3