2012-07-19 21:22:03 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
|
2016-10-20 03:08:00 +00:00
|
|
|
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2017-11-14 02:01:05 +00:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
2016-10-20 03:08:00 +00:00
|
|
|
android:layout_width="fill_parent"
|
2017-11-14 02:01:05 +00:00
|
|
|
android:layout_height="match_parent">
|
2017-01-26 00:38:36 +00:00
|
|
|
|
2020-08-19 00:06:26 +00:00
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
2017-01-26 02:00:26 +00:00
|
|
|
android:id="@android:id/list"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2018-10-29 22:14:31 +00:00
|
|
|
android:paddingBottom="2dp"
|
2017-01-26 02:00:26 +00:00
|
|
|
android:scrollbars="vertical"
|
2018-06-26 17:27:44 +00:00
|
|
|
android:cacheColorHint="?conversation_background"
|
|
|
|
android:clipChildren="false"
|
|
|
|
android:clipToPadding="false"/>
|
2017-01-26 02:00:26 +00:00
|
|
|
|
2017-01-26 00:38:36 +00: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"
|
2019-03-20 22:52:14 +00:00
|
|
|
android:paddingStart="12dp"
|
|
|
|
android:paddingEnd="12dp"
|
2018-06-26 17:27:44 +00:00
|
|
|
android:paddingTop="4dp"
|
|
|
|
android:paddingBottom="4dp"
|
|
|
|
android:layout_marginTop="8dp"
|
2020-01-13 05:47:50 +00:00
|
|
|
android:textSize="@dimen/small_font_size"
|
|
|
|
android:textColor="#99FFFFFF"
|
2018-07-18 20:53:50 +00:00
|
|
|
android:background="?attr/conversation_item_sticky_date_background"
|
2020-01-13 05:47:50 +00:00
|
|
|
android:elevation="10dp"
|
2017-01-26 00:38:36 +00:00
|
|
|
android:visibility="gone"
|
|
|
|
tools:text="March 1, 2015" />
|
2012-07-19 21:22:03 +00:00
|
|
|
|
2016-10-20 03:08:00 +00: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 19:04:32 +00:00
|
|
|
android:alpha="1"
|
2016-10-20 03:08:00 +00:00
|
|
|
android:visibility="invisible" />
|
|
|
|
|
2017-01-24 19:04:32 +00:00
|
|
|
<ImageButton
|
|
|
|
android:id="@+id/scroll_to_bottom_button"
|
|
|
|
android:visibility="gone"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2020-01-14 05:05:31 +00:00
|
|
|
android:layout_marginEnd="@dimen/medium_spacing"
|
|
|
|
android:layout_marginBottom="@dimen/medium_spacing"
|
2017-01-24 19:04:32 +00:00
|
|
|
android:layout_gravity="bottom|end"
|
2020-01-14 05:05:31 +00:00
|
|
|
android:background="@drawable/scroll_to_bottom_button_background"
|
2020-01-15 01:20:10 +00:00
|
|
|
android:paddingLeft="@dimen/small_spacing"
|
|
|
|
android:paddingTop="10dp"
|
|
|
|
android:paddingRight="@dimen/small_spacing"
|
|
|
|
android:paddingBottom="6dp"
|
2020-01-14 05:05:31 +00:00
|
|
|
android:tint="@color/text"
|
|
|
|
android:elevation="10dp"
|
2017-01-24 19:04:32 +00:00
|
|
|
android:contentDescription="@string/conversation_fragment__scroll_to_the_bottom_content_description"
|
2020-01-14 05:05:31 +00:00
|
|
|
android:src="@drawable/ic_keyboard_arrow_down_white_24dp"/>
|
2017-01-23 08:34:10 +00:00
|
|
|
|
2016-10-20 03:08:00 +00:00
|
|
|
</FrameLayout>
|