Sreyas | 1963d3f | 2020-03-09 18:10:08 -0700 | [diff] [blame] | 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 | --> |
Alex Chau | dfde4d9 | 2021-03-19 14:47:03 +0000 | [diff] [blame] | 17 | <!-- NOTE! don't add dimensions for margins / gravity to root view in this file, they need to be |
| 18 | loaded at runtime. --> |
Sreyas | dbedb91 | 2020-05-23 16:02:44 -0700 | [diff] [blame] | 19 | <com.android.quickstep.views.OverviewActionsView xmlns:android="http://schemas.android.com/apk/res/android" |
Sunny Goyal | 01d8541 | 2020-04-15 16:36:27 -0700 | [diff] [blame] | 20 | android:layout_width="match_parent" |
Alex Chau | dfde4d9 | 2021-03-19 14:47:03 +0000 | [diff] [blame] | 21 | android:layout_height="wrap_content"> |
Sunny Goyal | 01d8541 | 2020-04-15 16:36:27 -0700 | [diff] [blame] | 22 | |
| 23 | <LinearLayout |
| 24 | android:id="@+id/action_buttons" |
| 25 | android:layout_width="match_parent" |
Sreyas | 8dbf38e | 2021-03-17 14:33:30 -0700 | [diff] [blame] | 26 | android:layout_height="@dimen/overview_actions_height" |
| 27 | android:layout_gravity="bottom|center_horizontal" |
Sunny Goyal | 01d8541 | 2020-04-15 16:36:27 -0700 | [diff] [blame] | 28 | android:orientation="horizontal"> |
Sreyas | dbedb91 | 2020-05-23 16:02:44 -0700 | [diff] [blame] | 29 | |
Sunny Goyal | 01d8541 | 2020-04-15 16:36:27 -0700 | [diff] [blame] | 30 | <Space |
| 31 | android:layout_width="0dp" |
| 32 | android:layout_height="1dp" |
Sreyas | dbedb91 | 2020-05-23 16:02:44 -0700 | [diff] [blame] | 33 | android:layout_weight="1" /> |
| 34 | |
Sunny Goyal | 01d8541 | 2020-04-15 16:36:27 -0700 | [diff] [blame] | 35 | <Button |
| 36 | android:id="@+id/action_screenshot" |
| 37 | style="@style/OverviewActionButton" |
| 38 | android:layout_width="wrap_content" |
| 39 | android:layout_height="wrap_content" |
Sreyas | ae23746 | 2020-05-28 16:46:44 -0700 | [diff] [blame] | 40 | android:drawableStart="@drawable/ic_screenshot" |
Sreyas | dbedb91 | 2020-05-23 16:02:44 -0700 | [diff] [blame] | 41 | android:text="@string/action_screenshot" |
| 42 | android:theme="@style/ThemeControlHighlightWorkspaceColor" /> |
| 43 | |
Sunny Goyal | 01d8541 | 2020-04-15 16:36:27 -0700 | [diff] [blame] | 44 | <Space |
| 45 | android:layout_width="0dp" |
| 46 | android:layout_height="1dp" |
Sreyas | dbedb91 | 2020-05-23 16:02:44 -0700 | [diff] [blame] | 47 | android:layout_weight="1" /> |
Sunny Goyal | 01d8541 | 2020-04-15 16:36:27 -0700 | [diff] [blame] | 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" |
Sreyas | ae23746 | 2020-05-28 16:46:44 -0700 | [diff] [blame] | 54 | android:drawableStart="@drawable/ic_share" |
Sreyas | dbedb91 | 2020-05-23 16:02:44 -0700 | [diff] [blame] | 55 | android:text="@string/action_share" |
| 56 | android:theme="@style/ThemeControlHighlightWorkspaceColor" |
| 57 | android:visibility="gone" /> |
| 58 | |
Sunny Goyal | 01d8541 | 2020-04-15 16:36:27 -0700 | [diff] [blame] | 59 | <Space |
Sreyas | 46aba2a | 2020-09-09 16:36:35 -0700 | [diff] [blame] | 60 | android:id="@+id/oav_three_button_space" |
Sunny Goyal | 01d8541 | 2020-04-15 16:36:27 -0700 | [diff] [blame] | 61 | android:layout_width="0dp" |
| 62 | android:layout_height="1dp" |
Sreyas | dbedb91 | 2020-05-23 16:02:44 -0700 | [diff] [blame] | 63 | android:layout_weight="1" |
| 64 | android:visibility="gone" /> |
Sunny Goyal | 01d8541 | 2020-04-15 16:36:27 -0700 | [diff] [blame] | 65 | </LinearLayout> |
Sreyas | 1963d3f | 2020-03-09 18:10:08 -0700 | [diff] [blame] | 66 | |
| 67 | </com.android.quickstep.views.OverviewActionsView> |