OSDN Git Service

Fix bug 5333962 - Problems with no action bar/overlay action mode
authorAdam Powell <adamp@google.com>
Sun, 18 Sep 2011 21:59:28 +0000 (14:59 -0700)
committerAdam Powell <adamp@google.com>
Sun, 18 Sep 2011 22:34:00 +0000 (15:34 -0700)
commit8ee6d7c20e7767c2f61f8db9a99d01e0a05f3842
tree8f94303b817afe5be7bd041978f57ec2883b5e97
parentbfb9a9ae1005998818dd2e75ac7e7f23277a1f03
Fix bug 5333962 - Problems with no action bar/overlay action mode

Change the standalone action mode window for overlay mode to be of
TYPE_APPLICATION. (This also fixes a bug where overflow menus would
not work properly on these types of action mode bars.)

Set exitFadeDuration on btn_cab_done_holo_* drawables.

Remove no-window-focus override selector states for selectable item
backgrounds to allow proper touch feedback on windows that do not have
focus but that the user can interact with.

Change-Id: Ib504866238708150d21e6183ff7b695869c05d3e
core/java/android/widget/PopupWindow.java
core/res/res/drawable/btn_cab_done_holo_dark.xml
core/res/res/drawable/btn_cab_done_holo_light.xml
core/res/res/drawable/item_background_holo_dark.xml
core/res/res/drawable/item_background_holo_light.xml
policy/src/com/android/internal/policy/impl/PhoneWindow.java