diff --git a/packages/SystemUI/res/layout/pip_menu_action.xml b/packages/SystemUI/res/layout/pip_menu_action.xml index 9150a000de004..3ad35460d8b9e 100644 --- a/packages/SystemUI/res/layout/pip_menu_action.xml +++ b/packages/SystemUI/res/layout/pip_menu_action.xml @@ -13,10 +13,10 @@ See the License for the specific language governing permissions and limitations under the License. --> - \ No newline at end of file + android:forceHasOverlappingRendering="false" /> diff --git a/packages/SystemUI/res/layout/pip_menu_activity.xml b/packages/SystemUI/res/layout/pip_menu_activity.xml index 03d587bd447cc..0481310cf7731 100644 --- a/packages/SystemUI/res/layout/pip_menu_activity.xml +++ b/packages/SystemUI/res/layout/pip_menu_activity.xml @@ -32,7 +32,7 @@ android:id="@+id/expand_container" android:layout_width="match_parent" android:layout_height="match_parent"> - - - stackBounds.height()); for (int i = 0; i < mActions.size(); i++) { final RemoteAction action = mActions.get(i); - final ImageView actionView = (ImageView) mActionsGroup.getChildAt(i); + final ImageButton actionView = (ImageButton) mActionsGroup.getChildAt(i); // TODO: Check if the action drawable has changed before we reload it action.getIcon().loadDrawableAsync(this, d -> {