Commit 65009b69 authored by Mugdha Lakhani's avatar Mugdha Lakhani Committed by Commit Bot

[WebLayer] More cosmetic improvements on the URL bar.

1. Move the padding from the icon to the textview.
2. Reduce the padding to 5dp to improve aesthetics.
3. Set the color of the icon and the text to modern-grey-900.

Screenshots here:
https://drive.google.com/drive/folders/1gvXWF_0ZKFG0VDmEsqrUHbI45Dx2zJMz?usp=sharing

Bug: 1025607
Change-Id: I87200d7e4dc7f4436008136233ae99e31f154e71
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2130247Reviewed-by: default avatarEvan Stade <estade@chromium.org>
Commit-Queue: Mugdha Lakhani <nator@chromium.org>
Cr-Commit-Position: refs/heads/master@{#755367}
parent e81b8956
......@@ -12,20 +12,22 @@
android:id="@+id/security_button"
tools:ignore="ContentDescription"
android:background="@android:color/transparent"
android:color="@color/modern_grey_900"
android:layout_gravity="center_vertical"
android:layout_height="@dimen/security_status_icon_size"
android:layout_width="@dimen/security_status_icon_size"
android:scaleType="center"
android:paddingEnd="@dimen/security_status_icon_padding"
app:tint="@color/default_icon_color_tint_list"/>
<TextView
android:id="@+id/url_text"
android:textColor="@color/modern_grey_900"
android:layout_height="wrap_content"
android:layout_width="0dp"
android:layout_weight="1"
android:layout_gravity="center_vertical"
android:maxLines="1"
android:paddingEnd="@dimen/url_text_edge_padding"/>
android:paddingEnd="@dimen/url_text_edge_padding"
android:paddingStart="@dimen/url_text_edge_padding"/>
</merge>
......@@ -5,6 +5,5 @@
<resources>
<dimen name="security_status_icon_size">18dp</dimen>
<dimen name="security_status_icon_padding">5dp</dimen>
<dimen name="url_text_edge_padding">8dp</dimen>
<dimen name="url_text_edge_padding">5dp</dimen>
</resources>
\ No newline at end of file
......@@ -18,7 +18,7 @@
android:layout_height="wrap_content"
android:layout_alignParentStart="true"
android:layout_toStartOf="@+id/menu_button"
android:paddingStart="2dp">
android:paddingStart="5dp">
<EditText
android:id="@+id/editable_url_view"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment