2020-08-04 17:35:08 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<!-- This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
- License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
|
2020-08-06 22:49:01 +00:00
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
android:id="@+id/search_wrapper"
|
2020-08-04 17:35:08 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2020-08-05 19:40:43 +00:00
|
|
|
android:fitsSystemWindows="true"
|
2020-08-07 00:21:52 +00:00
|
|
|
android:background="?attr/scrimBackground"
|
2020-08-04 17:35:08 +00:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto">
|
2020-08-05 19:40:43 +00:00
|
|
|
<mozilla.components.browser.toolbar.BrowserToolbar
|
|
|
|
android:id="@+id/toolbar"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="@dimen/browser_toolbar_height"
|
|
|
|
android:background="@drawable/toolbar_background_top"
|
|
|
|
android:clickable="true"
|
|
|
|
android:focusable="true"
|
|
|
|
android:focusableInTouchMode="true"
|
|
|
|
app:layout_scrollFlags="scroll|enterAlways|snap|exitUntilCollapsed"
|
|
|
|
app:browserToolbarClearColor="?primaryText"
|
|
|
|
app:browserToolbarInsecureColor="?primaryText"
|
|
|
|
app:browserToolbarMenuColor="?primaryText"
|
|
|
|
app:browserToolbarProgressBarGravity="bottom"
|
|
|
|
app:browserToolbarSecureColor="?primaryText"
|
|
|
|
app:browserToolbarTrackingProtectionAndSecurityIndicatorSeparatorColor="?toolbarDivider"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
2020-08-04 17:35:08 +00:00
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
2020-08-05 19:40:43 +00:00
|
|
|
app:layout_constraintTop_toTopOf="parent"/>
|
2020-08-07 00:21:52 +00:00
|
|
|
<mozilla.components.browser.awesomebar.BrowserAwesomeBar
|
|
|
|
xmlns:mozac="http://schemas.android.com/apk/res-auto"
|
|
|
|
android:id="@+id/awesomeBar"
|
2020-08-05 19:40:43 +00:00
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="0dp"
|
2020-08-07 00:21:52 +00:00
|
|
|
android:fadingEdge="horizontal"
|
|
|
|
android:fadingEdgeLength="40dp"
|
|
|
|
android:nestedScrollingEnabled="false"
|
|
|
|
android:requiresFadingEdge="vertical"
|
|
|
|
android:background="?attr/foundation"
|
|
|
|
android:visibility="invisible"
|
2020-08-05 19:40:43 +00:00
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
2020-08-04 17:35:08 +00:00
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
2020-08-05 19:40:43 +00:00
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/toolbar"
|
2020-08-07 00:21:52 +00:00
|
|
|
mozac:awesomeBarChipBackgroundColor="@color/photonGreen50"
|
|
|
|
mozac:awesomeBarDescriptionTextColor="?secondaryText"
|
|
|
|
mozac:awesomeBarTitleTextColor="?primaryText" />
|
2020-08-04 17:35:08 +00:00
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|