8c3845ebb7e8198950510cd7a08bc8e66e2195fe |
|
22-Feb-2016 |
Chris Banes <chrisbanes@google.com> |
Fix fragments to android.R.id.content not be removable Caused by the way that AppCompat switches the content view for its own. It transplants any views already added to the window content view into its own, which works. Fragment though keeps a reference to its container view though, which is then incorrect. Fixed by making sure that any call to findViewById() installs AppCompat's sub-decor. Ensuring that any fragments added to a container via an ID, already have the sub-decor installed. BUG: 27286333 Change-Id: Ia1bfc4f69620b4dbbe5e4625b268f1a2d7789e3a
/frameworks/support/v7/appcompat/tests/res/values/ids.xml
|