From 1aa870b069f242a2c5a72b67bd557631d4a26ef5 Mon Sep 17 00:00:00 2001 From: Conny Duck Date: Thu, 27 Apr 2017 14:47:56 +0200 Subject: [PATCH] make tabs fill whole space in landscape mode --- app/src/main/res/layout/activity_main.xml | 41 ++++++++++++----------- 1 file changed, 21 insertions(+), 20 deletions(-) diff --git a/app/src/main/res/layout/activity_main.xml b/app/src/main/res/layout/activity_main.xml index 5da1b06e4..ec98ae770 100644 --- a/app/src/main/res/layout/activity_main.xml +++ b/app/src/main/res/layout/activity_main.xml @@ -1,8 +1,7 @@ - + app:tabTextAppearance="@style/TabLayoutTextStyle"> + app:floatingSearch_searchBarMarginLeft="6dp" + app:floatingSearch_searchBarMarginRight="6dp" + app:floatingSearch_searchBarMarginTop="4dp" + app:floatingSearch_searchHint="@string/search" + app:floatingSearch_showSearchKey="false" + app:floatingSearch_suggestionsListAnimDuration="250" /> + android:visibility="visible" + app:layout_anchor="@id/tab_layout" + app:layout_anchorGravity="bottom" /> + app:srcCompat="@drawable/ic_create_24dp" />