From de28038e64585ac9fc06c528e974264f29d95543 Mon Sep 17 00:00:00 2001 From: Jon Spivack Date: Tue, 13 Jul 2021 13:54:02 -0700 Subject: [PATCH] NIU Actions: Hide button captions when feature is disabled Previously, only the buttons themselves were hidden when the feature was flagged off at build time. This adds the rest of the relevant layout UI (captions, spaces) to that logic. Bug: 192692326 Test: Manual (Pixel 3A, enable_niu_actions on and off) Change-Id: Ic58d9891887e3e0eb10d38af80b73f04cf66ea79 --- go/quickstep/res/layout/overview_actions_container.xml | 5 +++++ .../android/quickstep/views/GoOverviewActionsView.java | 10 ++++++---- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/go/quickstep/res/layout/overview_actions_container.xml b/go/quickstep/res/layout/overview_actions_container.xml index e7da196fad..0e718ca08d 100644 --- a/go/quickstep/res/layout/overview_actions_container.xml +++ b/go/quickstep/res/layout/overview_actions_container.xml @@ -34,6 +34,7 @@ android:layout_weight="1" />