|
|
|
@ -3,33 +3,50 @@
|
|
|
|
|
- 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/. -->
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
<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:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
android:orientation="vertical"
|
|
|
|
|
tools:background="@color/grey_button_color">
|
|
|
|
|
|
|
|
|
|
<com.google.android.material.button.MaterialButton
|
|
|
|
|
<androidx.appcompat.widget.AppCompatImageView
|
|
|
|
|
android:id="@+id/closeButton"
|
|
|
|
|
style="@style/Widget.MaterialComponents.Button.TextButton"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_margin="16dp"
|
|
|
|
|
android:layout_marginVertical="16dp"
|
|
|
|
|
android:layout_marginStart="10dp"
|
|
|
|
|
android:background="@android:color/transparent"
|
|
|
|
|
android:contentDescription="@string/content_description_close_button"
|
|
|
|
|
android:padding="12dp"
|
|
|
|
|
app:iconTint="@color/neutral_text"
|
|
|
|
|
app:layout_constraintEnd_toStartOf="@id/title"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
|
app:srcCompat="@drawable/mozac_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/neutral_text"
|
|
|
|
|
android:textSize="20sp"
|
|
|
|
|
app:icon="@drawable/mozac_ic_close"
|
|
|
|
|
app:iconPadding="8dp"
|
|
|
|
|
app:iconTint="@color/neutral_text"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
|
tools:backgroundTint="#000" />
|
|
|
|
|
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" />
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
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>
|