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:Android="http://schemas.android.com/apk/res-auto"
- android:id="@+id/drawer_layout"
- android:layout_width="match_parent"
- android:layout_height="match_parent">
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent">
- <android.support.v7.widget.Toolbar
- xmlns:android="http://schemas.android.com/apk/res/android"
- android:id="@+id/toolbarnew"
- android:background="@color/greendown"
- android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar"
- android:popupTheme="@style/Theme.AppCompat.Light.DarkActionBar"
- android:layout_width="match_parent"
- android:layout_height="?actionBarSize" />
- </LinearLayout>
- <!-- The main content view -->
- <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="vertical">
- <android.support.v7.widget.Toolbar xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:app="http://schemas.android.com/apk/res-auto"
- android:id="@+id/toolbar"
- android:background="@color/primaryColor"
- android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar"
- android:popupTheme="@style/Theme.AppCompat.Light.DarkActionBar"
- android:layout_width="match_parent"
- android:layout_height="?actionBarSize" />
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="vertical">
- <RelativeLayout
- android:id="@+id/linear"
- android:layout_width="match_parent"
- android:layout_height="@dimen/actionbar"
- android:background="@color/main">
- <LinearLayout
- android:id="@+id/layout_menu"
- android:layout_width="wrap_content"
- android:layout_height="match_parent"
- android:gravity="center_vertical"
- android:layout_marginLeft="5dp"
- android:layout_marginRight="5dp">
- <ImageView
- android:id="@+id/menu"
- android:layout_width="25dp"
- android:layout_height="25dp"
- android:background="@drawable/ic_menu_white_18dp"/>
- </LinearLayout>
- <LinearLayout
- android:id="@+id/layout_smartpassenger"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_centerVertical="true"
- android:layout_toRightOf="@+id/layout_menu">
- <!--<ImageView-->
- <!--android:layout_width="30dp"-->
- <!--android:layout_height="30dp"-->
- <!--android:src="@mipmap/ic_launcher" />-->
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="Smart Passenger"
- android:textColor="@color/white"
- android:textSize="16sp" />
- </LinearLayout>
- <LinearLayout
- android:layout_width="wrap_content"
- android:layout_height="match_parent"
- android:layout_alignParentRight="true"
- android:layout_centerVertical="true">
- <LinearLayout
- android:layout_width="wrap_content"
- android:layout_height="match_parent"
- android:gravity="center_vertical"
- android:paddingLeft="15dp"
- android:paddingRight="15dp">
- <ProgressBar
- android:id="@+id/progressbar"
- android:layout_width="25dp"
- android:layout_height="25dp" />
- </LinearLayout>
- <LinearLayout
- android:id="@+id/linearlayoutrefrsh"
- android:layout_width="wrap_content"
- android:layout_height="match_parent"
- android:background="@drawable/click_red2"
- android:clickable="true"
- android:gravity="center_vertical"
- android:paddingLeft="15dp"
- android:paddingRight="15dp">
- <ImageView
- android:layout_width="20dp"
- android:layout_height="20dp"
- android:src="@mipmap/ic_refresh2" />
- </LinearLayout>
- <LinearLayout
- android:id="@+id/linearlayoutmoreclick"
- android:layout_width="wrap_content"
- android:layout_height="match_parent"
- android:background="@drawable/click_red2"
- android:clickable="true"
- android:gravity="center_vertical"
- android:paddingLeft="15dp"
- android:paddingRight="15dp"
- android:visibility="gone">
- <ImageView
- android:layout_width="20dp"
- android:layout_height="20dp"
- android:src="@mipmap/ic_more" />
- </LinearLayout>
- </LinearLayout>
- </RelativeLayout>
- <include
- layout="@layout/include_mapmain"
- android:layout_width="match_parent"
- android:layout_height="match_parent" />
- <!--<android.support.v4.widget.DrawerLayout-->
- <!--android:id="@+id/drawer_layout"-->
- <!--android:layout_width="match_parent"-->
- <!--android:layout_height="match_parent">-->
- <include
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_gravity="start"
- layout="@layout/include_menudrawer"
- />
- <!--</android.support.v4.widget.DrawerLayout>-->
- </LinearLayout>
- <FrameLayout
- android:id="@+id/framelayoututama2"
- android:layout_width="match_parent"
- android:layout_height="270dp" />
- <include layout="@layout/include_splashscreen" />
- </RelativeLayout>
- <!-- The navigation drawer -->
- <RelativeLayout
- android:id="@+id/left_navbar"
- android:layout_width="333dp"
- android:layout_height="match_parent"
- android:layout_gravity="start"
- android:background="@color/abc_primary_text_disable_only_material_dark"
- android:orientation="vertical" >
- <ImageView
- android:id="@+id/image_view"
- android:layout_width="match_parent"
- android:layout_height="200dp"
- android:background="@drawable/tpwallhaven" />
- <ListView android:id="@+id/left_drawer"
- android:layout_width="333dp"
- android:layout_height="match_parent"
- android:layout_gravity="start"
- android:choiceMode="singleChoice"
- android:divider="@android:color/transparent"
- android:dividerHeight="0dp"
- android:background="#111"/>
- </RelativeLayout>
- <!--<ListView android:id="@+id/left_drawer"-->
- <!--android:layout_width="333dp"-->
- <!--android:layout_height="match_parent"-->
- <!--android:layout_gravity="start"-->
- <!--android:choiceMode="singleChoice"-->
- <!--android:divider="@android:color/transparent"-->
- <!--android:dividerHeight="0dp"-->
- <!--android:background="#111"-->
- <!--android:layout_below="@id/toolbar"/>-->
- </android.support.v4.widget.DrawerLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement