summaryrefslogtreecommitdiff
path: root/res/drawable
diff options
context:
space:
mode:
author Mady Mellor <madym@google.com> 2024-02-05 09:30:03 -0800
committer Mady Mellor <madym@google.com> 2024-08-08 21:23:13 +0000
commit1cc100844cec75e827aa787f8ba9932f36d2d2e4 (patch)
treedeae331d197011fc161197703ff620d5e45271c7 /res/drawable
parenta5fa9bc9115c1ec8d212b0690b0f87acb865d404 (diff)
Add a bubble option to launcher long press menus
- Add a launcher "system shortcut" to bubble deep shortcuts or apps - For shortcuts, save the shortcut info to use to produce the bubble - Add an interface so that the system shortcut can call through to sysui proxy Flag: com.android.wm.shell.enable_bubble_anything Test: manual - enable the flag and try to bubble a shortcut via the longpress menu on launcher - try bubbling an app on launcher - try bubbling an app from the taskbar Bug: 342245211 Change-Id: I1ef49e1628ba0be9cea05073ecd9cd66bf67f88f
Diffstat (limited to 'res/drawable')
-rw-r--r--res/drawable/ic_bubble_button.xml25
1 files changed, 25 insertions, 0 deletions
diff --git a/res/drawable/ic_bubble_button.xml b/res/drawable/ic_bubble_button.xml
new file mode 100644
index 0000000000..1ed212e09a
--- /dev/null
+++ b/res/drawable/ic_bubble_button.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ ~ Copyright (C) 2024 The Android Open Source Project
+ ~
+ ~ Licensed under the Apache License, Version 2.0 (the "License");
+ ~ you may not use this file except in compliance with the License.
+ ~ You may obtain a copy of the License at
+ ~
+ ~ http://www.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing, software
+ ~ distributed under the License is distributed on an "AS IS" BASIS,
+ ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ ~ See the License for the specific language governing permissions and
+ ~ limitations under the License.
+ -->
+<vector xmlns:android="http://schemas.android.com/apk/res/android"
+ android:width="20dp"
+ android:height="20dp"
+ android:viewportWidth="24"
+ android:viewportHeight="24">
+ <path
+ android:fillColor="#FF000000"
+ android:pathData="M23,5v8h-2V5H3v14h10v2v0H3c-1.1,0 -2,-0.9 -2,-2V5c0,-1.1 0.9,-2 2,-2h18C22.1,3 23,3.9 23,5zM10,8v2.59L5.71,6.29L4.29,7.71L8.59,12H6v2h6V8H10zM19,15c-1.66,0 -3,1.34 -3,3s1.34,3 3,3s3,-1.34 3,-3S20.66,15 19,15z"/>
+</vector>