Advertisement
harshsin

xxmmll

May 11th, 2021
1,219
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.43 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:background="@color/bottom_nav_bar_background"
  8.    android:orientation="vertical"
  9.    tools:context="HomeScreen">
  10.  
  11.     <com.google.android.material.bottomnavigation.BottomNavigationView
  12.        android:id="@+id/bottom_nav_bar"
  13.        android:layout_width="409dp"
  14.        android:layout_height="wrap_content"
  15.        android:backgroundTint="@color/bottom_nav_bar_background"
  16.        android:paddingLeft="0dp"
  17.        android:paddingTop="0dp"
  18.        android:paddingRight="0dp"
  19.        android:paddingBottom="0dp"
  20.        app:itemBackground="@color/bottom_nav_bar_background"
  21.        app:itemIconSize="25dp"
  22.        app:itemIconTint="@color/bottom_nav_bar_icons"
  23.        app:itemTextColor="@color/bottom_nav_bar_icons"
  24.        app:layout_constraintBottom_toBottomOf="parent"
  25.        app:layout_constraintEnd_toEndOf="parent"
  26.        app:layout_constraintStart_toStartOf="parent"
  27.        app:layout_constraintTop_toTopOf="parent"
  28.        app:layout_constraintVertical_bias="1.0"
  29.        app:menu="@menu/bottom_navigation_bar"
  30.        />
  31.  
  32.  
  33. </androidx.constraintlayout.widget.ConstraintLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement