Source code

Revision control

Copy as Markdown

Other Tools

<androidx.coordinatorlayout.widget.CoordinatorLayout
android:id="@+id/main"
android:layout_width="match_parent"
android:layout_height="match_parent">
<org.mozilla.geckoview_example.NestedGeckoView
android:id="@+id/gecko_view"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:scrollbars="none"
app:layout_behavior="org.mozilla.geckoview_example.GeckoViewBottomBehavior"
/>
<androidx.appcompat.widget.Toolbar
android:id="@+id/toolbar"
android:layout_width="match_parent"
android:layout_height="?android:actionBarSize"
android:layout_gravity="bottom"
android:background="#eeeeee"
app:layout_behavior="org.mozilla.geckoview_example.ToolbarBottomBehavior"
app:layout_scrollFlags="scroll|enterAlways|snap|exitUntilCollapsed" />
<ProgressBar
android:id="@+id/page_progress"
style="@style/Base.Widget.AppCompat.ProgressBar.Horizontal"
android:layout_width="match_parent"
android:layout_height="3dp"
android:layout_alignTop="@id/gecko_view" />
</androidx.coordinatorlayout.widget.CoordinatorLayout>