blob: 626c1fc39776f7a3976e56563507d2f008656f23 [file] [log] [blame]
<?xml version="1.0" encoding="utf-8"?>
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/coordinator"
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:id="@+id/ll_search"
android:visibility="gone"
android:orientation="vertical">
<RadioGroup
android:id="@+id/rg_search"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:padding="@dimen/layout_padding_16dp">
<RadioButton
android:id="@+id/rb_online"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="@string/online"
android:layout_marginStart="@dimen/layout_padding_10dp"
android:layout_marginLeft="@dimen/layout_padding_10dp" />
<View
android:layout_width="1dp"
android:layout_height="match_parent"
android:layout_gravity="center"
android:background="#E7DFDF"/>
<RadioButton
android:id="@+id/rb_offline"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="@string/offline"
android:layout_marginStart="@dimen/layout_padding_10dp"
android:layout_marginLeft="@dimen/layout_padding_10dp" />
</RadioGroup>
<View
android:background="#cbcbcb"
android:layout_height="1dp"
android:layout_width="match_parent"
android:layout_marginBottom="@dimen/layout_padding_10dp"/>
</LinearLayout>
<androidx.swiperefreshlayout.widget.SwipeRefreshLayout
android:id="@+id/swipe_container"
android:layout_width="match_parent"
android:layout_height="match_parent">
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/rv_customers"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginBottom="@dimen/layout_padding_30dp" />
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
</LinearLayout>
<include
layout="@layout/layout_sweet_exception_handler"
android:id="@+id/layout_error"
android:visibility="gone"/>
<com.google.android.material.floatingactionbutton.FloatingActionButton
android:clickable="true"
android:focusable="true"
android:id="@+id/fab_add_customer"
android:layout_gravity="bottom|end"
android:layout_height="wrap_content"
android:layout_margin="@dimen/layout_padding_16dp"
android:layout_width="wrap_content"
app:layout_behavior="org.apache.fineract.utils.ScrollFabBehavior"
app:srcCompat="@drawable/ic_add_black_24dp"/>
</androidx.coordinatorlayout.widget.CoordinatorLayout>