Revision control
Copy as Markdown
<?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
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
tools:background="?scrim">
<androidx.appcompat.widget.AppCompatImageView
android:id="@+id/closeButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginVertical="16dp"
android:layout_marginStart="10dp"
android:background="@android:color/transparent"
android:contentDescription="@string/content_description_close_button"
android:padding="12dp"
app:tint="@color/fx_mobile_icon_color_oncolor"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:srcCompat="@drawable/ic_close" />
<androidx.appcompat.widget.AppCompatTextView
android:id="@+id/title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginVertical="16dp"
android:background="@android:color/transparent"
android:paddingVertical="12dp"
android:paddingHorizontal="1dp"
android:text="@string/share_header_2"
android:textAppearance="@style/HeaderTextStyle"
android:textColor="@color/fx_mobile_text_color_oncolor_primary"
android:textSize="20sp"
app:layout_constraintStart_toEndOf="@id/closeButton"
app:layout_constraintTop_toTopOf="parent" />
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/shared_site_list"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintEnd_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/title" />
</androidx.constraintlayout.widget.ConstraintLayout>