2020-03-09 18:10:08 -07:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
|
<!--
|
|
|
|
|
Copyright (C) 2020 The Android Open Source Project
|
|
|
|
|
|
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
|
you may not use this file except in compliance with the License.
|
|
|
|
|
You may obtain a copy of the License at
|
|
|
|
|
|
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
|
|
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
|
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
|
See the License for the specific language governing permissions and
|
|
|
|
|
limitations under the License.
|
|
|
|
|
-->
|
2025-04-02 11:59:25 -07:00
|
|
|
<com.android.quickstep.views.OverviewActionsView
|
|
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
2020-04-15 16:36:27 -07:00
|
|
|
android:layout_width="match_parent"
|
2021-07-22 17:27:11 +01:00
|
|
|
android:layout_height="wrap_content"
|
2025-04-02 11:59:25 -07:00
|
|
|
android:layout_gravity="center_horizontal|bottom"
|
2025-05-15 13:28:31 -07:00
|
|
|
android:theme="?attr/overviewActionsContainerStyle"
|
2025-04-02 11:59:25 -07:00
|
|
|
tools:ignore="ButtonStyle">
|
2020-04-15 16:36:27 -07:00
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:id="@+id/action_buttons"
|
2024-04-03 13:41:20 +00:00
|
|
|
android:layout_width="wrap_content"
|
2023-08-07 16:02:23 -07:00
|
|
|
android:layout_height="@dimen/overview_actions_height"
|
2024-04-03 13:41:20 +00:00
|
|
|
android:layout_gravity="bottom|center_horizontal"
|
2020-04-15 16:36:27 -07:00
|
|
|
android:orientation="horizontal">
|
2020-05-23 16:02:44 -07:00
|
|
|
|
2023-12-07 13:54:36 +00:00
|
|
|
<Button
|
2020-04-15 16:36:27 -07:00
|
|
|
android:id="@+id/action_screenshot"
|
2023-08-07 16:02:23 -07:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:drawableStart="@drawable/ic_screenshot"
|
2025-04-02 11:59:25 -07:00
|
|
|
android:text="@string/action_screenshot" />
|
2020-05-23 16:02:44 -07:00
|
|
|
|
2023-12-07 13:54:36 +00:00
|
|
|
<Button
|
2021-08-16 14:53:59 -07:00
|
|
|
android:id="@+id/action_split"
|
2023-08-07 16:02:23 -07:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
2024-04-03 13:41:20 +00:00
|
|
|
android:layout_marginStart="@dimen/overview_actions_button_spacing"
|
2023-08-07 16:02:23 -07:00
|
|
|
android:text="@string/action_split"
|
2021-08-16 14:53:59 -07:00
|
|
|
android:visibility="gone" />
|
|
|
|
|
|
2024-04-29 18:59:37 -07:00
|
|
|
</LinearLayout>
|
|
|
|
|
|
2024-05-24 16:48:14 -07:00
|
|
|
<!-- Currently, the only "group action button" is this save app pair button. If more are added,
|
|
|
|
|
a new LinearLayout may be needed to contain them, but beware of increased memory usage. -->
|
|
|
|
|
<Button
|
|
|
|
|
android:id="@+id/action_save_app_pair"
|
2024-04-29 18:59:37 -07:00
|
|
|
android:layout_width="wrap_content"
|
2024-05-24 16:48:14 -07:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:text="@string/action_save_app_pair"
|
2024-04-29 18:59:37 -07:00
|
|
|
android:layout_gravity="bottom|center_horizontal"
|
2024-05-24 16:48:14 -07:00
|
|
|
android:visibility="gone" />
|
2020-03-09 18:10:08 -07:00
|
|
|
|
|
|
|
|
</com.android.quickstep.views.OverviewActionsView>
|