OSDN Git Service

Setting correct height for search bar widget options bundle.
authorTony Wickham <twickham@google.com>
Fri, 23 Oct 2015 18:43:47 +0000 (11:43 -0700)
committerTony Wickham <twickham@google.com>
Thu, 29 Oct 2015 19:18:28 +0000 (12:18 -0700)
commita3c74d10a7d6e2ae8520e73176f939011e726ccf
treef3d76303f988a81182778a98876b2a23c96156c7
parentcbdb15389330aac3e4f5f404c20195ba13991dbb
Setting correct height for search bar widget options bundle.

- Seperate search bar height from its top and bottom paddings
- Report this height plus 8dps top and bottom for the widget options
- Use a separate bottom padding to adjust spacing between QSB and
  the workspace
- Add tests to verify the height of the search bar in both normal and
  tall modes (ran on Nexus 6, 7, and 10)
Change-Id: Ia7557785d1b38194eee869d0460456e8f33447d5
res/values/dimens.xml
src/com/android/launcher3/DeviceProfile.java
src/com/android/launcher3/Launcher.java
tests/src/com/android/launcher3/InvariantDeviceProfileTest.java