Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <RelativeLayout
- android:id="@+id/activity_main"
- xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:app="http://schemas.android.com/apk/res-auto"
- xmlns:tools="http://schemas.android.com/tools"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="vertical">
- <android.support.design.widget.AppBarLayout
- android:id="@+id/appBar"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:background="@color/colorAccent"
- android:minHeight="?attr/actionBarSize">
- <android.support.v7.widget.Toolbar
- android:id="@+id/toolbar_main"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:background="@color/white"
- android:minHeight="?attr/actionBarSize"
- app:theme="@style/AppTheme">
- <ImageView
- android:id="@+id/toolbar_title"
- android:layout_width="100dp"
- android:layout_height="40dp"
- style="@style/TextAppearance.Widget.AppCompat.Toolbar.Title"
- android:src="@drawable/tittle"
- android:layout_gravity="center"/>
- </android.support.v7.widget.Toolbar>
- </android.support.design.widget.AppBarLayout>
- <FrameLayout
- android:layout_below="@+id/appBar"
- android:id="@+id/frame_layout"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_above="@+id/navigation"
- android:animateLayoutChanges="true">
- </FrameLayout>
- <android.support.design.widget.BottomNavigationView
- android:id="@+id/navigation"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_alignParentBottom="true"
- android:background="#ffffff"
- app:itemIconTint="@color/nav_item_state_list"
- app:itemTextColor="@color/nav_item_state_list"
- app:menu="@menu/bottom_navigation_items"/>
- </RelativeLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement