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/layout/title_bar_nav.xml b/res/layout/title_bar_nav.xml
index b9952f1..c412e11 100644
--- a/res/layout/title_bar_nav.xml
+++ b/res/layout/title_bar_nav.xml
@@ -29,15 +29,18 @@
<ImageView
android:id="@+id/incognito_icon"
- android:layout_width="48dp"
+ android:layout_width="wrap_content"
android:layout_height="match_parent"
- android:src="@drawable/ic_incognito_holo_dark"
+ android:layout_gravity="center"
+ android:layout_marginLeft="8dp"
+ android:src="@drawable/ic_deco_incognito_normal"
android:visibility="gone" />
<com.android.browser.LocationButton
android:id="@+id/location_button"
style="@style/NavButton"
android:layout_width="wrap_content"
+ android:paddingRight="2dp"
android:visibility="gone" />
<ImageView
@@ -61,7 +64,8 @@
android:layout_height="32dip"
android:layout_gravity="center"
android:paddingLeft="6dip"
- android:paddingRight="6dip" />
+ android:paddingRight="6dip"
+ android:scaleType="fitCenter" />
<ImageView
android:id="@+id/lock"
@@ -100,6 +104,7 @@
android:paddingRight="6dp"
android:scrollHorizontally="true"
android:singleLine="true"
+ android:fontFamily="sans-serif-condensed"
android:textAppearance="?android:attr/textAppearanceMedium" />
<ImageView
@@ -108,7 +113,7 @@
android:layout_width="wrap_content"
android:contentDescription="@string/accessibility_button_voice"
android:paddingRight="4dip"
- android:src="@drawable/ic_voice_search_holo_dark"
+ android:src="@drawable/ic_action_microphone_normal"
android:visibility="gone" />
<ImageButton
@@ -136,11 +141,12 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
+ android:clickable="false"
android:paddingBottom="3dp"
android:paddingRight="2dp"
- android:clickable="false"
- android:text="0" >
- </TextView>
+ android:textColor="#333"
+ android:textSize="13dp"
+ android:textStyle="bold" />
</FrameLayout>
<ImageButton