fragment_share.xml (3610B)
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 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"> 16 17 <FrameLayout 18 android:id="@+id/closeSharingScrim" 19 android:layout_width="match_parent" 20 android:layout_height="match_parent" 21 android:background="?scrim"/> 22 23 <FrameLayout 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"/> 29 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"> 36 37 <FrameLayout 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" /> 42 43 <FrameLayout 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" /> 48 49 <View 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="?attr/colorOutlineVariant" 55 app:layout_constraintBottom_toTopOf="@id/appsShareLayout" /> 56 57 <View 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="?attr/colorOutlineVariant" 63 app:layout_constraintTop_toBottomOf="@id/appsShareLayout" /> 64 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" /> 70 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" /> 77 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" /> 83 84 </androidx.constraintlayout.widget.ConstraintLayout> 85 86 </androidx.constraintlayout.widget.ConstraintLayout>