1<?xml version="1.0" encoding="utf-8"?>
2<!--
3     Copyright (C) 2020 The Android Open Source Project
4
5     Licensed under the Apache License, Version 2.0 (the "License");
6     you may not use this file except in compliance with the License.
7     You may obtain a copy of the License at
8
9          http://www.apache.org/licenses/LICENSE-2.0
10
11     Unless required by applicable law or agreed to in writing, software
12     distributed under the License is distributed on an "AS IS" BASIS,
13     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14     See the License for the specific language governing permissions and
15     limitations under the License.
16-->
17<com.android.quickstep.views.OverviewActionsView xmlns:android="http://schemas.android.com/apk/res/android"
18    android:layout_width="match_parent"
19    android:layout_height="@dimen/overview_actions_height"
20    android:layout_gravity="center_horizontal|bottom"
21    android:layout_marginLeft="@dimen/overview_actions_horizontal_margin"
22    android:layout_marginRight="@dimen/overview_actions_horizontal_margin">
23
24    <LinearLayout
25        android:id="@+id/action_buttons"
26        android:layout_width="match_parent"
27        android:layout_height="wrap_content"
28        android:layout_gravity="center"
29        android:orientation="horizontal">
30
31        <Space
32            android:layout_width="0dp"
33            android:layout_height="1dp"
34            android:layout_weight="1" />
35
36        <Button
37            android:id="@+id/action_screenshot"
38            style="@style/OverviewActionButton"
39            android:layout_width="wrap_content"
40            android:layout_height="wrap_content"
41            android:drawableStart="@drawable/ic_screenshot"
42            android:text="@string/action_screenshot"
43            android:theme="@style/ThemeControlHighlightWorkspaceColor" />
44
45        <Space
46            android:layout_width="0dp"
47            android:layout_height="1dp"
48            android:layout_weight="1" />
49
50        <Button
51            android:id="@+id/action_share"
52            style="@style/OverviewActionButton"
53            android:layout_width="wrap_content"
54            android:layout_height="wrap_content"
55            android:drawableStart="@drawable/ic_share"
56            android:text="@string/action_share"
57            android:theme="@style/ThemeControlHighlightWorkspaceColor"
58            android:visibility="gone" />
59
60        <Space
61            android:id="@+id/share_space"
62            android:layout_width="0dp"
63            android:layout_height="1dp"
64            android:layout_weight="1"
65            android:visibility="gone" />
66    </LinearLayout>
67
68</com.android.quickstep.views.OverviewActionsView>