Fixes for floating search bar (e.g. background protection).

- Adds background protection for the search bar
 - Views animating based on keyboard now support manual swipes.

Bug: 213954333
Bug: 259004115
Bug: 251460671
Test: Manual
Change-Id: I055766126fb46a8e8b48907e442c9e54aaa4badf
This commit is contained in:
Andy Wickham
2022-11-18 00:36:08 -08:00
parent 9adbab96b7
commit 493831af1a
6 changed files with 67 additions and 32 deletions

View File

@@ -364,6 +364,10 @@ public class FloatingHeaderView extends LinearLayout implements
onHeightUpdated();
}
public int getClipTop() {
return mHeaderClip.top;
}
public void reset(boolean animate) {
if (mAnimator.isStarted()) {
mAnimator.cancel();