Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:app="http://schemas.android.com/apk/res-auto"
- xmlns:tools="http://schemas.android.com/tools"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:focusable="true"
- android:clickable="true"
- android:focusableInTouchMode ="true"
- android:background="@color/white">
- <LinearLayout
- android:id="@+id/searchView"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_marginStart="@dimen/space_20dp"
- android:layout_marginTop="@dimen/space_10dp"
- android:layout_marginEnd="@dimen/space_20dp"
- android:orientation="horizontal"
- android:weightSum="1"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toTopOf="parent"
- android:elevation="100dp"
- android:focusable="true"
- android:focusableInTouchMode="true">
- <EditText
- android:id="@+id/etOrdersSearch"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_weight="0.6"
- android:background="@drawable/border_search_spinner"
- android:drawableStart="@drawable/ic_search"
- android:drawablePadding="@dimen/space_20dp"
- android:fontFamily="@font/helvetica_neue_45_light"
- android:inputType="text"
- android:maxLines="1"
- android:paddingStart="@dimen/space_20dp"
- android:paddingTop="@dimen/space_10dp"
- android:paddingEnd="@dimen/space_20dp"
- android:paddingBottom="@dimen/space_10dp"
- android:textSize="@dimen/text_16sp" />
- <RelativeLayout
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_weight="0.4"
- android:background="@color/white"
- android:elevation="100dp">
- <LinearLayout
- android:id="@+id/filterView"
- android:orientation="vertical"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:background="@drawable/background_spinner_dropdown_bound"
- android:elevation="100dp"
- android:translationZ="90dp"
- />
- <com.limelife.android.utils.views.CustomSpinner
- android:id="@+id/spinnerOrderCategory"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_gravity="center_vertical"
- android:background="@drawable/border_right_side_rounded"
- android:dropDownWidth="@dimen/space_150dp"
- android:gravity="center"
- android:overlapAnchor="false"
- android:spinnerMode="dropdown"
- android:textSize="@dimen/text_16sp"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintHorizontal_bias="0.233"
- app:layout_constraintStart_toStartOf="parent"
- tools:listitem="@android:layout/activity_list_item"
- android:translationZ="90dp"
- android:popupElevation="0dp"
- android:elevation="@dimen/space_100dp" />
- </RelativeLayout>
- </LinearLayout>
- <LinearLayout
- android:id="@+id/ordersLoaderView"
- android:layout_width="match_parent"
- android:layout_height="0dp"
- android:layout_marginStart="@dimen/space_20dp"
- android:layout_marginTop="@dimen/space_10dp"
- android:layout_marginEnd="@dimen/space_20dp"
- android:layout_marginBottom="@dimen/space_10dp"
- android:background="@android:color/transparent"
- android:gravity="center"
- android:visibility="gone"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintTop_toBottomOf="@+id/searchView">
- <ProgressBar
- android:id="@+id/ordersLoadingProgressBar"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginStart="8dp"
- android:layout_marginLeft="8dp"
- android:layout_marginTop="16dp"
- android:layout_marginEnd="8dp"
- android:layout_marginRight="8dp"
- android:layout_marginBottom="16dp" />
- </LinearLayout>
- <androidx.recyclerview.widget.RecyclerView
- android:id="@+id/rvOrders"
- android:layout_width="match_parent"
- android:layout_height="0dp"
- android:layout_marginStart="@dimen/space_20dp"
- android:layout_marginTop="@dimen/space_10dp"
- android:layout_marginEnd="@dimen/space_20dp"
- android:focusable="true"
- android:clickable="true"
- android:focusableInTouchMode ="true"
- app:layout_constraintTop_toBottomOf="@+id/searchView"
- app:layout_constraintBottom_toBottomOf="parent"
- android:layout_marginBottom="@dimen/space_10dp"
- />
- </androidx.constraintlayout.widget.ConstraintLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement