OSDN Git Service

Fully remove Toolbar children when action views expand
authorAdam Powell <adamp@google.com>
Mon, 15 Jun 2015 21:14:42 +0000 (14:14 -0700)
committerAdam Powell <adamp@google.com>
Mon, 15 Jun 2015 21:33:45 +0000 (14:33 -0700)
commit5f6228454de9bc18847a28e7c21e8fb9bab3d6ac
treeb4c745aeed0dff3c5eb7f42438c787015f7c3b45
parent417018f21b85426eb787a462377d83feadc816e9
Fully remove Toolbar children when action views expand

The previous implementation of toggling visibility resulted
developer-set child visibility getting stomped. Fully detach child
views that shouldn't be shown instead. This is more consistent with
the coming and going of other system child views.

Bug 18156260

Change-Id: I8469d45eeb950dc0232f703efe8401233241c657
core/java/android/widget/Toolbar.java