OSDN Git Service

set correct bounds in ActionBar based on visibility of ActionBarView
authorChet Haase <chet@google.com>
Sat, 13 Sep 2014 01:03:55 +0000 (18:03 -0700)
committerChet Haase <chet@google.com>
Sun, 14 Sep 2014 20:53:10 +0000 (13:53 -0700)
commitccd3da23c6dbdda2af5c5d746652e4b240cb4f50
treed170d24cc514fa17bddeeb0f0bce04456f992e06
parentee2ec05ed7c0d3cb9115f4ddd7c3613269c4a57b
set correct bounds in ActionBar based on visibility of ActionBarView

ActionBarContainer was setting the bounds of its background assuming the
visibility of the ActionBarView. But that view becomes GONE when the
ActionBarContextView is visible, causing artifacts such as wrong shadows
when resized (as in custom configuration changes).

Issue #17280341 Quantum: drop shadow on CAB has wrong width after rotation on L, when configuration change is handled by the app

Change-Id: I07e57f00e27b41d5370cb9440b35734a8ec10f3a
core/java/com/android/internal/widget/ActionBarContainer.java