diff options
author | yueg <yueg@google.com> | 2017-11-22 11:07:44 -0800 |
---|---|---|
committer | Copybara-Service <copybara-piper@google.com> | 2017-11-22 16:27:12 -0800 |
commit | 3dcd8ea9c7aa95b76711095f612dbc52958bf6a6 (patch) | |
tree | ac2101425709bffad30fc187fd2633459368430d /java/com/android/newbubble/res/drawable | |
parent | 7ba72d2d5b4061cf55d5440d4434a660c9108d2e (diff) |
Bubble v2 UI changes.
Including:
- Use exit-to-app icon instead of fullscreen icon for back-to-call button
- Use ripple for first button since it needs top-rounded background
- Change red hang-up button color and grey icon and text color
- Change some dimensions
Bug: 67605985
Test: manual
PiperOrigin-RevId: 176678427
Change-Id: I3f7836d832f7130f82d7f3764fb392807f3fab9a
Diffstat (limited to 'java/com/android/newbubble/res/drawable')
-rw-r--r-- | java/com/android/newbubble/res/drawable/bubble_pill_up.xml | 23 | ||||
-rw-r--r-- | java/com/android/newbubble/res/drawable/bubble_ripple_pill_up.xml (renamed from java/com/android/newbubble/res/drawable/bubble_ripple_circle_small.xml) | 9 |
2 files changed, 25 insertions, 7 deletions
diff --git a/java/com/android/newbubble/res/drawable/bubble_pill_up.xml b/java/com/android/newbubble/res/drawable/bubble_pill_up.xml new file mode 100644 index 000000000..9dc0395f4 --- /dev/null +++ b/java/com/android/newbubble/res/drawable/bubble_pill_up.xml @@ -0,0 +1,23 @@ +<?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"> + <corners + android:topRightRadius="8dp" + android:topLeftRadius="8dp"/> + <solid android:color="@android:color/white"/> +</shape> diff --git a/java/com/android/newbubble/res/drawable/bubble_ripple_circle_small.xml b/java/com/android/newbubble/res/drawable/bubble_ripple_pill_up.xml index 109d1cec1..77147f828 100644 --- a/java/com/android/newbubble/res/drawable/bubble_ripple_circle_small.xml +++ b/java/com/android/newbubble/res/drawable/bubble_ripple_pill_up.xml @@ -16,11 +16,6 @@ --> <ripple xmlns:android="http://schemas.android.com/apk/res/android" - android:color="?android:colorControlHighlight"> - <item> - <shape> - <corners android:radius="@dimen/bubble_small_icon_size"/> - <solid android:color="@android:color/white"/> - </shape> - </item> + android:color="@color/bubble_ripple_color"> + <item android:drawable="@drawable/bubble_pill_up"/> </ripple> |