Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <androidx.coordinatorlayout.widget.CoordinatorLayout
- xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:app="http://schemas.android.com/apk/res-auto"
- xmlns:mapbox="http://schemas.android.com/apk/res-auto"
- xmlns:tools="http://schemas.android.com/tools"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- tools:context=".MainActivity">
- <include
- android:id="@+id/main_menu"
- layout="@layout/main_menu"
- android:layout_width="match_parent"
- android:layout_height="match_parent" />
- <include
- android:id="@+id/history_menu"
- layout="@layout/main_history"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:visibility="gone" />
- <LinearLayout
- android:id="@+id/bottom_navigation_bar_main"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_gravity="bottom"
- android:orientation="vertical">
- <LinearLayout
- android:id="@+id/linear_wrap_navigate_routes_main"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginBottom="30dp"
- android:gravity="center"
- android:weightSum="2"
- android:visibility="gone">
- <LinearLayout
- android:id="@+id/linear_navigate_main"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:background="@drawable/rectangle_rounded_blue"
- android:orientation="horizontal"
- android:paddingTop="4dp"
- android:paddingBottom="4dp">
- <ImageView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginStart="20dp"
- android:background="@drawable/navigate_blue_24dp" />
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="center_vertical"
- android:layout_marginStart="4dp"
- android:layout_marginEnd="20dp"
- android:text="Navigate"
- android:textColor="@android:color/white"
- android:textStyle="bold" />
- </LinearLayout>
- <LinearLayout
- android:id="@+id/linear_Routes_main"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginStart="20dp"
- android:background="@drawable/rectangle_rounded_blue"
- android:orientation="horizontal"
- android:paddingTop="4dp"
- android:paddingBottom="4dp"
- >
- <ImageView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginStart="20dp"
- android:background="@drawable/route_24dp" />
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="center_vertical"
- android:layout_marginStart="4dp"
- android:layout_marginEnd="20dp"
- android:text="Routes"
- android:textColor="@android:color/white"
- android:textStyle="bold" />
- </LinearLayout>
- </LinearLayout>
- <LinearLayout
- android:id="@+id/linear_layout_bottom"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_alignParentBottom="true"
- android:layout_gravity="bottom"
- android:background="#FFF"
- android:orientation="horizontal"
- android:outlineSpotShadowColor="@color/colorPrimary"
- android:weightSum="2">
- <LinearLayout
- android:id="@+id/map_main"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:orientation="vertical"
- android:paddingTop="5dp"
- android:paddingBottom="3dp">
- <ImageView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="center"
- android:background="@drawable/map_gray_24dp" />
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="center"
- android:fontFamily="@font/josefin_sans"
- android:text="Maps"
- android:textAlignment="center"
- android:textColor="#616161"
- android:textSize="12sp" />
- </LinearLayout>
- <LinearLayout
- android:id="@+id/history_main"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_weight="1"
- android:orientation="vertical"
- android:paddingTop="3dp"
- android:paddingBottom="5dp">
- <ImageView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="center"
- android:background="@drawable/history_gray_24dp" />
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="center"
- android:fontFamily="@font/josefin_sans"
- android:text="History"
- android:textColor="#616161"
- android:textSize="12sp" />
- </LinearLayout>
- </LinearLayout>
- </LinearLayout>
- </androidx.coordinatorlayout.widget.CoordinatorLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement