diff options
| author | 2021-05-13 01:22:51 -0700 | |
|---|---|---|
| committer | 2021-05-21 14:00:53 -0700 | |
| commit | cdbe799cf24ea73355c99c16612512547397551b (patch) | |
| tree | 3afdd051a215a0af0eea240de42123c36585a72e | |
| parent | 1d75e183c9cc9385d7f901b4786bc512ae4bbfe9 (diff) | |
Bubbles don't hang off screen
Bug: 183657577
Test: visual - make a bubble, see it doesn't hang off the edge
Change-Id: Ib640add665bf5050f94573987072a93855f29fab
| -rw-r--r-- | libs/WindowManager/Shell/res/values/dimen.xml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libs/WindowManager/Shell/res/values/dimen.xml b/libs/WindowManager/Shell/res/values/dimen.xml index f4c4d025908e..a58202857cfc 100644 --- a/libs/WindowManager/Shell/res/values/dimen.xml +++ b/libs/WindowManager/Shell/res/values/dimen.xml @@ -164,8 +164,9 @@ <dimen name="bubble_stack_offset">10dp</dimen> <!-- Offset between stack y and animation y for bubble swap. --> <dimen name="bubble_swap_animation_offset">15dp</dimen> - <!-- How far offscreen the bubble stack rests. Cuts off padding and part of icon bitmap. --> - <dimen name="bubble_stack_offscreen">9dp</dimen> + <!-- How far offscreen the bubble stack rests. There's some padding around the bubble so + add 3dp to the desired overhang. --> + <dimen name="bubble_stack_offscreen">3dp</dimen> <!-- How far down the screen the stack starts. --> <dimen name="bubble_stack_starting_offset_y">120dp</dimen> <!-- Space between the pointer triangle and the bubble expanded view --> |