[fenix] Adds new home icon and adds padding to URL background

pull/600/head
Emily Kager 5 years ago committed by Sawyer Blatz
parent deff0a6b40
commit 877ed0b864

@ -44,7 +44,6 @@ class ToolbarUIView(
browserActionMargin = resources.pxToDp(browserActionMarginDp)
urlBoxView = urlBackground
urlBoxMargin = this.resources.pxToDp(urlBoxMarginDp)
textColor = ContextCompat.getColor(context, R.color.searchText)
textSize = toolbarTextSizeSp
@ -83,6 +82,5 @@ class ToolbarUIView(
companion object {
const val toolbarTextSizeSp = 14f
const val browserActionMarginDp = 8
const val urlBoxMarginDp = 8
}
}

@ -5,11 +5,9 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="20"
android:viewportHeight="20">
<path
android:fillColor="#0C0C0D"
android:fillType="evenOdd"
android:pathData="M19.457,9.043L10.707,0.293C10.3165,-0.0974 9.6835,-0.0974 9.293,0.293L0.543,9.043C0.164,9.4354 0.1694,10.0591 0.5552,10.4448C0.9409,10.8306 1.5646,10.836 1.957,10.457L3,9.414L3,17C3,18.6569 4.3431,20 6,20L14,20C15.6569,20 17,18.6569 17,17L17,9.414L18.043,10.457C18.4354,10.836 19.0591,10.8306 19.4448,10.4448C19.8306,10.0591 19.836,9.4354 19.457,9.043ZM15,17C15,17.5523 14.5523,18 14,18C14.6667,18 14.1667,18 12.5,18C10.8333,18 9.1667,18 7.5,18L6,18C5.4477,18 5,17.5523 5,17L5,7.414L10,2.414L15,7.414L15,17Z"
android:strokeWidth="1" />
android:viewportWidth="24"
android:viewportHeight="24">
<path
android:pathData="m21.457,11.1228 l-8.75,-8.0208c-0.3905,-0.3579 -1.0235,-0.3579 -1.414,0l-8.75,8.0208c-0.379,0.3597 -0.3736,0.9314 0.0122,1.285 0.3857,0.3536 1.0094,0.3586 1.4018,0.0112l1.043,-0.9561v6.9538c0,1.5188 1.3431,2.75 3,2.75h8c1.6569,0 3,-1.2312 3,-2.75v-6.9538l1.043,0.9561c0.3924,0.3474 1.0161,0.3424 1.4018,-0.0112 0.3857,-0.3536 0.3912,-0.9253 0.0122,-1.285zM17,18.4167c0,0.5063 -0.4477,0.9167 -1,0.9167 0.6667,0 0.1667,0 -1.5,0s-3.3333,0 -5,0h-1.5c-0.5523,0 -1,-0.4104 -1,-0.9167v-8.7872l5,-4.5833 5,4.5833z"
android:fillColor="#202340"/>
</vector>

@ -5,11 +5,11 @@
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="vertical">
android:paddingStart="8dp">
<View
android:layout_gravity="center_vertical"
android:layout_height="40dp"
android:layout_width="wrap_content"
android:layout_height="40dp"
android:layout_gravity="center_vertical"
android:background="@drawable/url_background" />
</FrameLayout>
Loading…
Cancel
Save