session-android/res/layout/contact_selection_list_fragment.xml

54 lines
1.9 KiB
XML
Raw Normal View History

2020-05-06 11:43:04 +10:00
<FrameLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
2020-05-06 11:43:04 +10:00
android:layout_height="match_parent">
<LinearLayout
android:id="@+id/emptyStateContainer"
android:layout_width="match_parent"
android:layout_height="match_parent"
2020-05-06 11:43:04 +10:00
android:gravity="center"
android:orientation="vertical">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="You don't have any contacts yet"
android:textColor="@color/text"
android:textSize="@dimen/medium_font_size" />
2020-05-06 11:43:04 +10:00
</LinearLayout>
2017-11-24 22:00:30 -08:00
<LinearLayout
android:id="@+id/mainContentContainer"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<androidx.swiperefreshlayout.widget.SwipeRefreshLayout
2020-05-06 11:43:04 +10:00
android:id="@+id/swipeRefreshLayout"
android:layout_width="match_parent"
android:layout_height="match_parent">
2017-11-24 22:00:30 -08:00
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/recyclerView"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:clipToPadding="false"
android:scrollbars="vertical" />
2017-11-24 22:00:30 -08:00
2020-05-06 11:43:04 +10:00
<TextView
android:id="@+id/loadingTextView"
android:layout_width="match_parent"
android:layout_height="match_parent"
2020-05-06 11:43:04 +10:00
android:gravity="center"
android:textColor="@color/text"
android:text="@string/contact_selection_group_activity__finding_contacts"
2020-05-06 11:43:04 +10:00
android:textSize="@dimen/large_font_size" />
2017-11-24 22:00:30 -08:00
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
2017-11-24 22:00:30 -08:00
</LinearLayout>
</FrameLayout>