This commit is contained in:
nielsandriesse
2020-05-06 11:43:04 +10:00
parent 42d74208ff
commit 4599407b3a
8 changed files with 52 additions and 62 deletions

View File

@@ -1,13 +1,13 @@
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
<FrameLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
android:layout_height="match_parent">
<LinearLayout
android:id="@+id/emptyStateContainer"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center_horizontal|center_vertical"
android:gravity="center"
android:orientation="vertical">
<TextView
@@ -16,6 +16,7 @@
android:text="You don't have any contacts yet"
android:textColor="@color/text"
android:textSize="@dimen/medium_font_size" />
</LinearLayout>
<LinearLayout
@@ -25,9 +26,9 @@
android:orientation="vertical">
<android.support.v4.widget.SwipeRefreshLayout
android:id="@+id/swipeRefresh"
android:layout_width="match_parent"
android:layout_height="wrap_content">
android:id="@+id/swipeRefreshLayout"
android:layout_width="match_parent"
android:layout_height="match_parent">
<android.support.v7.widget.RecyclerView
android:id="@+id/recyclerView"
@@ -36,13 +37,14 @@
android:clipToPadding="false"
android:scrollbars="vertical" />
<TextView android:id="@android:id/empty"
<TextView
android:id="@+id/loadingTextView"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center|center_vertical"
android:layout_marginTop="15dp"
android:gravity="center"
android:textColor="@color/text"
android:text="@string/contact_selection_group_activity__finding_contacts"
android:textSize="20sp" />
android:textSize="@dimen/large_font_size" />
</android.support.v4.widget.SwipeRefreshLayout>

View File

@@ -1668,9 +1668,7 @@
<string name="activity_home_leave_group_dialog_message">Are you sure you want to leave this group?</string>
<string name="activity_home_delete_conversation_dialog_message">Are you sure you want to delete this conversation?</string>
<string name="activity_home_conversation_deleted_message">Conversation deleted</string>
<!-- ContactSelectionListLoader -->
<string name="ContactSelectionListLoader_contacts">Contacts</string>
<string name="ContactSelectionListLoader_closed_groups">Groups</string>
<string name="ContactSelectionListLoader_open_groups">Public Chats</string>
<string name="fragment_contact_selection_contacts_title">Contacts</string>
<string name="fragment_contact_selection_closed_groups_title">Closed Groups</string>
<string name="fragment_contact_selection_open_groups_title">Open Groups</string>
</resources>