Guest User

Untitled

a guest
May 7th, 2021
48
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 1.65 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3.     xmlns:app="http://schemas.android.com/apk/res-auto"
  4.     android:layout_width="match_parent"
  5.     android:layout_height="match_parent">
  6.  
  7.  
  8.     <FrameLayout
  9.         android:id="@+id/sheet"
  10.         android:layout_width="match_parent"
  11.         android:layout_height="666dp"
  12.         android:layout_alignParentTop="true"
  13.         android:layout_alignParentBottom="true"
  14.         android:layout_marginStart="0dp"
  15.         android:layout_marginTop="202dp"
  16.         android:layout_marginEnd="0dp"
  17.         android:layout_marginBottom="0dp"
  18.         android:background="@drawable/bottom_sheet"
  19.         app:behavior_hideable="false"
  20.         app:behavior_peekHeight="250dp"
  21.         app:layout_behavior="com.google.android.material.bottomsheet.BottomSheetBehavior">
  22.  
  23.         <AutoCompleteTextView
  24.             android:id="@+id/value"
  25.             android:layout_width="321dp"
  26.             android:layout_height="48dp"
  27.             android:layout_marginBottom="821dp"
  28.             android:background="@drawable/textview_border"
  29.             android:completionThreshold="1"
  30.             android:hint="Ввввв"
  31.             android:inputType="number">
  32.  
  33.         </AutoCompleteTextView>
  34.     </FrameLayout>
  35.  
  36.  
  37.     <Button
  38.             android:id="@+id/addBtn"
  39.             android:layout_width="277dp"
  40.             android:layout_height="66dp"
  41.             android:layout_gravity="center_horizontal"
  42.             android:background="@drawable/addbtn"
  43.             android:text="Добавить"
  44.             android:layout_alignParentBottom="true"/>
  45.  
  46.  
  47. </RelativeLayout>
Advertisement
Add Comment
Please, Sign In to add comment