2015-11-03 01:40:41 +00:00
|
|
|
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2017-11-25 06:00:30 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:orientation="vertical">
|
2015-07-14 21:31:03 +00:00
|
|
|
|
|
|
|
<android.support.v4.widget.SwipeRefreshLayout
|
|
|
|
android:id="@+id/swipe_refresh"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content">
|
|
|
|
|
2015-11-03 01:40:41 +00:00
|
|
|
<android.support.v7.widget.RecyclerView
|
|
|
|
android:id="@+id/recycler_view"
|
2015-07-14 21:31:03 +00:00
|
|
|
android:layout_width="match_parent"
|
2016-09-07 19:26:34 +00:00
|
|
|
android:layout_height="match_parent"
|
2017-04-24 02:50:45 +00:00
|
|
|
android:clipToPadding="false"
|
2016-09-07 19:26:34 +00:00
|
|
|
android:scrollbars="vertical" />
|
2015-07-14 21:31:03 +00:00
|
|
|
|
|
|
|
<TextView android:id="@android:id/empty"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:gravity="center|center_vertical"
|
|
|
|
android:layout_marginTop="15dp"
|
|
|
|
android:text="@string/contact_selection_group_activity__finding_contacts"
|
|
|
|
android:textSize="20sp" />
|
|
|
|
|
|
|
|
</android.support.v4.widget.SwipeRefreshLayout>
|
2015-11-03 01:40:41 +00:00
|
|
|
|
|
|
|
<org.thoughtcrime.securesms.components.RecyclerViewFastScroller
|
|
|
|
android:id="@+id/fast_scroller"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="match_parent"
|
2015-11-23 18:46:01 +00:00
|
|
|
android:visibility="gone"
|
2015-11-26 18:04:27 +00:00
|
|
|
android:layout_gravity="end"/>
|
2015-11-03 01:40:41 +00:00
|
|
|
|
2017-11-25 06:00:30 +00:00
|
|
|
<LinearLayout android:id="@+id/show_contacts_container"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:visibility="gone"
|
|
|
|
tools:visibility="visible">
|
|
|
|
|
|
|
|
<FrameLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content">
|
|
|
|
|
|
|
|
<com.pnikosis.materialishprogress.ProgressWheel
|
|
|
|
android:id="@+id/progress"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:visibility="invisible"
|
|
|
|
app:matProg_circleRadius="145dp"
|
|
|
|
app:matProg_barWidth="6dp"
|
|
|
|
app:matProg_rimColor="@color/signal_primary"
|
|
|
|
app:matProg_barColor="@color/signal_primary_dark"
|
|
|
|
app:matProg_progressIndeterminate="true"
|
|
|
|
tools:visibility="visible"
|
|
|
|
/>
|
|
|
|
|
|
|
|
<ImageView android:layout_gravity="center"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:src="@drawable/no_contacts"/>
|
|
|
|
|
|
|
|
|
|
|
|
</FrameLayout>
|
|
|
|
|
|
|
|
<TextView android:id="@+id/show_contacts_description"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="20dp"
|
|
|
|
android:layout_marginLeft="50dp"
|
|
|
|
android:layout_marginRight="50dp"
|
|
|
|
android:textSize="15sp"
|
|
|
|
android:lineSpacingMultiplier="1.3"
|
|
|
|
android:gravity="center"
|
|
|
|
android:text="@string/contact_selection_list_fragment__signal_needs_access_to_your_contacts_in_order_to_display_them"/>
|
|
|
|
|
|
|
|
<Button android:id="@+id/show_contacts_button"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="20dp"
|
|
|
|
android:layout_gravity="center_horizontal"
|
|
|
|
android:background="@color/signal_primary"
|
|
|
|
android:textColor="@color/white"
|
|
|
|
android:padding="10dp"
|
|
|
|
android:text="@string/contact_selection_list_fragment__show_contacts"/>
|
|
|
|
</LinearLayout>
|
|
|
|
|
2015-11-03 01:40:41 +00:00
|
|
|
</FrameLayout>
|