diff options
author | Michael Kolb <kolby@google.com> | 2011-03-07 15:14:02 -0800 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2011-03-07 15:14:02 -0800 |
commit | a8531c952928369bdc2703a8ecc0dfa3581ca38e (patch) | |
tree | a05dceeaa338fedbbdb5412659a001b2ce9c695a /res | |
parent | 0e7a0d5afbdfc61f2a04c4b1209242d5a6d66284 (diff) | |
parent | 637af7a41cf184f39c701f995aa02ead075ca013 (diff) | |
download | packages_apps_Browser-a8531c952928369bdc2703a8ecc0dfa3581ca38e.zip packages_apps_Browser-a8531c952928369bdc2703a8ecc0dfa3581ca38e.tar.gz packages_apps_Browser-a8531c952928369bdc2703a8ecc0dfa3581ca38e.tar.bz2 |
am 637af7a4: Merge "add asset for new tab button" into honeycomb-mr1
* commit '637af7a41cf184f39c701f995aa02ead075ca013':
add asset for new tab button
Diffstat (limited to 'res')
-rw-r--r-- | res/drawable-mdpi/browsertab_add_focused.png | bin | 0 -> 4098 bytes | |||
-rw-r--r-- | res/drawable/add_tab_selector.xml | 24 | ||||
-rw-r--r-- | res/layout/tab_bar.xml | 2 |
3 files changed, 25 insertions, 1 deletions
diff --git a/res/drawable-mdpi/browsertab_add_focused.png b/res/drawable-mdpi/browsertab_add_focused.png Binary files differnew file mode 100644 index 0000000..53fda75 --- /dev/null +++ b/res/drawable-mdpi/browsertab_add_focused.png diff --git a/res/drawable/add_tab_selector.xml b/res/drawable/add_tab_selector.xml new file mode 100644 index 0000000..4898f8f --- /dev/null +++ b/res/drawable/add_tab_selector.xml @@ -0,0 +1,24 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2011 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. +--> + +<!-- Custom background for the new tab button --> +<selector xmlns:android="http://schemas.android.com/apk/res/android"> + + <item android:state_focused="false" + android:drawable="@drawable/browsertab_add" /> + <item android:state_focused="true" + android:drawable="@drawable/browsertab_add_focused" /> +</selector> diff --git a/res/layout/tab_bar.xml b/res/layout/tab_bar.xml index d3683b1..1710218 100644 --- a/res/layout/tab_bar.xml +++ b/res/layout/tab_bar.xml @@ -30,5 +30,5 @@ android:layout_width="wrap_content" android:layout_height="44dip" style="@style/HoloButton" - android:background="@drawable/browsertab_add" /> + android:background="@drawable/add_tab_selector" /> </merge>
\ No newline at end of file |