Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <android.support.v4.widget.DrawerLayout
- 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:id="@+id/drawer_layout"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:fitsSystemWindows="true"
- tools:openDrawer="start">
- <include
- layout="@layout/app_bar_main"
- android:layout_width="match_parent"
- android:layout_height="match_parent"/>
- <FrameLayout
- android:id="@+id/frameLayout"
- android:layout_width="match_parent"
- android:layout_height="250dp">
- <ImageView
- android:layout_width="match_parent"
- android:layout_height="250dp"
- android:background="@drawable/bg"/>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="180dp"
- android:orientation="vertical">
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="horizontal"
- android:weightSum="2">
- <ImageView
- android:id="@+id/back"
- android:layout_width="0dp"
- android:layout_height="24dp"
- android:layout_margin="16dp"
- android:layout_weight="0.2"
- android:src="@drawable/menu" />
- <com.usalamatechnology.manageapp.TextView_Lato
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_marginBottom="5dp"
- android:layout_marginLeft="14dp"
- android:layout_marginRight="14dp"
- android:layout_marginTop="50dp"
- android:layout_weight="1.6"
- android:id="@+id/trips_today"
- android:gravity="center_horizontal"
- android:text="Number of trips"
- android:textColor="#fff"
- android:textSize="16dp"
- android:textStyle="bold"
- />
- </LinearLayout>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginTop="10dp"
- android:gravity="center_horizontal"
- android:orientation="horizontal">
- <com.usalamatechnology.manageapp.TextView_Lato
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="0"
- android:id="@+id/total_trips"
- android:textColor="#fff"
- android:textSize="20dp"
- android:textStyle="bold" />
- <com.usalamatechnology.manageapp.Textview_lato_thin
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginLeft="3dp"
- android:text="trip(s)"
- android:textColor="#fff"
- android:textSize="14dp" />
- </LinearLayout>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginTop="10dp"
- android:gravity="center_horizontal"
- android:orientation="horizontal">
- <com.usalamatechnology.manageapp.Textview_lato_thin
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="center_vertical"
- android:layout_marginLeft="5dp"
- android:text="Teller"
- android:id="@+id/driver_car"
- android:textColor="#fff"
- android:textSize="14dp" />
- </LinearLayout>
- </LinearLayout>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="68dp"
- android:layout_marginTop="185dp"
- android:gravity="center_horizontal"
- android:orientation="horizontal">
- <Button
- android:id="@+id/makePayment"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="center_vertical"
- android:layout_marginLeft="5dp"
- android:background="@drawable/roun_rect_white"
- android:text="Pay"
- android:textColor="@color/colorGray"
- android:textSize="15dp"
- android:textStyle="bold" />
- </LinearLayout>
- </FrameLayout>
- <com.rom4ek.arcnavigationview.ArcNavigationView
- android:id="@+id/nav_view"
- android:layout_width="wrap_content"
- android:layout_height="match_parent"
- android:layout_gravity="start"
- android:background="@android:color/white"
- android:fitsSystemWindows="true"
- app:arc_cropDirection="cropInside"
- app:arc_width="96dp"
- app:itemBackground="@android:color/white"
- app:headerLayout="@layout/nav_header_main"
- app:menu="@menu/activity_main_drawer"/>
- <com.rom4ek.arcnavigationview.ArcNavigationView
- android:id="@+id/nav_view_right"
- android:layoutDirection="rtl"
- android:layout_width="wrap_content"
- android:layout_height="match_parent"
- android:layout_gravity="end"
- android:background="@android:color/white"
- android:fitsSystemWindows="true"
- app:arc_cropDirection="cropOutside"
- app:arc_width="72dp"
- app:itemBackground="@android:color/white"
- app:headerLayout="@layout/nav_header_main"
- app:menu="@menu/activity_main_drawer"/>'
- <LinearLayout
- android:id="@+id/linear"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="vertical"
- android:layout_marginTop="6dp"
- >
- <include
- layout="@layout/tripdetail"
- android:layout_marginTop="6dp"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="vertical"
- android:layout_below="@+id/frameLayout"
- />
- <android.support.v7.widget.RecyclerView
- android:layout_height="fill_parent"
- android:layout_width="match_parent"
- android:layout_marginTop="10dp"
- android:layout_marginBottom="5dp"
- android:id="@+id/recyclerview"
- >
- </android.support.v7.widget.RecyclerView>
- </LinearLayout>
- </android.support.v4.widget.DrawerLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement