From 158994247959a5a4226279f6fc35f24b85f8e482 Mon Sep 17 00:00:00 2001 From: mcarare Date: Wed, 30 Sep 2020 15:36:31 +0300 Subject: [PATCH] [fenix] For https://github.com/mozilla-mobile/fenix/issues/15559: Allow tabs to stretch in landscape mode for tablets. This overrides the default tabMaxWidth of 264dp to allow for tabGravity="fill". --- app/src/main/res/layout/component_tabstray.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/res/layout/component_tabstray.xml b/app/src/main/res/layout/component_tabstray.xml index baeb902976..eaf5d2e8a1 100644 --- a/app/src/main/res/layout/component_tabstray.xml +++ b/app/src/main/res/layout/component_tabstray.xml @@ -112,6 +112,7 @@ android:id="@+id/tab_layout" android:layout_width="0dp" android:layout_height="80dp" + app:tabMaxWidth="0dp" android:background="@color/foundation_normal_theme" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent"