diff options
author | Yorke Lee <yorkelee@google.com> | 2014-06-05 09:33:13 -0700 |
---|---|---|
committer | Yorke Lee <yorkelee@google.com> | 2014-06-05 09:46:34 -0700 |
commit | 55bd1516517e4ab2f442c70dedbe1681c31f9a69 (patch) | |
tree | 74cda94291f63e9ec135cec0a528b7a45adf9058 /res | |
parent | 57f560ae3a865aa721a88c317fac69e1a785b711 (diff) |
Re-enable ripples for viewpager tabs and recents footer
Update focused state and fix ripples for viewpager tab
backgrounds
Fix ripple for recents footer
Bug: 15445528
Change-Id: Iec0e6adf79b60bdcfa98846697e1e44f67cfad16
Diffstat (limited to 'res')
-rw-r--r-- | res/drawable/recent_lists_footer_background.xml | 4 | ||||
-rw-r--r-- | res/drawable/view_pager_tab_background.xml | 7 |
2 files changed, 5 insertions, 6 deletions
diff --git a/res/drawable/recent_lists_footer_background.xml b/res/drawable/recent_lists_footer_background.xml index 566e353b2..021174a16 100644 --- a/res/drawable/recent_lists_footer_background.xml +++ b/res/drawable/recent_lists_footer_background.xml @@ -19,5 +19,7 @@ android:tint="?android:attr/colorControlHighlight" android:pinned="false"> <!-- Mask to constrain the ripple to the bounds of the view. --> - <item android:drawable="@android:color/transparent" /> + <item android:id="@android:id/mask"> + <color android:color="@android:color/white" /> + </item> </ripple> diff --git a/res/drawable/view_pager_tab_background.xml b/res/drawable/view_pager_tab_background.xml index 7dae671ad..53f891c76 100644 --- a/res/drawable/view_pager_tab_background.xml +++ b/res/drawable/view_pager_tab_background.xml @@ -16,10 +16,7 @@ --> <ripple xmlns:android="http://schemas.android.com/apk/res/android" android:tint="@color/tab_ripple_color"> - <item> - <selector> - <item android:state_focused="true" - android:drawable="@drawable/tab_unselected_focused" /> - </selector> + <item android:id="@android:id/mask"> + <color android:color="@android:color/white" /> </item> </ripple>
\ No newline at end of file |