summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorMichael Kolb <kolby@google.com>2011-03-09 14:42:27 -0800
committerAndroid Git Automerger <android-git-automerger@android.com>2011-03-09 14:42:27 -0800
commitf9f67673756de887386422a052e588ff4ed9378a (patch)
tree040bda2073cde652acb154eec7f6e899d148a25d /res
parent3499dc99cf0afec87c3035b35d008755e464f645 (diff)
parent1acef69ffc079d1bc029ff7eb1f5043f7efd7f36 (diff)
downloadpackages_apps_Browser-f9f67673756de887386422a052e588ff4ed9378a.zip
packages_apps_Browser-f9f67673756de887386422a052e588ff4ed9378a.tar.gz
packages_apps_Browser-f9f67673756de887386422a052e588ff4ed9378a.tar.bz2
am 1acef69f: add menu options to qc
* commit '1acef69ffc079d1bc029ff7eb1f5043f7efd7f36': add menu options to qc
Diffstat (limited to 'res')
-rw-r--r--res/drawable/qc_menu_selector.xml21
-rw-r--r--res/layout/qc_menu_item.xml30
2 files changed, 51 insertions, 0 deletions
diff --git a/res/drawable/qc_menu_selector.xml b/res/drawable/qc_menu_selector.xml
new file mode 100644
index 0000000..141f165
--- /dev/null
+++ b/res/drawable/qc_menu_selector.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2010 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.
+-->
+
+<selector xmlns:android="http://schemas.android.com/apk/res/android">
+ <item android:state_pressed="true"
+ android:drawable="@*android:drawable/list_selector_pressed_holo_dark" />
+ <item android:state_pressed="false" android:drawable="@drawable/clear" />
+</selector>
diff --git a/res/layout/qc_menu_item.xml b/res/layout/qc_menu_item.xml
new file mode 100644
index 0000000..9e4a2e8
--- /dev/null
+++ b/res/layout/qc_menu_item.xml
@@ -0,0 +1,30 @@
+<?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.
+-->
+
+<TextView
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/title"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:minHeight="44dip"
+ android:background="@drawable/qc_menu_selector"
+ android:textAppearance="?android:attr/textAppearanceMedium"
+ android:gravity="center"
+ android:paddingLeft="8dip"
+ android:paddingRight="8dip"
+ android:paddingTop="4dip"
+ android:paddingBottom="4dip"
+ />