From 65abd2bbb4a371d38ab6c67e8061f700795f877a Mon Sep 17 00:00:00 2001 From: Anderson Mesquita Date: Sat, 11 May 2019 14:16:44 -0400 Subject: Prevent actionbar items from moving when searching Previously, when the user clicked the search button, the context menu would be hidden and the refresh button would move way too close to the edge of the screen. This makes sure that when a user clicks the search button on the episodes screen, the remaining actionbar items (refresh and context menu) stay where they are. --- app/src/main/res/menu/episodes.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app/src/main/res/menu/episodes.xml') diff --git a/app/src/main/res/menu/episodes.xml b/app/src/main/res/menu/episodes.xml index bbaabcd8b..e21aac04e 100644 --- a/app/src/main/res/menu/episodes.xml +++ b/app/src/main/res/menu/episodes.xml @@ -6,7 +6,7 @@ @@ -14,7 +14,7 @@ android:id="@+id/refresh_item" android:title="@string/refresh_label" android:menuCategory="container" - custom:showAsAction="always" + custom:showAsAction="ifRoom" android:icon="?attr/navigation_refresh"/>