Commit fc5855c4 authored by Shakti Sahu's avatar Shakti Sahu Committed by Commit Bot

Ephemeral tab : Fixed extra padding

Fixed extra padding to the left of favicon and to the left of lock icon.
Also aligned the baseline of URL to the bottom of lock icon.

Bug: 1027713, 1025101
Change-Id: I69b7edd5d0c18eb8c6acd6d2d530149eac837fe5
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1931799Reviewed-by: default avatarDavid Trainor <dtrainor@chromium.org>
Commit-Queue: Shakti Sahu <shaktisahu@chromium.org>
Cr-Commit-Position: refs/heads/master@{#718829}
parent 91e9e14c
......@@ -24,7 +24,6 @@
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="62dp"
android:paddingStart="8dp"
android:orientation="horizontal">
<org.chromium.ui.widget.ChromeImageView
......@@ -32,7 +31,7 @@
android:layout_width="24dp"
android:layout_height="24dp"
android:layout_alignParentBottom="true"
android:layout_marginStart="18dp"
android:layout_marginStart="16dp"
android:layout_marginEnd="16dp"
android:layout_marginBottom="14dp"
android:scaleType="fitCenter"
......@@ -66,7 +65,7 @@
android:layout_height="24dp"
android:layout_toStartOf="@+id/close"
android:layout_alignParentBottom="true"
android:layout_marginEnd="16dp"
android:layout_marginEnd="24dp"
android:layout_marginBottom="14dp"
android:src="@drawable/open_in_new_tab"
android:contentDescription="@string/contextmenu_open_in_new_tab"
......@@ -78,7 +77,6 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="16dp"
android:layout_marginStart="8dp"
android:layout_toStartOf="@id/open_in_new_tab"
android:layout_toEndOf="@id/favicon"
android:textAlignment="viewStart"
......@@ -90,10 +88,9 @@
android:id="@+id/security_icon"
android:layout_width="16dp"
android:layout_height="16dp"
android:layout_marginStart="8dp"
android:layout_alignStart="@id/title"
android:layout_below="@id/title"
android:layout_toEndOf="@id/favicon"
android:layout_marginTop="4dp"
android:layout_marginTop="3dp"
app:tint="@color/default_icon_color" />
<TextView
......
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