diff options
author | yueg <yueg@google.com> | 2018-01-02 16:23:14 -0800 |
---|---|---|
committer | Copybara-Service <copybara-piper@google.com> | 2018-01-02 16:47:06 -0800 |
commit | f473e1d0988bb13874a0774db9cbcd66777f9150 (patch) | |
tree | 0bdad6c3221ca608439b5b518d746ccce89cb120 /java/com/android/newbubble/res/drawable | |
parent | 31586c7946fdc1a238d64bba07fbab9b0c4ea872 (diff) |
Bubble v2 dismiss.
Drag and drop bubble to bottom to hide or end call. Flinging to bottom does not trigger the actions. Color/text is not final. Navigation bar is not hiden and the change will be in a following CL.
Bug: 67605985
Test: NewBubbleTest
PiperOrigin-RevId: 180608133
Change-Id: Iff4cb32226d8fbf0f8e5319f6876a1d74c336b4a
Diffstat (limited to 'java/com/android/newbubble/res/drawable')
-rw-r--r-- | java/com/android/newbubble/res/drawable/bottom_action_scrim.xml | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/java/com/android/newbubble/res/drawable/bottom_action_scrim.xml b/java/com/android/newbubble/res/drawable/bottom_action_scrim.xml new file mode 100644 index 000000000..bd13382ec --- /dev/null +++ b/java/com/android/newbubble/res/drawable/bottom_action_scrim.xml @@ -0,0 +1,24 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + ~ Copyright (C) 2017 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 + --> + +<shape xmlns:android="http://schemas.android.com/apk/res/android" + android:shape="rectangle"> + <gradient + android:angle="90" + android:endColor="@android:color/transparent" + android:startColor="#AA000000"/> +</shape> |