2020-08-20 02:05:41 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<!-- This Source Code Form is subject to the terms of the Mozilla Public
|
2019-01-15 01:42:58 +00:00
|
|
|
- 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-14 17:22:00 +00:00
|
|
|
<org.mozilla.fenix.browser.SwipeGestureLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2019-01-23 00:12:20 +00:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
2020-08-14 17:22:00 +00:00
|
|
|
android:id="@+id/gestureLayout"
|
2019-01-23 00:12:20 +00:00
|
|
|
android:layout_width="match_parent"
|
2020-08-14 17:22:00 +00:00
|
|
|
android:layout_height="match_parent">
|
2019-01-15 01:42:58 +00:00
|
|
|
|
2020-08-20 02:05:41 +00:00
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
|
|
android:id="@+id/browserWindow"
|
2019-01-23 00:12:20 +00:00
|
|
|
android:layout_width="match_parent"
|
2020-08-20 02:05:41 +00:00
|
|
|
android:layout_height="match_parent">
|
2020-06-25 21:52:52 +00:00
|
|
|
|
2020-08-20 02:05:41 +00:00
|
|
|
<androidx.coordinatorlayout.widget.CoordinatorLayout
|
|
|
|
android:id="@+id/browserLayout"
|
2019-05-30 22:05:49 +00:00
|
|
|
android:layout_width="match_parent"
|
2020-08-20 02:05:41 +00:00
|
|
|
android:layout_height="0dp"
|
|
|
|
app:layout_constraintBottom_toTopOf="@+id/loginSelectBar"
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
tools:context="browser.BrowserFragment">
|
2020-08-14 17:22:00 +00:00
|
|
|
|
2020-08-28 09:13:33 +00:00
|
|
|
<mozilla.components.ui.widgets.VerticalSwipeRefreshLayout
|
2020-08-20 02:05:41 +00:00
|
|
|
android:id="@+id/swipeRefresh"
|
2020-08-14 17:22:00 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2020-08-20 02:05:41 +00:00
|
|
|
android:alpha="0"
|
|
|
|
app:layout_behavior="@string/appbar_scrolling_view_behavior">
|
2020-08-14 17:22:00 +00:00
|
|
|
|
2020-08-20 02:05:41 +00:00
|
|
|
<mozilla.components.concept.engine.EngineView
|
|
|
|
android:id="@+id/engineView"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:visibility="gone" />
|
2020-08-28 09:13:33 +00:00
|
|
|
</mozilla.components.ui.widgets.VerticalSwipeRefreshLayout>
|
2020-08-14 17:22:00 +00:00
|
|
|
|
2020-08-20 02:05:41 +00:00
|
|
|
<ViewStub
|
|
|
|
android:id="@+id/stubFindInPage"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="56dp"
|
|
|
|
android:layout_gravity="bottom"
|
|
|
|
android:inflatedId="@+id/findInPageView"
|
|
|
|
android:layout="@layout/stub_find_in_page" />
|
2020-08-14 17:22:00 +00:00
|
|
|
|
2020-08-20 02:05:41 +00:00
|
|
|
<include
|
|
|
|
android:id="@+id/viewDynamicDownloadDialog"
|
|
|
|
layout="@layout/download_dialog_layout"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="bottom"
|
|
|
|
android:visibility="gone" />
|
|
|
|
|
|
|
|
<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>
|
2020-06-25 21:52:52 +00:00
|
|
|
|
2020-08-20 02:05:41 +00:00
|
|
|
<mozilla.components.feature.prompts.login.LoginSelectBar
|
|
|
|
android:visibility="gone"
|
|
|
|
android:id="@+id/loginSelectBar"
|
2020-08-14 17:22:00 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2020-08-20 02:05:41 +00:00
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/browserLayout" />
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
2020-06-25 21:52:52 +00:00
|
|
|
|
2020-08-14 17:22:00 +00:00
|
|
|
<org.mozilla.fenix.browser.TabPreview
|
|
|
|
android:id="@+id/tabPreview"
|
2019-05-22 18:46:31 +00:00
|
|
|
android:layout_width="match_parent"
|
2020-08-14 17:22:00 +00:00
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:clickable="false"
|
|
|
|
android:focusable="false"
|
2019-05-22 18:46:31 +00:00
|
|
|
android:visibility="gone" />
|
2020-08-14 17:22:00 +00:00
|
|
|
</org.mozilla.fenix.browser.SwipeGestureLayout>
|