OSDN Git Service

Better FloatingToolbar positioning.
authorAbodunrinwa Toki <toki@google.com>
Fri, 19 Jun 2015 02:04:50 +0000 (03:04 +0100)
committerAbodunrinwa Toki <toki@google.com>
Fri, 19 Jun 2015 18:15:50 +0000 (19:15 +0100)
commit9ae95dff1d9dc78ad98b85fbdb79108dd8a09957
treea155a776300b483490ebc9df04bcbe6c74f981be
parent1247e48e0262ea9ac807bbd0e0939dc0450cd6ab
Better FloatingToolbar positioning.

-The toolbar is now rendered over the IME.
-The toolbar respects the presence of the IME and tries as much as
 possible not to obstruct it.
-The toolbar may obstruct the IME if there is limited space and we
 can't find a position that won't obstruct the IME.

*A side effect of the toolbar over the IME is that TextView handles
 will also always be rendered over the IME where necessary. This was
 the previous behavior before the regression.

Bug: 17510971
Change-Id: I26a49565bf025d7c007ba6bb80468c4988fcc051
core/java/com/android/internal/widget/FloatingToolbar.java