Guest User

Untitled

a guest
May 4th, 2020
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.87 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <androidx.coordinatorlayout.widget.CoordinatorLayout 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.  
  8.     <androidx.constraintlayout.widget.ConstraintLayout
  9.        android:layout_width="match_parent"
  10.        android:layout_height="match_parent">
  11.  
  12.         <EditText
  13.            android:id="@+id/editText"
  14.            android:layout_width="0dp"
  15.            android:layout_height="48dp"
  16.            app:layout_constraintEnd_toStartOf="@+id/spinner"
  17.            app:layout_constraintHorizontal_bias="0.5"
  18.            app:layout_constraintStart_toStartOf="parent"
  19.            app:layout_constraintTop_toTopOf="parent" />
  20.  
  21.         <Spinner
  22.            android:id="@+id/spinner"
  23.            android:layout_width="0dp"
  24.            android:layout_height="48dp"
  25.            app:layout_constraintBottom_toBottomOf="@+id/editText"
  26.            app:layout_constraintEnd_toEndOf="parent"
  27.            app:layout_constraintHorizontal_bias="0.5"
  28.            app:layout_constraintStart_toEndOf="@+id/editText"
  29.            app:layout_constraintTop_toTopOf="@+id/editText" />
  30.  
  31.         <androidx.recyclerview.widget.RecyclerView
  32.            android:id="@+id/recycler"
  33.            android:layout_width="0dp"
  34.            android:layout_height="0dp"
  35.            app:layout_constraintBottom_toBottomOf="parent"
  36.            app:layout_constraintEnd_toEndOf="parent"
  37.            app:layout_constraintHorizontal_bias="0.498"
  38.            app:layout_constraintStart_toStartOf="parent"
  39.            app:layout_constraintTop_toBottomOf="@+id/editText" />
  40.  
  41.     </androidx.constraintlayout.widget.ConstraintLayout>
  42.  
  43. </androidx.coordinatorlayout.widget.CoordinatorLayout>
Add Comment
Please, Sign In to add comment