Source code
Revision control
Copy as Markdown
Other Tools
<?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
android:id="@+id/backgroundView"
android:layout_width="match_parent"
android:layout_height="match_parent">
<androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/landingLayout"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginTop="@dimen/urlinput_height">
<androidx.compose.ui.platform.ComposeView
android:id="@+id/topSites"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<androidx.appcompat.widget.AppCompatImageView
android:id="@+id/logo"
android:layout_width="match_parent"
android:layout_height="0dp"
android:contentDescription="@string/app_name"
android:focusable="false"
android:paddingStart="24dp"
android:paddingEnd="24dp"
android:scaleType="centerInside"
app:srcCompat="@drawable/wordmark2"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/topSites" />
</androidx.constraintlayout.widget.ConstraintLayout>
<FrameLayout
android:id="@+id/urlInputLayout"
android:layout_width="match_parent"
android:layout_height="@dimen/urlinput_height"
android:clickable="true"
android:clipChildren="false"
android:elevation="4dp"
android:focusable="true"
android:orientation="horizontal">
<View
android:id="@+id/toolbarBackgroundView"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/background_gradient" />
<View
android:id="@+id/toolbarBottomBorder"
android:layout_width="match_parent"
android:layout_height="1dp"
android:layout_gravity="bottom"
android:alpha="0.20"
android:background="@color/divider" />
<FrameLayout
android:id="@+id/urlInputContainerView"
android:layout_width="match_parent"
android:layout_height="56dp"
android:layout_gravity="bottom"
android:layout_margin="0dp"
android:clipChildren="false">
<View
android:id="@+id/urlInputBackgroundView"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:visibility="visible" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/background_gradient"
android:orientation="horizontal">
<mozilla.components.browser.toolbar.BrowserToolbar
android:id="@+id/browserToolbar"
android:layout_width="0dp"
android:layout_height="56dp"
android:layout_weight="1" />
<mozilla.components.browser.menu.view.MenuButton
android:id="@+id/menuView"
android:layout_width="40dp"
android:layout_height="56dp" />
</LinearLayout>
</FrameLayout>
</FrameLayout>
<View
android:id="@+id/dismissView"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/colorOverlay"
android:contentDescription="@string/content_description_dismiss_input" />
<FrameLayout
android:id="@+id/searchViewContainer"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/urlinput_height"
android:visibility="gone" />
</FrameLayout>