mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-24 10:35:19 +00:00
361dab24d6
Fixed sharing in session (we can only share to one user at a time).
59 lines
2.2 KiB
XML
59 lines
2.2 KiB
XML
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical">
|
|
|
|
<LinearLayout
|
|
android:id="@+id/emptyStateContainer"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_centerInParent="true"
|
|
android:gravity="center_horizontal|center_vertical"
|
|
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" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/mainContentContainer"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical">
|
|
|
|
<android.support.v4.widget.SwipeRefreshLayout
|
|
android:id="@+id/swipeRefresh"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
|
|
<android.support.v7.widget.RecyclerView
|
|
android:id="@+id/recyclerView"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:clipToPadding="false"
|
|
android:scrollbars="vertical" />
|
|
|
|
<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>
|
|
|
|
<org.thoughtcrime.securesms.components.RecyclerViewFastScroller
|
|
android:id="@+id/fastScroller"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="match_parent"
|
|
android:visibility="gone"
|
|
android:layout_gravity="end"/>
|
|
</LinearLayout>
|
|
|
|
</FrameLayout>
|