Merge "Address jank and memory issues with OverviewActionsView" into main

This commit is contained in:
Alex Chau
2024-05-29 09:36:37 +00:00
committed by Android (Google) Code Review
6 changed files with 33 additions and 71 deletions

View File

@@ -124,23 +124,15 @@
</LinearLayout>
<!-- Unused. Included only for compatibility with parent class. -->
<LinearLayout
android:id="@+id/group_action_buttons"
android:layout_width="match_parent"
android:layout_height="@dimen/overview_actions_height"
<Button
android:id="@+id/action_save_app_pair"
style="@style/GoOverviewActionButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="top|center_horizontal"
android:orientation="horizontal"
android:visibility="gone">
<Button
android:id="@+id/action_save_app_pair"
style="@style/GoOverviewActionButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:drawableStart="@drawable/ic_save_app_pair_up_down"
android:text="@string/action_save_app_pair"
android:theme="@style/ThemeControlHighlightWorkspaceColor" />
</LinearLayout>
android:drawableStart="@drawable/ic_save_app_pair_up_down"
android:text="@string/action_save_app_pair"
android:theme="@style/ThemeControlHighlightWorkspaceColor"
android:visibility="gone" />
</com.android.quickstep.views.GoOverviewActionsView>