diff options
author | yueg <yueg@google.com> | 2018-01-25 14:17:06 -0800 |
---|---|---|
committer | Copybara-Service <copybara-piper@google.com> | 2018-01-25 15:55:08 -0800 |
commit | 02dd493e62f22a488c4bc8438471e30d9b84b936 (patch) | |
tree | f3cb8137b97a643dd8a13b5ad883b04c5fa47e98 /java/com/android/newbubble/res/values/values.xml | |
parent | a0cfd3965218696493c5ed06c2ef69e2b61368e8 (diff) |
Set avatar as background instead of src.
Since we don't need background any more, setting avatar as background makes elevation work on the same view. So we don't need setOutlineProvider() which might provide a different outline to the image's.
Also fix an windowParams NPE.
Test: manual
PiperOrigin-RevId: 183289973
Change-Id: I452b3f2b66b1810839626f57449be7d10662f2c5
Diffstat (limited to 'java/com/android/newbubble/res/values/values.xml')
-rw-r--r-- | java/com/android/newbubble/res/values/values.xml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/java/com/android/newbubble/res/values/values.xml b/java/com/android/newbubble/res/values/values.xml index 2e72c5e5e..f449c9bed 100644 --- a/java/com/android/newbubble/res/values/values.xml +++ b/java/com/android/newbubble/res/values/values.xml @@ -19,6 +19,7 @@ <dimen name="bubble_size">56dp</dimen> <dimen name="bubble_icon_padding">16dp</dimen> <dimen name="bubble_dragging_elevation_change">6dp</dimen> + <dimen name="bubble_dragging_elevation">12dp</dimen> <dimen name="bubble_button_height">36dp</dimen> <dimen name="bubble_button_icon_padding">16dp</dimen> |