[fenix] For https://github.com/mozilla-mobile/fenix/issues/5694 & https://github...
[gecko.git] / mobile / android / fenix / app / src / main / res / layout / fragment_browser.xml
blob0f6f70d496b87b5ed6fdeb1e2a32775f5e127f82
1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- This Source Code Form is subject to the terms of the Mozilla Public
3    - License, v. 2.0. If a copy of the MPL was not distributed with this
4    - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
5 <androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
6     xmlns:app="http://schemas.android.com/apk/res-auto"
7     xmlns:tools="http://schemas.android.com/tools"
8     android:id="@+id/browserLayout"
9     android:layout_width="match_parent"
10     android:layout_height="match_parent"
11     tools:context="browser.BrowserFragment">
13     <androidx.swiperefreshlayout.widget.SwipeRefreshLayout
14         android:id="@+id/swipeRefresh"
15         android:layout_width="match_parent"
16         android:layout_height="match_parent"
17         app:layout_behavior="@string/appbar_scrolling_view_behavior">
18         <mozilla.components.concept.engine.EngineView
19             android:id="@+id/engineView"
20             android:layout_width="match_parent"
21             android:layout_height="match_parent" />
22     </androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
24     <ViewStub
25         android:id="@+id/stubFindInPage"
26         android:inflatedId="@+id/findInPageView"
27         android:layout="@layout/stub_find_in_page"
28         android:layout_gravity="bottom"
29         android:layout_width="match_parent"
30         android:layout_height="56dp" />
32     <mozilla.components.feature.readerview.view.ReaderViewControlsBar
33         android:id="@+id/readerViewControlsBar"
34         android:layout_width="match_parent"
35         android:layout_height="wrap_content"
36         android:layout_gravity="bottom"
37         android:background="?foundation"
38         android:elevation="24dp"
39         android:visibility="gone" />
41 </androidx.coordinatorlayout.widget.CoordinatorLayout>