Yorke Lee | 481994f | 2013-07-23 16:53:36 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- |
| 3 | Copyright (C) 2013 The Android Open Source Project |
| 4 | |
| 5 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | you may not use this file except in compliance with the License. |
| 7 | You may obtain a copy of the License at |
| 8 | |
| 9 | http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | |
| 11 | Unless required by applicable law or agreed to in writing, software |
| 12 | distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | See the License for the specific language governing permissions and |
| 15 | limitations under the License. |
| 16 | --> |
Yorke Lee | 481994f | 2013-07-23 16:53:36 -0700 | [diff] [blame] | 17 | <layer-list xmlns:android="http://schemas.android.com/apk/res/android" > |
Tyler Gunn | a8ff975 | 2014-02-24 11:57:57 -0800 | [diff] [blame^] | 18 | <!-- Tab underline --> |
Yorke Lee | 481994f | 2013-07-23 16:53:36 -0700 | [diff] [blame] | 19 | <item> |
Tyler Gunn | a8ff975 | 2014-02-24 11:57:57 -0800 | [diff] [blame^] | 20 | <shape android:shape="rectangle"> |
| 21 | <solid android:color="@color/tab_underline_selected_color"/> |
Yorke Lee | 481994f | 2013-07-23 16:53:36 -0700 | [diff] [blame] | 22 | </shape> |
| 23 | </item> |
Tyler Gunn | a8ff975 | 2014-02-24 11:57:57 -0800 | [diff] [blame^] | 24 | <!-- Tab selection indicator --> |
| 25 | <item android:bottom="@dimen/tab_underline_height"> |
Yorke Lee | 481994f | 2013-07-23 16:53:36 -0700 | [diff] [blame] | 26 | <shape android:shape="rectangle" > |
Tyler Gunn | a8ff975 | 2014-02-24 11:57:57 -0800 | [diff] [blame^] | 27 | <solid android:color="@color/tab_selected_color" /> |
| 28 | </shape> |
| 29 | </item> |
| 30 | <!-- Tab background --> |
| 31 | <item android:bottom="@dimen/tab_selection_height"> |
| 32 | <shape android:shape="rectangle" > |
| 33 | <gradient |
| 34 | android:startColor="@color/tab_background_gradient_start_color" |
| 35 | android:endColor="@color/tab_background_gradient_end_color" |
| 36 | android:angle="270" /> |
Yorke Lee | 481994f | 2013-07-23 16:53:36 -0700 | [diff] [blame] | 37 | </shape> |
| 38 | </item> |
| 39 | <item> |
| 40 | <shape android:shape="rectangle" > |
Yorke Lee | 481994f | 2013-07-23 16:53:36 -0700 | [diff] [blame] | 41 | <stroke |
Tyler Gunn | a8ff975 | 2014-02-24 11:57:57 -0800 | [diff] [blame^] | 42 | android:width="4dp" |
| 43 | android:color="#44ff0000" /> |
Yorke Lee | 481994f | 2013-07-23 16:53:36 -0700 | [diff] [blame] | 44 | </shape> |
| 45 | </item> |
Yorke Lee | 481994f | 2013-07-23 16:53:36 -0700 | [diff] [blame] | 46 | </layer-list> |