diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:47:29 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:47:29 +0000 |
commit | 0ebf5bdf043a27fd3dfb7f92e0cb63d88954c44d (patch) | |
tree | a31f07c9bcca9d56ce61e9a1ffd30ef350d513aa /mobile/android/geckoview_example/src/main/res/layout/geckoview_activity.xml | |
parent | Initial commit. (diff) | |
download | firefox-esr-0ebf5bdf043a27fd3dfb7f92e0cb63d88954c44d.tar.xz firefox-esr-0ebf5bdf043a27fd3dfb7f92e0cb63d88954c44d.zip |
Adding upstream version 115.8.0esr.upstream/115.8.0esr
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'mobile/android/geckoview_example/src/main/res/layout/geckoview_activity.xml')
-rw-r--r-- | mobile/android/geckoview_example/src/main/res/layout/geckoview_activity.xml | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/mobile/android/geckoview_example/src/main/res/layout/geckoview_activity.xml b/mobile/android/geckoview_example/src/main/res/layout/geckoview_activity.xml new file mode 100644 index 0000000000..8ee4a615a9 --- /dev/null +++ b/mobile/android/geckoview_example/src/main/res/layout/geckoview_activity.xml @@ -0,0 +1,32 @@ +<androidx.coordinatorlayout.widget.CoordinatorLayout + xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:app="http://schemas.android.com/apk/res-auto" + 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> |