Advertisement
Guest User

Untitled

a guest
Jan 27th, 2020
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 5.30 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3.    xmlns:app="http://schemas.android.com/apk/res-auto"
  4.    xmlns:tools="http://schemas.android.com/tools"
  5.    android:layout_width="match_parent"
  6.    android:layout_height="match_parent"
  7.    android:focusable="true"
  8.    android:clickable="true"
  9.    android:focusableInTouchMode ="true"
  10.    android:background="@color/white">
  11.  
  12.     <LinearLayout
  13.        android:id="@+id/searchView"
  14.        android:layout_width="0dp"
  15.        android:layout_height="wrap_content"
  16.        android:layout_marginStart="@dimen/space_20dp"
  17.        android:layout_marginTop="@dimen/space_10dp"
  18.        android:layout_marginEnd="@dimen/space_20dp"
  19.        android:orientation="horizontal"
  20.        android:weightSum="1"
  21.        app:layout_constraintEnd_toEndOf="parent"
  22.        app:layout_constraintStart_toStartOf="parent"
  23.        app:layout_constraintTop_toTopOf="parent"
  24.        android:elevation="100dp"
  25.        android:focusable="true"
  26.        android:focusableInTouchMode="true">
  27.  
  28.         <EditText
  29.            android:id="@+id/etOrdersSearch"
  30.            android:layout_width="0dp"
  31.            android:layout_height="wrap_content"
  32.            android:layout_weight="0.6"
  33.            android:background="@drawable/border_search_spinner"
  34.            android:drawableStart="@drawable/ic_search"
  35.            android:drawablePadding="@dimen/space_20dp"
  36.            android:fontFamily="@font/helvetica_neue_45_light"
  37.            android:inputType="text"
  38.            android:maxLines="1"
  39.            android:paddingStart="@dimen/space_20dp"
  40.            android:paddingTop="@dimen/space_10dp"
  41.            android:paddingEnd="@dimen/space_20dp"
  42.            android:paddingBottom="@dimen/space_10dp"
  43.            android:textSize="@dimen/text_16sp" />
  44.  
  45.         <RelativeLayout
  46.            android:layout_width="0dp"
  47.            android:layout_height="match_parent"
  48.            android:layout_weight="0.4"
  49.            android:background="@color/white"
  50.            android:elevation="100dp">
  51.  
  52.             <LinearLayout
  53.                android:id="@+id/filterView"
  54.                android:orientation="vertical"
  55.                android:layout_width="match_parent"
  56.                android:layout_height="match_parent"
  57.                android:background="@drawable/background_spinner_dropdown_bound"
  58.                android:elevation="100dp"
  59.                android:translationZ="90dp"
  60.                />
  61.  
  62.             <com.limelife.android.utils.views.CustomSpinner
  63.                android:id="@+id/spinnerOrderCategory"
  64.                android:layout_width="match_parent"
  65.                android:layout_height="match_parent"
  66.                android:layout_gravity="center_vertical"
  67.                android:background="@drawable/border_right_side_rounded"
  68.                android:dropDownWidth="@dimen/space_150dp"
  69.                android:gravity="center"
  70.                android:overlapAnchor="false"
  71.                android:spinnerMode="dropdown"
  72.                android:textSize="@dimen/text_16sp"
  73.                app:layout_constraintEnd_toEndOf="parent"
  74.                app:layout_constraintHorizontal_bias="0.233"
  75.                app:layout_constraintStart_toStartOf="parent"
  76.                tools:listitem="@android:layout/activity_list_item"
  77.                android:translationZ="90dp"
  78.                android:popupElevation="0dp"
  79.                android:elevation="@dimen/space_100dp" />
  80.         </RelativeLayout>
  81.     </LinearLayout>
  82.  
  83.     <LinearLayout
  84.        android:id="@+id/ordersLoaderView"
  85.        android:layout_width="match_parent"
  86.        android:layout_height="0dp"
  87.        android:layout_marginStart="@dimen/space_20dp"
  88.        android:layout_marginTop="@dimen/space_10dp"
  89.        android:layout_marginEnd="@dimen/space_20dp"
  90.        android:layout_marginBottom="@dimen/space_10dp"
  91.        android:background="@android:color/transparent"
  92.        android:gravity="center"
  93.        android:visibility="gone"
  94.        app:layout_constraintBottom_toBottomOf="parent"
  95.        app:layout_constraintTop_toBottomOf="@+id/searchView">
  96.  
  97.         <ProgressBar
  98.            android:id="@+id/ordersLoadingProgressBar"
  99.            android:layout_width="wrap_content"
  100.            android:layout_height="wrap_content"
  101.            android:layout_marginStart="8dp"
  102.            android:layout_marginLeft="8dp"
  103.            android:layout_marginTop="16dp"
  104.            android:layout_marginEnd="8dp"
  105.            android:layout_marginRight="8dp"
  106.            android:layout_marginBottom="16dp" />
  107.  
  108.     </LinearLayout>
  109.  
  110.  
  111.  
  112.     <androidx.recyclerview.widget.RecyclerView
  113.        android:id="@+id/rvOrders"
  114.        android:layout_width="match_parent"
  115.        android:layout_height="0dp"
  116.        android:layout_marginStart="@dimen/space_20dp"
  117.        android:layout_marginTop="@dimen/space_10dp"
  118.        android:layout_marginEnd="@dimen/space_20dp"
  119.        android:focusable="true"
  120.        android:clickable="true"
  121.        android:focusableInTouchMode ="true"
  122.        app:layout_constraintTop_toBottomOf="@+id/searchView"
  123.        app:layout_constraintBottom_toBottomOf="parent"
  124.        android:layout_marginBottom="@dimen/space_10dp"
  125.        />
  126.  
  127. </androidx.constraintlayout.widget.ConstraintLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement