mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-30 13:35:18 +00:00
15a389c171
Fixes #6098 // FREEBIE
58 lines
2.4 KiB
XML
58 lines
2.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="match_parent"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
xmlns:tools="http://schemas.android.com/tools">
|
|
|
|
<android.support.v7.widget.RecyclerView
|
|
android:id="@android:id/list"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:scrollbars="vertical"
|
|
android:cacheColorHint="?conversation_background" />
|
|
|
|
<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"
|
|
android:paddingLeft="6dp"
|
|
android:paddingRight="6dp"
|
|
android:paddingTop="3dp"
|
|
android:paddingBottom="3dp"
|
|
android:layout_marginTop="3dp"
|
|
android:textColor="@color/white"
|
|
android:background="?conversation_item_header_background"
|
|
android:textSize="14sp"
|
|
android:visibility="gone"
|
|
tools:text="March 1, 2015" />
|
|
|
|
<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"
|
|
android:alpha="1"
|
|
android:visibility="invisible" />
|
|
|
|
<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"
|
|
android:layout_marginBottom="20dp"
|
|
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"/>
|
|
|
|
</FrameLayout>
|