1
0
Fork 0
fenix/app/src/main/res/layout/fragment_browser.xml

52 lines
2.3 KiB
XML
Raw Normal View History

<?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/. -->
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:mozac="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/browserLayout"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context="browser.BrowserFragment">
<mozilla.components.concept.engine.EngineView
android:id="@+id/engineView"
android:layout_width="match_parent"
android:layout_height="match_parent" />
2019-03-19 17:13:48 +01:00
<androidx.core.widget.NestedScrollView
android:id="@+id/nestedScrollQuickAction"
2019-03-19 17:13:48 +01:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
2019-04-13 00:20:49 +02:00
android:background="?foundation"
2019-03-19 17:13:48 +01:00
android:clipToPadding="true"
app:behavior_hideable="true"
app:behavior_peekHeight="12dp"
app:layout_behavior="org.mozilla.fenix.quickactionsheet.QuickActionSheetBehavior" />
2019-03-19 17:13:48 +01:00
<mozilla.components.feature.findinpage.view.FindInPageBar
android:id="@+id/findInPageView"
android:layout_width="match_parent"
android:layout_height="56dp"
android:layout_gravity="bottom"
2019-04-13 00:20:49 +02:00
android:background="?foundation"
android:clickable="true"
android:visibility="gone"
app:findInPageNoMatchesTextColor="?attr/destructive"
app:layout_behavior="org.mozilla.fenix.components.FindInPageBarBehavior"
mozac:findInPageButtonsTint="?primaryText"
mozac:findInPageResultCountTextColor="?primaryText" />
<mozilla.components.feature.readerview.view.ReaderViewControlsBar
android:id="@+id/readerViewControlsBar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="bottom"
android:background="?foundation"
android:elevation="24dp"
android:visibility="gone" />
</androidx.coordinatorlayout.widget.CoordinatorLayout>