Fixes OverviewActionsView height sizing.

By fixing the action buttons container height and allowing wrap content on overviewActionsView all views have enough room to be displayed and actions button container height can be calculated.
Bug: 182854439
Test: Manual

Change-Id: I34516ba42430d8fe6774e10215dd8ac1127920c8
This commit is contained in:
Sreyas 2021-03-17 14:33:30 -07:00
parent 1e024358ad
commit 8dbf38e30f
2 changed files with 6 additions and 6 deletions

View File

@ -17,14 +17,14 @@
<com.android.quickstep.views.GoOverviewActionsView <com.android.quickstep.views.GoOverviewActionsView
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="@dimen/overview_actions_height" android:layout_height="wrap_content"
android:layout_gravity="center_horizontal|bottom"> android:layout_gravity="center_horizontal|bottom">
<LinearLayout <LinearLayout
android:id="@+id/action_buttons" android:id="@+id/action_buttons"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="@dimen/overview_actions_height"
android:layout_gravity="center" android:layout_gravity="bottom|center_horizontal"
android:orientation="horizontal"> android:orientation="horizontal">
<Space <Space

View File

@ -16,14 +16,14 @@
--> -->
<com.android.quickstep.views.OverviewActionsView xmlns:android="http://schemas.android.com/apk/res/android" <com.android.quickstep.views.OverviewActionsView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="@dimen/overview_actions_height" android:layout_height="wrap_content"
android:layout_gravity="center_horizontal|bottom"> android:layout_gravity="center_horizontal|bottom">
<LinearLayout <LinearLayout
android:id="@+id/action_buttons" android:id="@+id/action_buttons"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="@dimen/overview_actions_height"
android:layout_gravity="center" android:layout_gravity="bottom|center_horizontal"
android:orientation="horizontal"> android:orientation="horizontal">
<Space <Space