OSDN Git Service

Fix issues with the new widget layout
authorAdam Cohen <adamcohen@google.com>
Thu, 14 Aug 2014 19:57:28 +0000 (12:57 -0700)
committerAdam Cohen <adamcohen@google.com>
Thu, 14 Aug 2014 20:15:32 +0000 (13:15 -0700)
commita00673c7d9f3fcfc81a6e1c6aa7b831951331e84
tree3ee6a8e89c1dad5b19914da79ae77199699aff33
parent63f1ec00fbbd109130d1e476371dbc9a87bb544d
Fix issues with the new widget layout

-> use first layout instead of first measure to determine size
-> fix issue where we were doubly accounting for padding of
   AppsCustomizePagedView
-> show page backgrounds by default, hide fake page by default
-> stripping some dead code related to the market button
   and all apps cling

Change-Id: I787bdf1092c821b780670098fb219a8a68914bc8
res/drawable-hdpi/quantum_panel_dark.9.png
res/drawable-mdpi/quantum_panel_dark.9.png
res/drawable-xhdpi/quantum_panel_dark.9.png
res/drawable-xxhdpi/quantum_panel_dark.9.png
res/layout/apps_customize_pane.xml
src/com/android/launcher3/AppsCustomizePagedView.java
src/com/android/launcher3/FocusHelper.java
src/com/android/launcher3/Launcher.java