Move custom ViewPagerTabs into common

Bug: 16158921
Bug: 15616182
Change-Id: I164fe830636577f85357aa3bf1ddf803de9abf94
diff --git a/res-common/drawable/view_pager_tab_background.xml b/res-common/drawable/view_pager_tab_background.xml
new file mode 100644
index 0000000..1ba6c57
--- /dev/null
+++ b/res-common/drawable/view_pager_tab_background.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+  ~ Copyright (C) 2014 The Android Open Source Project
+  ~
+  ~ Licensed under the Apache License, Version 2.0 (the "License");
+  ~ you may not use this file except in compliance with the License.
+  ~ You may obtain a copy of the License at
+  ~
+  ~      http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~ Unless required by applicable law or agreed to in writing, software
+  ~ distributed under the License is distributed on an "AS IS" BASIS,
+  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  ~ See the License for the specific language governing permissions and
+  ~ limitations under the License
+  -->
+<ripple xmlns:android="http://schemas.android.com/apk/res/android"
+    android:color="@color/tab_ripple_color">
+    <item android:id="@android:id/mask">
+        <color android:color="@android:color/white" />
+    </item>
+</ripple>
\ No newline at end of file
diff --git a/res-common/values/colors.xml b/res-common/values/colors.xml
index 76b3b9f..fbd2c9c 100644
--- a/res-common/values/colors.xml
+++ b/res-common/values/colors.xml
@@ -118,6 +118,10 @@
     <!-- Darker version of the actionbar color. Used for the status bar and navigation bar colors. -->
     <color name="actionbar_background_color_dark">#008aa1</color>
 
+    <color name="tab_ripple_color">@color/tab_accent_color</color>
+    <color name="tab_accent_color">#eeff41</color>
+    <color name="tab_selected_underline_color">@color/tab_accent_color</color>
+
     <!-- Color of the title to the Frequently Contacted section -->
     <color name="frequently_contacted_title_color">#00acc1</color>
 
diff --git a/res-common/values/dimens.xml b/res-common/values/dimens.xml
index dbc9287..87c88ae 100644
--- a/res-common/values/dimens.xml
+++ b/res-common/values/dimens.xml
@@ -116,6 +116,7 @@
     <dimen name="tab_selected_underline_height">2dp</dimen>
     <!-- Size of text in tabs. -->
     <dimen name="tab_text_size">14sp</dimen>
+    <dimen name="tab_elevation">2dp</dimen>
 
     <!-- Padding around the icon in the search box. -->
     <dimen name="search_box_icon_margin">4dp</dimen>