blob: d15a2d2ab632f3d63b86649bc0d42d30509943b6 [file] [log] [blame]
Sreyas1963d3f2020-03-09 18:10:08 -07001<?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-->
Sreyasdbedb912020-05-23 16:02:44 -070017<com.android.quickstep.views.OverviewActionsView xmlns:android="http://schemas.android.com/apk/res/android"
Sunny Goyal01d85412020-04-15 16:36:27 -070018 android:layout_width="match_parent"
19 android:layout_height="@dimen/overview_actions_height"
Sreyas5e190732020-07-06 17:45:59 -070020 android:layout_gravity="center_horizontal|bottom">
Sunny Goyal01d85412020-04-15 16:36:27 -070021
22 <LinearLayout
23 android:id="@+id/action_buttons"
24 android:layout_width="match_parent"
25 android:layout_height="wrap_content"
26 android:layout_gravity="center"
27 android:orientation="horizontal">
Sreyasdbedb912020-05-23 16:02:44 -070028
Sunny Goyal01d85412020-04-15 16:36:27 -070029 <Space
30 android:layout_width="0dp"
31 android:layout_height="1dp"
Sreyasdbedb912020-05-23 16:02:44 -070032 android:layout_weight="1" />
33
Sunny Goyal01d85412020-04-15 16:36:27 -070034 <Button
35 android:id="@+id/action_screenshot"
36 style="@style/OverviewActionButton"
37 android:layout_width="wrap_content"
38 android:layout_height="wrap_content"
Sreyasae237462020-05-28 16:46:44 -070039 android:drawableStart="@drawable/ic_screenshot"
Sreyasdbedb912020-05-23 16:02:44 -070040 android:text="@string/action_screenshot"
41 android:theme="@style/ThemeControlHighlightWorkspaceColor" />
42
Sunny Goyal01d85412020-04-15 16:36:27 -070043 <Space
44 android:layout_width="0dp"
45 android:layout_height="1dp"
Sreyasdbedb912020-05-23 16:02:44 -070046 android:layout_weight="1" />
Sunny Goyal01d85412020-04-15 16:36:27 -070047
48 <Button
49 android:id="@+id/action_share"
50 style="@style/OverviewActionButton"
51 android:layout_width="wrap_content"
52 android:layout_height="wrap_content"
Sreyasae237462020-05-28 16:46:44 -070053 android:drawableStart="@drawable/ic_share"
Sreyasdbedb912020-05-23 16:02:44 -070054 android:text="@string/action_share"
55 android:theme="@style/ThemeControlHighlightWorkspaceColor"
56 android:visibility="gone" />
57
Sunny Goyal01d85412020-04-15 16:36:27 -070058 <Space
Sreyas46aba2a2020-09-09 16:36:35 -070059 android:id="@+id/oav_three_button_space"
Sunny Goyal01d85412020-04-15 16:36:27 -070060 android:layout_width="0dp"
61 android:layout_height="1dp"
Sreyasdbedb912020-05-23 16:02:44 -070062 android:layout_weight="1"
63 android:visibility="gone" />
Sunny Goyal01d85412020-04-15 16:36:27 -070064 </LinearLayout>
Sreyas1963d3f2020-03-09 18:10:08 -070065
66</com.android.quickstep.views.OverviewActionsView>