mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-22 16:07:30 +00:00
fb8d6cb538
1) RecyclerView-based, with better long scroller and more material-inspired look. 2) Add badge for Signal users to contact selection list. // FREEBIE
34 lines
1.2 KiB
XML
34 lines
1.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">
|
|
|
|
<android.support.v4.widget.SwipeRefreshLayout
|
|
android:id="@+id/swipe_refresh"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
|
|
<android.support.v7.widget.RecyclerView
|
|
android:id="@+id/recycler_view"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent" />
|
|
|
|
<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/fast_scroller"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="match_parent"
|
|
android:layout_gravity="right"/>
|
|
|
|
</FrameLayout>
|