From 7d164bbbe5f93dc3447c1d7931aea97f092677ad Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Thu, 29 May 2014 17:55:49 -0700 Subject: Add dynamically scrolling underline to view pager tabs. - Implementation is lifted and simplified from Play Store's implementation of PlayTabContainer and PlayTabStrip (see links in bug) - Replace mChild in ViewPagerTabs with the TabStrip. - Add new transparent background (with ripple) for tabs. - Restyle tab thickness (to 2dp) and color (to yellow) accent.. Bug: 15167378 Change-Id: I50136294a7210ead67553a82916fd09d52077860 --- res/drawable/view_pager_tab_background.xml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 res/drawable/view_pager_tab_background.xml (limited to 'res/drawable') diff --git a/res/drawable/view_pager_tab_background.xml b/res/drawable/view_pager_tab_background.xml new file mode 100644 index 000000000..7dae671ad --- /dev/null +++ b/res/drawable/view_pager_tab_background.xml @@ -0,0 +1,25 @@ + + + + + + + + + \ No newline at end of file -- cgit v1.2.3