commit | f6ddb7541feb5e415f9750fb403814dbbc9068be | [log] [tgz] |
---|---|---|
author | Jin Cao <jinyan@google.com> | Mon Oct 13 13:21:42 2014 -0700 |
committer | Jin Cao <jinyan@google.com> | Mon Oct 13 13:21:42 2014 -0700 |
tree | 4f4dd44f5a7d00eca2422eef3da4bd9d717f4118 | |
parent | fcaf9868ae2b549f1b95465e4e7877482403398d [diff] |
Don't rely on action bar height When computing the scroll offset to scroll the edittext's bottom line into view (to maximize the space for the dropdown), don't rely on the statis status bar + action bar height calculation because action bar's height changes depending on platform version and orientation. Instead, use the scroll view's location in window as the "top" of the visible display frame. b/17824127 Change-Id: I35fd04201a11e5ba47de84eb4a1c5d309e08c203