2012-07-19 14:22:03 -07:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
|
2020-08-13 15:37:15 -03:00
|
|
|
<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="fill_parent"
|
|
|
|
android:layout_height="match_parent">
|
2017-01-25 16:38:36 -08:00
|
|
|
|
2020-08-13 15:37:15 -03:00
|
|
|
<include
|
2020-02-19 18:08:34 -04:00
|
|
|
android:id="@+id/empty_conversation_banner"
|
2020-08-13 15:37:15 -03:00
|
|
|
layout="@layout/conversation_item_banner"
|
2020-02-19 18:08:34 -04:00
|
|
|
android:visibility="gone" />
|
|
|
|
|
2019-06-05 15:47:14 -04:00
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
2020-08-13 15:37:15 -03:00
|
|
|
android:id="@android:id/list"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:cacheColorHint="?conversation_background"
|
|
|
|
android:clipChildren="false"
|
|
|
|
android:clipToPadding="false"
|
|
|
|
android:paddingBottom="2dp"
|
|
|
|
android:scrollbars="vertical" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/scroll_date_header"
|
|
|
|
style="@style/Signal.Text.Caption"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="8dp"
|
|
|
|
android:background="?attr/conversation_item_sticky_date_background"
|
|
|
|
android:elevation="9dp"
|
|
|
|
android:gravity="center"
|
|
|
|
android:paddingStart="12dp"
|
|
|
|
android:paddingTop="4dp"
|
|
|
|
android:paddingEnd="12dp"
|
|
|
|
android:paddingBottom="4dp"
|
|
|
|
android:textColor="?attr/conversation_item_sticky_date_text_color"
|
|
|
|
android:visibility="gone"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
tools:text="March 1, 2015" />
|
|
|
|
|
|
|
|
<View
|
|
|
|
android:id="@+id/compose_divider"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="2dp"
|
|
|
|
android:alpha="1"
|
|
|
|
android:background="@drawable/compose_divider_background"
|
|
|
|
android:visibility="invisible"
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent" />
|
|
|
|
|
|
|
|
<org.thoughtcrime.securesms.components.ConversationScrollToView
|
|
|
|
android:id="@+id/scroll_to_mention"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginEnd="10dp"
|
|
|
|
android:layout_marginBottom="12dp"
|
|
|
|
android:visibility="invisible"
|
|
|
|
app:cstv_scroll_button_src="@drawable/ic_at_24"
|
|
|
|
app:layout_constraintBottom_toTopOf="@id/scroll_to_bottom"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_goneMarginBottom="20dp" />
|
|
|
|
|
|
|
|
<org.thoughtcrime.securesms.components.ConversationScrollToView
|
|
|
|
android:id="@+id/scroll_to_bottom"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginEnd="10dp"
|
|
|
|
android:layout_marginBottom="16dp"
|
|
|
|
android:visibility="invisible"
|
|
|
|
app:cstv_scroll_button_src="@drawable/ic_chevron_down_20"
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent" />
|
|
|
|
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|