2021-01-20 09:24:16 -04:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
2022-08-09 13:29:04 -03:00
|
|
|
tools:viewBindingIgnore="true"
|
2021-01-20 09:24:16 -04:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent">
|
|
|
|
|
|
|
|
<androidx.appcompat.widget.Toolbar
|
|
|
|
android:id="@+id/toolbar"
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
app:navigationIcon="@drawable/ic_arrow_left_24"
|
2022-04-14 09:56:08 -03:00
|
|
|
app:title="@string/ShareInterstitialActivity__share"
|
2021-01-20 09:24:16 -04:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="?attr/actionBarSize" />
|
|
|
|
|
|
|
|
<org.thoughtcrime.securesms.components.LinkPreviewView
|
|
|
|
android:id="@+id/link_preview"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:paddingStart="16dp"
|
|
|
|
android:paddingEnd="16dp"
|
|
|
|
android:visibility="gone"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/toolbar"
|
|
|
|
app:linkpreview_type="compose"
|
|
|
|
tools:visibility="visible" />
|
|
|
|
|
|
|
|
<org.thoughtcrime.securesms.components.SelectionAwareEmojiEditText
|
|
|
|
android:id="@+id/text"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="0dp"
|
|
|
|
android:background="@null"
|
|
|
|
android:gravity="top"
|
|
|
|
android:paddingStart="16dp"
|
|
|
|
android:paddingEnd="16dp"
|
|
|
|
android:layout_marginTop="8dp"
|
|
|
|
android:inputType="textMultiLine"
|
|
|
|
android:textAppearance="@style/Signal.Text.Body"
|
|
|
|
app:layout_constraintBottom_toTopOf="@id/selected_list"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/link_preview"
|
|
|
|
tools:text="@tools:sample/lorem/random" />
|
|
|
|
|
|
|
|
<View
|
|
|
|
android:id="@+id/divider"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="2dp"
|
|
|
|
android:alpha="1"
|
|
|
|
android:background="@drawable/compose_divider_background"
|
|
|
|
app:layout_constraintBottom_toTopOf="@id/selected_list" />
|
|
|
|
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
|
|
android:id="@+id/selected_list"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="44dp"
|
|
|
|
android:layout_marginEnd="16dp"
|
|
|
|
android:clipToPadding="false"
|
|
|
|
android:orientation="horizontal"
|
|
|
|
android:paddingStart="16dp"
|
|
|
|
app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
tools:listitem="@layout/share_contact_selection_item" />
|
|
|
|
|
2022-05-26 17:32:52 -03:00
|
|
|
<org.thoughtcrime.securesms.util.views.CircularProgressMaterialButton
|
2021-01-20 09:24:16 -04:00
|
|
|
android:id="@+id/share_confirm"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="bottom|end"
|
|
|
|
android:layout_marginEnd="16dp"
|
|
|
|
android:layout_marginBottom="20dp"
|
2022-05-26 17:32:52 -03:00
|
|
|
app:circularProgressMaterialButton__label="@string/ShareActivity__send"
|
2021-01-20 09:24:16 -04:00
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent" />
|
|
|
|
|
|
|
|
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|