summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorJohn Reck <jreck@google.com>2010-11-29 10:32:24 -0800
committerJohn Reck <jreck@google.com>2010-11-29 10:32:24 -0800
commit01820431d1c7263959ed3063b0c330fc430e9477 (patch)
tree5ae80d122b334dda53f4b23d3eccce93f3ce79c4 /res
parent9446b9351cec1ffddd211ba02d985b91853f8398 (diff)
downloadpackages_apps_browser-01820431d1c7263959ed3063b0c330fc430e9477.zip
packages_apps_browser-01820431d1c7263959ed3063b0c330fc430e9477.tar.gz
packages_apps_browser-01820431d1c7263959ed3063b0c330fc430e9477.tar.bz2
Fixes style mismatch
Bug: 3235979 Changes the style of the UrlInputView to use the light theme to match the inverse text theme when using style-xlarge. Change-Id: Ib7d6171ab255699e4118e89d8423ac7386a226f0
Diffstat (limited to 'res')
-rw-r--r--res/layout/url_bar.xml3
-rw-r--r--res/values-xlarge/styles.xml2
-rw-r--r--res/values/styles.xml2
3 files changed, 6 insertions, 1 deletions
diff --git a/res/layout/url_bar.xml b/res/layout/url_bar.xml
index 8b4a3c0..2a67c72 100644
--- a/res/layout/url_bar.xml
+++ b/res/layout/url_bar.xml
@@ -116,7 +116,8 @@
android:lines="1"
android:scrollHorizontally="true"
android:inputType="textUri"
- android:imeOptions="actionGo" />
+ android:imeOptions="actionGo"
+ style="@style/Suggestions" />
<ImageView
android:id="@+id/clear"
android:src="@drawable/ic_clear_search"
diff --git a/res/values-xlarge/styles.xml b/res/values-xlarge/styles.xml
index b0ba7dc..952d97a 100644
--- a/res/values-xlarge/styles.xml
+++ b/res/values-xlarge/styles.xml
@@ -51,6 +51,8 @@
<style name="ActionButton">
<item name="android:background">@drawable/browserbarbutton</item>
</style>
+ <style name="Suggestions" parent="@android:style/Widget.Holo.Light.AutoCompleteTextView">
+ </style>
<style name="SuggestionLineMedium"
parent="@android:style/TextAppearance.Holo.Medium.Inverse">
</style>
diff --git a/res/values/styles.xml b/res/values/styles.xml
index 1a4ee2d..115676c 100644
--- a/res/values/styles.xml
+++ b/res/values/styles.xml
@@ -55,6 +55,8 @@
<item name="android:textColor">?android:attr/textColorSecondary</item>
<item name="android:textStyle">normal</item>
</style>
+ <style name="Suggestions" parent="@android:style/Widget.AutoCompleteTextView">
+ </style>
<style name="SuggestionLineMedium" parent="@android:style/TextAppearance.Medium">
</style>
<style name="SuggestionLineSmall" parent="@android:style/TextAppearance.Small">