1
0
Fork 0
fenix/app/src/main/res/layout/fragment_share.xml

66 lines
2.6 KiB
XML

<?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
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
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="@drawable/scrim_background"/>
<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/appsShareLayout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
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" />
<View
android:id="@+id/divider_line"
android:layout_width="match_parent"
android:layout_height="1dp"
android:layout_marginTop="8dp"
android:background="?neutralFaded"
app:layout_constraintBottom_toTopOf="@id/appsShareLayout" />
<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>