summaryrefslogtreecommitdiffstats
path: root/core/java/android/animation/FloatKeyframeSet.java
diff options
context:
space:
mode:
authorWale Ogunwale <ogunwale@google.com>2014-10-18 16:22:01 -0700
committerWale Ogunwale <ogunwale@google.com>2014-10-21 12:45:53 -0700
commit393b1c1e88cbdd0f65c8f217c495dbbe8de9125d (patch)
tree890ac0f1a0ad574604c3c44c83dbfbe9be1ffb25 /core/java/android/animation/FloatKeyframeSet.java
parenta9a550dd8e87b33979670cf856838ba227500547 (diff)
downloadframeworks_base-393b1c1e88cbdd0f65c8f217c495dbbe8de9125d.zip
frameworks_base-393b1c1e88cbdd0f65c8f217c495dbbe8de9125d.tar.gz
frameworks_base-393b1c1e88cbdd0f65c8f217c495dbbe8de9125d.tar.bz2
Fix issue #17789629: PopupWindow overlaps with navigation bar.
The Lollipop release introduced a feature that allowed apps to extend under the navigation bar. This also means any popup window that is anchored to the bottom of its parent window will overlap with the navigation bar if the parent window is extending underneath the navigation bar. This change introduces a new window flag (FLAG_LAYOUT_ATTACHED_IN_DECOR) that allows the app to specify if the popup window should be attached to the decor frame of the parent window thereby avoiding an overlap with the screen decorations. By default the flag is set on SDK version LOLLIPOP_MR1 or greater and cleared on lesser SDK versions. Also, replaced flags FLAG_NEEDS_MENU_KEY and PRIVATE_FLAG_NEEDS_MENU_KEY_SET with needsMenuKey state variable to make room for the new FLAG_LAYOUT_ATTACHED_IN_DECOR flag. Bug: 17789629 Change-Id: I2150e0c6ac688c966c0e8f7e54d42fd20285bea6
Diffstat (limited to 'core/java/android/animation/FloatKeyframeSet.java')
0 files changed, 0 insertions, 0 deletions