2012-07-18 22:35:13 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
|
2020-08-19 00:06:26 +00:00
|
|
|
<androidx.coordinatorlayout.widget.CoordinatorLayout
|
2017-11-12 20:39:22 +00:00
|
|
|
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"
|
2017-11-22 04:24:08 +00:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
2017-11-12 20:39:22 +00:00
|
|
|
android:orientation="vertical">
|
|
|
|
|
2017-11-13 17:31:01 +00:00
|
|
|
<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'"/>
|
|
|
|
|
2017-11-22 04:24:08 +00:00
|
|
|
<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">
|
|
|
|
|
2017-11-12 20:39:22 +00:00
|
|
|
|
|
|
|
<ImageView android:id="@+id/empty"
|
2017-11-22 04:24:08 +00:00
|
|
|
android:layout_width="wrap_content"
|
2019-02-13 19:52:55 +00:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_horizontal"
|
2019-07-18 05:59:41 +00:00
|
|
|
tools:src="@drawable/conversation_list_empty_state"
|
|
|
|
android:visibility="gone" />
|
2017-11-22 04:24:08 +00:00
|
|
|
|
2017-11-12 20:39:22 +00:00
|
|
|
|
2019-02-13 19:52:55 +00:00
|
|
|
<TextView android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2019-03-20 22:52:14 +00:00
|
|
|
android:layout_marginStart="32dp"
|
|
|
|
android:layout_marginEnd="32dp"
|
2019-02-13 19:52:55 +00:00
|
|
|
android:layout_marginTop="20dp"
|
|
|
|
android:layout_marginBottom="20dp"
|
|
|
|
style="@style/Signal.Text.Body"
|
2019-07-18 05:59:41 +00:00
|
|
|
android:text="@string/activity_conversation_list_empty_state_message"
|
2019-02-13 19:52:55 +00:00
|
|
|
android:gravity="center" />
|
2017-11-22 04:24:08 +00:00
|
|
|
</LinearLayout>
|
2012-07-18 22:35:13 +00:00
|
|
|
|
2015-04-04 08:38:44 +00:00
|
|
|
<LinearLayout android:layout_width="match_parent"
|
2014-03-18 06:25:09 +00:00
|
|
|
android:layout_height="match_parent"
|
2017-11-22 04:24:08 +00:00
|
|
|
android:orientation="vertical"
|
|
|
|
tools:visibility="gone">
|
2015-04-04 08:38:44 +00:00
|
|
|
|
2015-10-14 04:44:01 +00:00
|
|
|
<org.thoughtcrime.securesms.components.reminder.ReminderView
|
2015-04-04 08:38:44 +00:00
|
|
|
android:id="@+id/reminder"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
|
2020-08-19 00:06:26 +00:00
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
2015-04-04 08:38:44 +00:00
|
|
|
android:id="@+id/list"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2015-04-09 21:37:55 +00:00
|
|
|
android:scrollbars="vertical"
|
2015-04-04 08:38:44 +00:00
|
|
|
android:nextFocusDown="@+id/fab"
|
|
|
|
android:nextFocusForward="@+id/fab"
|
|
|
|
tools:listitem="@layout/conversation_list_item_view" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
2012-07-18 22:35:13 +00:00
|
|
|
|
2017-11-12 20:39:22 +00:00
|
|
|
|
|
|
|
<org.thoughtcrime.securesms.components.registration.PulsingFloatingActionButton
|
2015-04-04 08:38:44 +00:00
|
|
|
android:id="@+id/fab"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2015-11-26 18:04:27 +00:00
|
|
|
android:layout_gravity="bottom|end"
|
2015-04-04 08:38:44 +00:00
|
|
|
android:layout_margin="16dp"
|
|
|
|
android:src="@drawable/ic_create_white_24dp"
|
|
|
|
android:focusable="true"
|
2015-11-23 23:07:41 +00:00
|
|
|
android:contentDescription="@string/conversation_list_fragment__fab_content_description"/>
|
2015-01-21 07:26:58 +00:00
|
|
|
|
2017-11-12 20:39:22 +00:00
|
|
|
|
2020-08-19 00:06:26 +00:00
|
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|