69992cb40e18789f4f406ffc94c4ebbd2bc274f7 |
|
16-Mar-2016 |
Kirill Grouchnikov <kirillg@google.com> |
Fix selection state for custom views on TabLayout If Tab.setCustomView is called after TabLayout.addTab, we need to explicitly propagate the selected state from the TabLayout to the newly set custom view, mirroring the logic in TabLayout.addTabView. Also tweak a few test layouts for consistent attribute ordering and indentation. Bug: 27677664 Change-Id: I838092e787f9098e64004ebef3ae84ecbba774b9
/frameworks/support/design/tests/res/layout/design_tabs_items.xml
|