summaryrefslogtreecommitdiff
path: root/res/drawable
diff options
context:
space:
mode:
authorAndrew Lee <anwlee@google.com>2014-05-07 17:26:54 -0700
committerAndrew Lee <anwlee@google.com>2014-05-07 17:30:15 -0700
commitf037fd80a9391b118114c0b4dc24dfc2fed32a89 (patch)
tree514f8730f04aafab2c9cfcfb2c6d478137a9dad8 /res/drawable
parentf925ae021894a3c029a60326a1ea9322708b2eee (diff)
Tighten up tab bar styling.
- Added touch feedback / ripples on press. - Increased the font size. - Lowered the height. Change-Id: I38e604d45f9c127b6381701f9d32917d7211cb96
Diffstat (limited to 'res/drawable')
-rw-r--r--res/drawable/action_bar_tab.xml43
1 files changed, 22 insertions, 21 deletions
diff --git a/res/drawable/action_bar_tab.xml b/res/drawable/action_bar_tab.xml
index fe961f72e..8a3ea7a7e 100644
--- a/res/drawable/action_bar_tab.xml
+++ b/res/drawable/action_bar_tab.xml
@@ -14,24 +14,25 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
-
-<selector xmlns:android="http://schemas.android.com/apk/res/android">
- <item android:drawable="@drawable/tab_selected"
- android:state_focused="false"
- android:state_pressed="false"
- android:state_selected="true" />
- <item android:drawable="@drawable/tab_selected_focused"
- android:state_focused="true"
- android:state_pressed="false"
- android:state_selected="true" />
- <item android:drawable="@drawable/tab_unselected_focused"
- android:state_focused="true"
- android:state_pressed="false"
- android:state_selected="false" />
- <item android:drawable="@color/tab_pressed_color"
- android:state_pressed="true" />
- <item android:drawable="@drawable/tab_selected"
- android:state_selected="true" />
- <item android:drawable="@color/tab_default_color"
- android:state_selected="false" />
-</selector> \ No newline at end of file
+<touch-feedback xmlns:android="http://schemas.android.com/apk/res/android"
+ android:tint="@color/tab_pressed_color">
+ <item>
+ <selector>
+ <item android:drawable="@drawable/tab_selected"
+ android:state_focused="false"
+ android:state_pressed="false"
+ android:state_selected="true" />
+ <item android:drawable="@drawable/tab_selected_focused"
+ android:state_focused="true"
+ android:state_pressed="false"
+ android:state_selected="true" />
+ <item android:drawable="@drawable/tab_unselected_focused"
+ android:state_focused="true"
+ android:state_pressed="false"
+ android:state_selected="false" />
+ <item android:drawable="@drawable/tab_selected"
+ android:state_selected="true" />
+ <item android:drawable="@color/tab_default_color" />
+ </selector>
+ </item>
+</touch-feedback> \ No newline at end of file