mirror of
https://github.com/ArcaneChat/android.git
synced 2026-07-03 14:05:24 +02:00
2e9f7e58f2
* add 'Archived Chats' menu entry the menu entry is at the place where the 'Contact Requests' were before - that way, ppl may find existing contact requests easier. moreover, it is now possible to access 'Archived Chats' without endless scrolling ;) * for archived requests, show both tags * show a hint when 'Archived Chats' is empty * contact requests do not display unread count; do not retrieve it and do not show text in bold
81 lines
3.3 KiB
XML
81 lines
3.3 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<androidx.coordinatorlayout.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">
|
|
|
|
<TextView android:id="@+id/empty_title"
|
|
android:text="@string/chat_no_chats_yet_title"
|
|
android:textSize="20sp"
|
|
android:padding="16dp"
|
|
android:gravity="center"
|
|
android:lineSpacingMultiplier="1.3"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"/>
|
|
|
|
<TextView android:id="@+id/empty_subtitle"
|
|
android:text="@string/chat_no_chats_yet_hint"
|
|
android:textSize="16sp"
|
|
android:paddingLeft="16dp"
|
|
android:paddingTop="16dp"
|
|
android:paddingRight="16dp"
|
|
android:paddingBottom="64dp"
|
|
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">
|
|
|
|
<androidx.recyclerview.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"
|
|
app:backgroundTint="?attr/fab_color"
|
|
android:src="@drawable/ic_add_white_24dp"
|
|
android:focusable="true"
|
|
android:contentDescription="@string/menu_new_chat"/>
|
|
|
|
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|