Bug 910882: Change search suggestions background to a lighter blue. [r=margaret]

--HG--
extra : rebase_source : cd4b8ab06669bc856bded04392d71abc6e8961ac
This commit is contained in:
Sriram Ramasubramanian 2013-09-24 11:54:16 -07:00
parent ab0dc636dd
commit 2a485d2d60
2 changed files with 9 additions and 6 deletions

View File

@ -6,7 +6,7 @@
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:background="@drawable/url_bar_bg"> android:background="@color/background_light">
<LinearLayout android:id="@+id/prompt" <LinearLayout android:id="@+id/prompt"
android:focusable="true" android:focusable="true"
@ -20,16 +20,15 @@
<TextView android:id="@+id/suggestions_prompt_title" <TextView android:id="@+id/suggestions_prompt_title"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_width="0dp" android:layout_width="0dp"
android:textColor="@color/url_bar_title"
android:layout_marginLeft="6dip" android:layout_marginLeft="6dip"
android:textSize="14sp" android:layout_weight="1"
android:layout_weight="1" /> android:textAppearance="@style/TextAppearance.Widget.SuggestionsPrompt"/>
<TextView android:id="@+id/suggestions_prompt_yes" <TextView android:id="@+id/suggestions_prompt_yes"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:textSize="14sp"
android:layout_marginLeft="15dip" android:layout_marginLeft="15dip"
android:textAppearance="@style/TextAppearance.Widget.SuggestionsPrompt"
android:background="@drawable/suggestion_selector" android:background="@drawable/suggestion_selector"
android:paddingLeft="15dp" android:paddingLeft="15dp"
android:paddingRight="15dp" android:paddingRight="15dp"
@ -41,8 +40,8 @@
<TextView android:id="@+id/suggestions_prompt_no" <TextView android:id="@+id/suggestions_prompt_no"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:textSize="14sp"
android:layout_marginLeft="6dip" android:layout_marginLeft="6dip"
android:textAppearance="@style/TextAppearance.Widget.SuggestionsPrompt"
android:background="@drawable/suggestion_selector" android:background="@drawable/suggestion_selector"
android:nextFocusRight="@+id/suggestions_prompt_no" android:nextFocusRight="@+id/suggestions_prompt_no"
android:paddingLeft="15dp" android:paddingLeft="15dp"

View File

@ -312,6 +312,10 @@
<item name="android:textColor">?android:attr/textColorSecondary</item> <item name="android:textColor">?android:attr/textColorSecondary</item>
</style> </style>
<style name="TextAppearance.Widget.SuggestionsPrompt" parent="TextAppearance.Small">
<item name="android:textColor">@color/url_bar_title</item>
</style>
<style name="TextAppearance.Widget.Home" /> <style name="TextAppearance.Widget.Home" />
<style name="TextAppearance.Widget.Home.Header" parent="TextAppearance.Small"> <style name="TextAppearance.Widget.Home.Header" parent="TextAppearance.Small">