ActionBarTab ripple draws below selection strip
This won't noticably change Dialer, since the selection strip is
the same color as the ripple color.
Change-Id: Ibf61c6ea0ab8b0c8da520b9b56b6eb521ffc99ef
diff --git a/res-common/drawable/action_bar_tab.xml b/res-common/drawable/action_bar_tab.xml
index b79ec5d..ecf463c 100644
--- a/res-common/drawable/action_bar_tab.xml
+++ b/res-common/drawable/action_bar_tab.xml
@@ -14,9 +14,14 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
-<ripple xmlns:android="http://schemas.android.com/apk/res/android"
+<layer-list xmlns:android="http://schemas.android.com/apk/res/android"
android:tint="@color/tab_pressed_color">
<item>
+ <ripple android:tint="@color/tab_pressed_color">
+ <item android:drawable="@color/tab_default_color" />
+ </ripple>
+ </item>
+ <item>
<selector>
<item android:drawable="@drawable/tab_selected"
android:state_focused="false"
@@ -32,7 +37,6 @@
android:state_selected="false" />
<item android:drawable="@drawable/tab_selected"
android:state_selected="true" />
- <item android:drawable="@color/tab_default_color" />
</selector>
</item>
-</ripple>
\ No newline at end of file
+</layer-list>
\ No newline at end of file