Advertisement
andyshon

menu

Nov 5th, 2018
172
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 2.19 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:tools="http://schemas.android.com/tools"
  4.    xmlns:app="http://schemas.android.com/apk/res-auto"
  5.    android:id="@+id/menuBg"
  6.    android:layout_width="match_parent"
  7.    android:layout_height="wrap_content"
  8.    android:background="@color/colorAccent"
  9.    android:clickable="true"
  10.    tools:context=".ui.dialog.BaseMenuFragment"
  11.  
  12.    >
  13.  
  14.     <eightbitlab.com.blurview.BlurView
  15.        android:id="@+id/menuBlur"
  16.        android:layout_width="match_parent"
  17.        android:layout_height="match_parent"
  18.        android:visibility="gone"
  19.        app:blurOverlayColor="#4804040f"
  20.        app:layout_constraintBottom_toBottomOf="parent"
  21.        app:layout_constraintEnd_toEndOf="parent"
  22.        app:layout_constraintStart_toStartOf="parent"
  23.        app:layout_constraintTop_toTopOf="parent" />
  24.  
  25.     <LinearLayout
  26.        android:id="@+id/bottomSheetMenu"
  27.        android:layout_width="match_parent"
  28.        android:layout_height="wrap_content"
  29.        android:layout_alignParentBottom="true"
  30.        android:layout_margin="16dp"
  31.        android:background="@drawable/bg_menu"
  32.        android:orientation="vertical"
  33.        android:paddingStart="25dp"
  34.        android:paddingTop="8dp"
  35.        android:paddingEnd="25dp"
  36.        android:paddingBottom="8dp">
  37.  
  38.         <android.support.v7.widget.AppCompatTextView
  39.            android:id="@+id/menuTitle"
  40.            android:layout_width="wrap_content"
  41.            android:layout_height="wrap_content"
  42.            android:layout_gravity="center"
  43.            android:singleLine="true"
  44.            android:textAlignment="center"
  45.            android:textColor="@color/textColor"
  46.            android:visibility="gone"
  47.            tools:text="Choose the reason why to report"
  48.            tools:visibility="visible" />
  49.  
  50.         <android.support.v7.widget.RecyclerView
  51.            android:id="@+id/menuList"
  52.            android:layout_width="match_parent"
  53.            android:layout_height="wrap_content"
  54.            tools:itemCount="3"
  55.            tools:listitem="@layout/item_menu" />
  56.     </LinearLayout>
  57.  
  58.  
  59.  
  60. </RelativeLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement