Source code

Revision control

Copy as Markdown

Other Tools

<?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.constraintlayout.widget.ConstraintLayout
android:id="@+id/shareWrapper"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:clipToPadding="false"
android:fitsSystemWindows="true"
tools:context="org.mozilla.fenix.share.ShareFragment">
<FrameLayout
android:id="@+id/closeSharingScrim"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="?scrim"/>
<FrameLayout
android:id="@+id/closeSharingContent"
android:layout_width="match_parent"
android:layout_height="0dp"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintBottom_toTopOf="@id/sharingLayout"/>
<androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/sharingLayout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@drawable/bottom_sheet_dialog_fragment_background"
app:layout_constraintBottom_toBottomOf="parent">
<FrameLayout
android:id="@+id/devicesShareLayout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:layout_constraintBottom_toTopOf="@id/divider_line" />
<FrameLayout
android:id="@+id/appsShareLayout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:layout_constraintTop_toBottomOf="@id/divider_line" />
<View
android:id="@+id/divider_line"
android:layout_width="match_parent"
android:layout_height="1dp"
android:layout_marginTop="8dp"
android:background="?borderPrimary"
app:layout_constraintBottom_toTopOf="@id/appsShareLayout" />
<View
android:id="@+id/divider_line_apps_share_and_pdf_section"
android:layout_width="match_parent"
android:layout_height="1dp"
android:layout_marginTop="8dp"
android:background="?borderPrimary"
app:layout_constraintTop_toBottomOf="@id/appsShareLayout" />
<androidx.compose.ui.platform.ComposeView
android:id="@+id/save_pdf"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:layout_constraintTop_toBottomOf="@id/divider_line_apps_share_and_pdf_section" />
<androidx.compose.ui.platform.ComposeView
android:id="@+id/print"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintTop_toBottomOf="@id/save_pdf" />
<androidx.constraintlayout.widget.Group
android:id="@+id/devicesShareGroup"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:constraint_referenced_ids="divider_line,devicesShareLayout" />
</androidx.constraintlayout.widget.ConstraintLayout>
</androidx.constraintlayout.widget.ConstraintLayout>