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/. -->
6 <androidx.constraintlayout.widget.ConstraintLayout
7 xmlns:android="http://schemas.android.com/apk/res/android"
8 xmlns:app="http://schemas.android.com/apk/res-auto"
9 xmlns:tools="http://schemas.android.com/tools"
10 android:id="@+id/shareWrapper"
11 android:layout_width="match_parent"
12 android:layout_height="match_parent"
13 android:clipToPadding="false"
14 android:fitsSystemWindows="true"
15 tools:context="org.mozilla.fenix.share.ShareFragment">
18 android:id="@+id/closeSharingScrim"
19 android:layout_width="match_parent"
20 android:layout_height="match_parent"
21 android:background="?scrim"/>
24 android:id="@+id/closeSharingContent"
25 android:layout_width="match_parent"
26 android:layout_height="0dp"
27 app:layout_constraintTop_toTopOf="parent"
28 app:layout_constraintBottom_toTopOf="@id/sharingLayout"/>
30 <androidx.constraintlayout.widget.ConstraintLayout
31 android:id="@+id/sharingLayout"
32 android:layout_width="match_parent"
33 android:layout_height="wrap_content"
34 android:background="@drawable/bottom_sheet_dialog_fragment_background"
35 app:layout_constraintBottom_toBottomOf="parent">
38 android:id="@+id/devicesShareLayout"
39 android:layout_width="match_parent"
40 android:layout_height="wrap_content"
41 app:layout_constraintBottom_toTopOf="@id/divider_line" />
44 android:id="@+id/appsShareLayout"
45 android:layout_width="match_parent"
46 android:layout_height="wrap_content"
47 app:layout_constraintTop_toBottomOf="@id/divider_line" />
50 android:id="@+id/divider_line"
51 android:layout_width="match_parent"
52 android:layout_height="1dp"
53 android:layout_marginTop="8dp"
54 android:background="?borderPrimary"
55 app:layout_constraintBottom_toTopOf="@id/appsShareLayout" />
58 android:id="@+id/divider_line_apps_share_and_pdf_section"
59 android:layout_width="match_parent"
60 android:layout_height="1dp"
61 android:layout_marginTop="8dp"
62 android:background="?borderPrimary"
63 app:layout_constraintTop_toBottomOf="@id/appsShareLayout" />
65 <androidx.compose.ui.platform.ComposeView
66 android:id="@+id/save_pdf"
67 android:layout_width="match_parent"
68 android:layout_height="wrap_content"
69 app:layout_constraintTop_toBottomOf="@id/divider_line_apps_share_and_pdf_section" />
71 <androidx.compose.ui.platform.ComposeView
72 android:id="@+id/print"
73 android:layout_width="match_parent"
74 android:layout_height="wrap_content"
75 app:layout_constraintBottom_toBottomOf="parent"
76 app:layout_constraintTop_toBottomOf="@id/save_pdf" />
78 <androidx.constraintlayout.widget.Group
79 android:id="@+id/devicesShareGroup"
80 android:layout_width="wrap_content"
81 android:layout_height="wrap_content"
82 app:constraint_referenced_ids="divider_line,devicesShareLayout" />
84 </androidx.constraintlayout.widget.ConstraintLayout>
86 </androidx.constraintlayout.widget.ConstraintLayout>