2012-07-19 14:22:03 -07:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
|
2016-10-19 22:08:00 -05:00
|
|
|
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2017-11-13 18:01:05 -08:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
2016-10-19 22:08:00 -05:00
|
|
|
android:layout_width="fill_parent"
|
2017-11-13 18:01:05 -08:00
|
|
|
android:layout_height="match_parent">
|
2017-01-25 16:38:36 -08:00
|
|
|
|
2017-01-25 18:00:26 -08:00
|
|
|
<android.support.v7.widget.RecyclerView
|
|
|
|
android:id="@android:id/list"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2018-07-23 14:08:45 +02:00
|
|
|
android:paddingBottom="16dp"
|
2017-01-25 18:00:26 -08:00
|
|
|
android:scrollbars="vertical"
|
2018-06-26 10:27:44 -07:00
|
|
|
android:cacheColorHint="?conversation_background"
|
|
|
|
android:clipChildren="false"
|
|
|
|
android:clipToPadding="false"/>
|
2017-01-25 18:00:26 -08:00
|
|
|
|
2017-01-25 16:38:36 -08:00
|
|
|
<TextView android:id="@+id/scroll_date_header"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:gravity="center"
|
|
|
|
android:layout_gravity="center_horizontal|top"
|
2018-06-26 10:27:44 -07:00
|
|
|
android:paddingLeft="12dp"
|
|
|
|
android:paddingRight="12dp"
|
|
|
|
android:paddingTop="4dp"
|
|
|
|
android:paddingBottom="4dp"
|
|
|
|
android:layout_marginTop="8dp"
|
|
|
|
style="@style/Signal.Text.Caption"
|
2018-07-12 16:03:32 -07:00
|
|
|
android:textColor="?attr/conversation_item_sticky_date_text_color"
|
2018-06-26 10:27:44 -07:00
|
|
|
android:textAllCaps="true"
|
2018-07-18 13:53:50 -07:00
|
|
|
android:background="?attr/conversation_item_sticky_date_background"
|
2018-06-26 10:27:44 -07:00
|
|
|
android:elevation="9dp"
|
2017-01-25 16:38:36 -08:00
|
|
|
android:visibility="gone"
|
|
|
|
tools:text="March 1, 2015" />
|
2012-07-19 14:22:03 -07:00
|
|
|
|
2016-10-19 22:08:00 -05:00
|
|
|
<View android:id="@+id/compose_divider"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="2dp"
|
|
|
|
android:layout_gravity="bottom"
|
|
|
|
android:background="@drawable/compose_divider_background"
|
2017-01-24 11:04:32 -08:00
|
|
|
android:alpha="1"
|
2016-10-19 22:08:00 -05:00
|
|
|
android:visibility="invisible" />
|
|
|
|
|
2017-01-24 11:04:32 -08:00
|
|
|
<ImageButton
|
|
|
|
android:id="@+id/scroll_to_bottom_button"
|
|
|
|
android:visibility="gone"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginEnd="10dp"
|
|
|
|
android:layout_marginRight="10dp"
|
2017-01-24 17:50:56 -08:00
|
|
|
android:layout_marginBottom="20dp"
|
2017-01-24 11:04:32 -08:00
|
|
|
android:padding="5dp"
|
|
|
|
android:layout_gravity="bottom|end"
|
|
|
|
android:background="@drawable/circle_tintable"
|
|
|
|
android:tint="@color/grey_600"
|
|
|
|
android:elevation="1dp"
|
|
|
|
android:alpha="0.9"
|
|
|
|
android:contentDescription="@string/conversation_fragment__scroll_to_the_bottom_content_description"
|
|
|
|
android:src="@drawable/ic_scroll_down"/>
|
2017-01-23 00:34:10 -08:00
|
|
|
|
2016-10-19 22:08:00 -05:00
|
|
|
</FrameLayout>
|