blob: 68680d3f38c7676da905eab6cc385e700add2420 [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-->
Alex Chaudfde4d92021-03-19 14:47:03 +000017<!-- NOTE! don't add dimensions for margins / gravity to root view in this file, they need to be
18 loaded at runtime. -->
Sreyasdbedb912020-05-23 16:02:44 -070019<com.android.quickstep.views.OverviewActionsView xmlns:android="http://schemas.android.com/apk/res/android"
Sunny Goyal01d85412020-04-15 16:36:27 -070020 android:layout_width="match_parent"
Alex Chaudfde4d92021-03-19 14:47:03 +000021 android:layout_height="wrap_content">
Sunny Goyal01d85412020-04-15 16:36:27 -070022
23 <LinearLayout
24 android:id="@+id/action_buttons"
25 android:layout_width="match_parent"
Sreyas8dbf38e2021-03-17 14:33:30 -070026 android:layout_height="@dimen/overview_actions_height"
27 android:layout_gravity="bottom|center_horizontal"
Sunny Goyal01d85412020-04-15 16:36:27 -070028 android:orientation="horizontal">
Sreyasdbedb912020-05-23 16:02:44 -070029
Sunny Goyal01d85412020-04-15 16:36:27 -070030 <Space
31 android:layout_width="0dp"
32 android:layout_height="1dp"
Sreyasdbedb912020-05-23 16:02:44 -070033 android:layout_weight="1" />
34
Sunny Goyal01d85412020-04-15 16:36:27 -070035 <Button
36 android:id="@+id/action_screenshot"
37 style="@style/OverviewActionButton"
38 android:layout_width="wrap_content"
39 android:layout_height="wrap_content"
Sreyasae237462020-05-28 16:46:44 -070040 android:drawableStart="@drawable/ic_screenshot"
Sreyasdbedb912020-05-23 16:02:44 -070041 android:text="@string/action_screenshot"
mtk2043702fc23c2020-10-12 21:07:56 +053042 android:theme="@style/ThemeControlHighlightWorkspaceColor"
43 android:visibility="gone" />
Sreyasdbedb912020-05-23 16:02:44 -070044
Sunny Goyal01d85412020-04-15 16:36:27 -070045 <Space
46 android:layout_width="0dp"
47 android:layout_height="1dp"
Sreyasdbedb912020-05-23 16:02:44 -070048 android:layout_weight="1" />
Sunny Goyal01d85412020-04-15 16:36:27 -070049
50 <Button
51 android:id="@+id/action_share"
52 style="@style/OverviewActionButton"
53 android:layout_width="wrap_content"
54 android:layout_height="wrap_content"
Sreyasae237462020-05-28 16:46:44 -070055 android:drawableStart="@drawable/ic_share"
Sreyasdbedb912020-05-23 16:02:44 -070056 android:text="@string/action_share"
57 android:theme="@style/ThemeControlHighlightWorkspaceColor"
58 android:visibility="gone" />
59
Sunny Goyal01d85412020-04-15 16:36:27 -070060 <Space
Sreyas46aba2a2020-09-09 16:36:35 -070061 android:id="@+id/oav_three_button_space"
Sunny Goyal01d85412020-04-15 16:36:27 -070062 android:layout_width="0dp"
63 android:layout_height="1dp"
Sreyasdbedb912020-05-23 16:02:44 -070064 android:layout_weight="1"
65 android:visibility="gone" />
Sunny Goyal01d85412020-04-15 16:36:27 -070066 </LinearLayout>
Sreyas1963d3f2020-03-09 18:10:08 -070067
68</com.android.quickstep.views.OverviewActionsView>