Update navigation bar UI
- Set right colors for elements
- Hide separator when editing url
- Keep it colored on tabs view
- Make Security state icon smaller
- Update progress bar indicator
- Update incognito colors
Change-Id: I856dd3add116dbc75be64a989983cac7ff814d95
Signed-off-by: jrizzoli <joey@cyanogenmoditalia.it>
diff --git a/res/layout/nav_screen.xml b/res/layout/nav_screen.xml
index 6e75aee..1f17a54 100644
--- a/res/layout/nav_screen.xml
+++ b/res/layout/nav_screen.xml
@@ -30,7 +30,7 @@
<LinearLayout
android:layout_width="match_parent"
android:layout_height="@dimen/toolbar_height"
- android:background="@color/trasparent"
+ android:background="@color/primary"
android:gravity="end"
android:orientation="horizontal">
@@ -60,14 +60,14 @@
<ImageButton
android:id="@+id/more"
- style="@style/OverflowButton" />
+ style="@style/OverflowButtonInverted" />
</LinearLayout>
- <!-- Cosmetic shadow (covered by anim_screen during transitions) >
+ <!-- Cosmetic shadow (covered by anim_screen during transitions) -->
<View
android:layout_width="match_parent"
android:layout_height="8dp"
android:layout_marginTop="@dimen/toolbar_height"
- android:background="@drawable/deco_cosmetic_topshadow" /-->
+ android:background="@drawable/deco_cosmetic_topshadow" />
</FrameLayout>
diff --git a/res/layout/nav_tab_view.xml b/res/layout/nav_tab_view.xml
index 1bf4b8d..6c475e1 100644
--- a/res/layout/nav_tab_view.xml
+++ b/res/layout/nav_tab_view.xml
@@ -56,8 +56,8 @@
android:textAppearance="?android:attr/textAppearanceSmallInverse" />
</LinearLayout>
</LinearLayout>
- <FrameLayout
+ <!--FrameLayout
android:layout_width="match_parent"
- android:layout_height="50dp"
- android:background="@color/trasparent" />
+ android:layout_height="48dp"
+ android:background="@color/trasparent" /-->
</LinearLayout>
diff --git a/res/layout/title_bar_nav.xml b/res/layout/title_bar_nav.xml
index b5f865b..1e0c389 100644
--- a/res/layout/title_bar_nav.xml
+++ b/res/layout/title_bar_nav.xml
@@ -48,13 +48,14 @@
<!-- Cosmetic separator -->
<View
+ android:id="@+id/separator"
android:layout_width="1dp"
- android:layout_height="42dp"
- android:paddingTop="4dp"
- android:paddingBottom="4dp"
- android:paddingEnd="2dp"
- android:background="#55FAFAFA" />
-
+ android:layout_height="36dp"
+ android:paddingTop="6dp"
+ android:paddingBottom="6dp"
+ android:paddingStart="4dp"
+ android:paddingEnd="4dp"
+ android:background="@color/icon_white" />
<ImageView
android:id="@+id/stop"
@@ -103,7 +104,7 @@
style="@style/NavButton"
android:layout_width="wrap_content"
android:contentDescription="@string/accessibility_button_clear"
- android:src="@drawable/ic_action_stop"
+ android:src="@drawable/ic_action_stop_normal_inverted"
android:visibility="gone" />
</LinearLayout>
@@ -125,6 +126,7 @@
android:layout_gravity="center"
android:clickable="false"
android:paddingBottom="1dp"
+ android:paddingStart="1dp"
android:paddingEnd="1dp"
android:textColor="@color/white"
android:textSize="13dp"