diff options
author | yueg <yueg@google.com> | 2018-01-18 15:56:25 -0800 |
---|---|---|
committer | Copybara-Service <copybara-piper@google.com> | 2018-01-18 16:52:26 -0800 |
commit | 35f0cc15be02efe78c411da6ff653d3475f30421 (patch) | |
tree | 1c34d610409002e5836b19d6d1f2a2800c67803e /java/com/android/newbubble/BottomActionViewController.java | |
parent | 8c3420c5f10bcde9475835d8e93aa2b6cb5a9d17 (diff) |
Descrease bubble bottom text scaling factor.
Also set TextView width according to the scaling factor so texts don't go off screen when scaling.
Test: manual
PiperOrigin-RevId: 182452685
Change-Id: If438f1b7e0432c2856bd2cb937adfc4131e57410
Diffstat (limited to 'java/com/android/newbubble/BottomActionViewController.java')
-rw-r--r-- | java/com/android/newbubble/BottomActionViewController.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/java/com/android/newbubble/BottomActionViewController.java b/java/com/android/newbubble/BottomActionViewController.java index a34d3a2b1..485d04169 100644 --- a/java/com/android/newbubble/BottomActionViewController.java +++ b/java/com/android/newbubble/BottomActionViewController.java @@ -34,7 +34,7 @@ final class BottomActionViewController { private static final int SHOW_TARGET_DELAY = 100; private static final int SHOW_HIDE_TARGET_DURATION = 175; private static final int HIGHLIGHT_TARGET_DURATION = 150; - private static final float HIGHLIGHT_TARGET_SCALE = 1.5f; + private static final float HIGHLIGHT_TARGET_SCALE = 1.3f; private static final float UNHIGHLIGHT_TARGET_ALPHA = 0.38f; private final Context context; |