Advertisement
scorpion01

Untitled

Nov 21st, 2019
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.15 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <androidx.drawerlayout.widget.DrawerLayout
  3.    xmlns:android="http://schemas.android.com/apk/res/android"
  4.    xmlns:tools="http://schemas.android.com/tools"
  5.    xmlns:app="http://schemas.android.com/apk/res-auto"
  6.    android:id="@+id/drawer_layout"
  7.    android:layout_width="match_parent"
  8.    android:layout_height="match_parent"
  9.    tools:context=".MainActivity">
  10.  
  11.     <RelativeLayout
  12.        android:layout_width="match_parent"
  13.        android:layout_height="match_parent">
  14.         <TextView
  15.            android:layout_width="match_parent"
  16.            android:layout_height="match_parent"
  17.            android:gravity="center"
  18.            android:text="PAGI"/>
  19.     </RelativeLayout>
  20.  
  21.     <com.google.android.material.navigation.NavigationView
  22.        android:id="@+id/navigation"
  23.        android:layout_width="wrap_content"
  24.        android:layout_height="match_parent"
  25.        android:layout_gravity="start"
  26.        app:headerLayout="@layout/view_nav_header"
  27.        app:itemTextColor="#333"
  28.        app:itemIconTint="#333"
  29.        app:menu="@menu/menu_nav_items" />
  30.  
  31. </androidx.drawerlayout.widget.DrawerLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement