Clean visual style, part II: extend bright style, convert icons, more touch-ups.
This commit removes the remaining white icons from the previous style,
which was a mix of 'holo dark' (i.e. light) icons and other un-fitting
icons. It's all replaced with theme-colored icons.
The primary color itself had been altered a bit towards green (#18aba1).
Other than the icon replacements, this commit changes:
- tab switcher: fix cosmetic bug in the title bar in <= xhdpi devices
- tab switcher: better incognito presentation
- settings: enable back (<-) arrow
- settings: bold color in the activity (on L and up)
- settings: rationalized launching
- better spacings on the mobile title bar
- better padding on history items
- add proportional padding (1em) to the incognito page
- the incognito tab bar gets a bit darker
- ['Ingnito Page', 'New Incognito Tab'] -> 'Private Browsing'
- 'Page info' -> 'Page information' (no abbrevs when user facing :)
Vast amount of unused resources are removed from the APK.
Change-Id: I4add15fc686495ce27f63e26c2c56c14fa3d6603
diff --git a/res/values/colors.xml b/res/values/colors.xml
index 31853ac..a7b76a1 100644
--- a/res/values/colors.xml
+++ b/res/values/colors.xml
@@ -28,7 +28,8 @@
<color name="browser_window_background">#ffffff</color>
<!-- derived colors -->
- <color name="NavigationBarBackground">#ffffff</color> <!-- reference: f2f2f2 -->
+ <color name="NavigationBarBackground">#ffffff</color>
+ <color name="NavigationBarBackgroundIncognito">#cccccc</color>
<color name="NavigationBarUnderline">#b3b3b3</color>
<color name="PopupBackground">#ffffff</color>
<color name="TabNavBackgroundColor">#757575</color>
diff --git a/res/values/strings.xml b/res/values/strings.xml
index 10fa74f..9bd2aae 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -39,7 +39,7 @@
</string>
<!-- Name of menu item of a new incognito tab. Also used in the
title bar when displaying a new tab [CHAR LIMIT=30] -->
- <string name="new_incognito_tab">New incognito tab</string>
+ <string name="new_incognito_tab">Private Browsing</string>
<!-- Name of tab containing bookmarks -->
<string name="tab_bookmarks">Bookmarks</string>
<!-- Name of tab containing the user's most visited websites, organized by number of visits -->
@@ -80,7 +80,7 @@
<string name="msg_no_google_play">Sorry, Google Play store app does not exist.</string>
<!-- Menu item -->
- <string name="page_info">Page info</string>
+ <string name="page_info">Page information</string>
<!-- Label for a button on an SSL error dialog that allows the user to see
Page info screen for the current page -->
<string name="page_info_view">View page info</string>
diff --git a/res/values/styles.xml b/res/values/styles.xml
index d97a286..db4ac91 100644
--- a/res/values/styles.xml
+++ b/res/values/styles.xml
@@ -66,6 +66,9 @@
<style name="ShortcutTheme" parent="@style/BrowserBase">
</style>
+ <style name="SettingsTheme" parent="@style/BrowserBase">
+ </style>
+
<style name="NavButton">
<item name="android:background">?android:attr/selectableItemBackground</item>
@@ -79,8 +82,9 @@
<style name="OverflowButton" parent="@android:style/Widget.Holo.Light.ActionButton.Overflow">
<item name="android:src">@drawable/ic_action_overflow</item>
- <item name="android:layout_width">48dp</item>
+ <item name="android:layout_width">44dp</item>
<item name="android:layout_height">match_parent</item>
+ <item name="android:paddingLeft">4dp</item>
<item name="android:gravity">center_vertical</item>
</style>