blob: e163991eaf07f3fbc6b15d5948c7fdcaf9fc5773 [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-->
17<com.android.quickstep.views.OverviewActionsView
18 xmlns:android="http://schemas.android.com/apk/res/android"
Sunny Goyal01d85412020-04-15 16:36:27 -070019 android:layout_width="match_parent"
20 android:layout_height="@dimen/overview_actions_height"
21 android:layout_gravity="center_horizontal|bottom"
22 android:layout_marginLeft="@dimen/overview_actions_horizontal_margin"
23 android:layout_marginRight="@dimen/overview_actions_horizontal_margin" >
24
25 <LinearLayout
26 android:id="@+id/action_buttons"
27 android:layout_width="match_parent"
28 android:layout_height="wrap_content"
29 android:layout_gravity="center"
30 android:orientation="horizontal">
31 <Space
32 android:layout_width="0dp"
33 android:layout_height="1dp"
34 android:layout_weight="1" >
35 </Space>
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:drawableTop="@drawable/ic_screenshot"
42 android:text="@string/action_screenshot" />
43 <Space
44 android:layout_width="0dp"
45 android:layout_height="1dp"
46 android:layout_weight="1" >
47 </Space>
48
49 <Button
50 android:id="@+id/action_share"
51 style="@style/OverviewActionButton"
52 android:layout_width="wrap_content"
53 android:layout_height="wrap_content"
54 android:drawableTop="@drawable/ic_share"
55 android:text="@string/action_share" />
56 <Space
57 android:layout_width="0dp"
58 android:layout_height="1dp"
59 android:layout_weight="1" >
60 </Space>
61 </LinearLayout>
Sreyas1963d3f2020-03-09 18:10:08 -070062
63</com.android.quickstep.views.OverviewActionsView>