Adds new home icon and adds padding to URL background
parent
c8e4ef558c
commit
e358ea138a
|
@ -44,7 +44,6 @@ class ToolbarUIView(
|
||||||
|
|
||||||
browserActionMargin = resources.pxToDp(browserActionMarginDp)
|
browserActionMargin = resources.pxToDp(browserActionMarginDp)
|
||||||
urlBoxView = urlBackground
|
urlBoxView = urlBackground
|
||||||
urlBoxMargin = this.resources.pxToDp(urlBoxMarginDp)
|
|
||||||
|
|
||||||
textColor = ContextCompat.getColor(context, R.color.searchText)
|
textColor = ContextCompat.getColor(context, R.color.searchText)
|
||||||
textSize = toolbarTextSizeSp
|
textSize = toolbarTextSizeSp
|
||||||
|
@ -83,6 +82,5 @@ class ToolbarUIView(
|
||||||
companion object {
|
companion object {
|
||||||
const val toolbarTextSizeSp = 14f
|
const val toolbarTextSizeSp = 14f
|
||||||
const val browserActionMarginDp = 8
|
const val browserActionMarginDp = 8
|
||||||
const val urlBoxMarginDp = 8
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -5,11 +5,11 @@
|
||||||
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:orientation="vertical">
|
android:paddingStart="8dp">
|
||||||
|
|
||||||
<View
|
<View
|
||||||
android:layout_gravity="center_vertical"
|
|
||||||
android:layout_height="40dp"
|
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="40dp"
|
||||||
|
android:layout_gravity="center_vertical"
|
||||||
android:background="@drawable/url_background" />
|
android:background="@drawable/url_background" />
|
||||||
</FrameLayout>
|
</FrameLayout>
|
Loading…
Reference in New Issue