mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-29 11:17:47 +00:00
81 lines
3.3 KiB
XML
81 lines
3.3 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<android.support.design.widget.CoordinatorLayout
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="fill_parent"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
android:orientation="vertical">
|
|
|
|
<TextView android:id="@+id/empty_search"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="100dp"
|
|
android:gravity="center"
|
|
android:textSize="18sp"
|
|
android:padding="16dp"
|
|
android:visibility="invisible"
|
|
tools:text="No results found for 'foo'"/>
|
|
|
|
<LinearLayout android:id="@+id/empty_state"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:orientation="vertical"
|
|
android:visibility="gone"
|
|
tools:visibility="visible">
|
|
|
|
|
|
<ImageView android:id="@+id/empty"
|
|
android:src="@drawable/conversation_list_empty_state"
|
|
android:paddingTop="10dp"
|
|
android:layout_gravity="center_horizontal"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"/>
|
|
|
|
|
|
<TextView android:text="@string/conversation_list_fragment__give_your_inbox_something_to_write_home_about_get_started_by_messaging_a_friend"
|
|
android:textSize="20sp"
|
|
android:padding="16dp"
|
|
android:gravity="center"
|
|
android:lineSpacingMultiplier="1.3"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"/>
|
|
</LinearLayout>
|
|
|
|
<LinearLayout android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical"
|
|
tools:visibility="gone">
|
|
|
|
<org.thoughtcrime.securesms.components.reminder.ReminderView
|
|
android:id="@+id/reminder"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content" />
|
|
|
|
<android.support.v7.widget.RecyclerView
|
|
android:id="@+id/list"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:scrollbars="vertical"
|
|
android:nextFocusDown="@+id/fab"
|
|
android:nextFocusForward="@+id/fab"
|
|
tools:listitem="@layout/conversation_list_item_view" />
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
<org.thoughtcrime.securesms.components.registration.PulsingFloatingActionButton
|
|
android:id="@+id/fab"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="bottom|end"
|
|
android:layout_margin="16dp"
|
|
android:src="@drawable/ic_create_white_24dp"
|
|
android:focusable="true"
|
|
android:contentDescription="@string/conversation_list_fragment__fab_content_description"/>
|
|
|
|
|
|
</android.support.design.widget.CoordinatorLayout>
|