Advertisement
Guest User

Untitled

a guest
Nov 17th, 2015
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 8.38 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2.  
  3. <android.support.v4.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android"
  4.     xmlns:Android="http://schemas.android.com/apk/res-auto"
  5.     android:id="@+id/drawer_layout"
  6.     android:layout_width="match_parent"
  7.     android:layout_height="match_parent">
  8.     <LinearLayout
  9.         android:layout_width="match_parent"
  10.         android:layout_height="match_parent">
  11.  
  12.         <android.support.v7.widget.Toolbar
  13.             xmlns:android="http://schemas.android.com/apk/res/android"
  14.             android:id="@+id/toolbarnew"
  15.             android:background="@color/greendown"
  16.             android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar"
  17.             android:popupTheme="@style/Theme.AppCompat.Light.DarkActionBar"
  18.             android:layout_width="match_parent"
  19.             android:layout_height="?actionBarSize" />
  20.  
  21.     </LinearLayout>
  22.     <!-- The main content view -->
  23.     <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  24.         android:layout_width="match_parent"
  25.         android:layout_height="match_parent"
  26.         android:orientation="vertical">
  27.  
  28.        <android.support.v7.widget.Toolbar xmlns:android="http://schemas.android.com/apk/res/android"
  29.             xmlns:app="http://schemas.android.com/apk/res-auto"
  30.             android:id="@+id/toolbar"
  31.             android:background="@color/primaryColor"
  32.             android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar"
  33.             android:popupTheme="@style/Theme.AppCompat.Light.DarkActionBar"
  34.             android:layout_width="match_parent"
  35.             android:layout_height="?actionBarSize" />
  36.  
  37.         <LinearLayout
  38.             android:layout_width="match_parent"
  39.             android:layout_height="match_parent"
  40.             android:orientation="vertical">
  41.  
  42.             <RelativeLayout
  43.                 android:id="@+id/linear"
  44.                 android:layout_width="match_parent"
  45.                 android:layout_height="@dimen/actionbar"
  46.                 android:background="@color/main">
  47.  
  48.                 <LinearLayout
  49.                     android:id="@+id/layout_menu"
  50.                     android:layout_width="wrap_content"
  51.                     android:layout_height="match_parent"
  52.                     android:gravity="center_vertical"
  53.                     android:layout_marginLeft="5dp"
  54.                     android:layout_marginRight="5dp">
  55.  
  56.                     <ImageView
  57.                         android:id="@+id/menu"
  58.                         android:layout_width="25dp"
  59.                         android:layout_height="25dp"
  60.                         android:background="@drawable/ic_menu_white_18dp"/>
  61.                 </LinearLayout>
  62.  
  63.                 <LinearLayout
  64.                     android:id="@+id/layout_smartpassenger"
  65.                     android:layout_width="wrap_content"
  66.                     android:layout_height="wrap_content"
  67.                     android:layout_centerVertical="true"
  68.                     android:layout_toRightOf="@+id/layout_menu">
  69.  
  70.                     <!--<ImageView-->
  71.                     <!--android:layout_width="30dp"-->
  72.                     <!--android:layout_height="30dp"-->
  73.                     <!--android:src="@mipmap/ic_launcher" />-->
  74.  
  75.                     <TextView
  76.                         android:layout_width="wrap_content"
  77.                         android:layout_height="wrap_content"
  78.                         android:text="Smart Passenger"
  79.                         android:textColor="@color/white"
  80.                         android:textSize="16sp" />
  81.                 </LinearLayout>
  82.  
  83.                 <LinearLayout
  84.                     android:layout_width="wrap_content"
  85.                     android:layout_height="match_parent"
  86.                     android:layout_alignParentRight="true"
  87.                     android:layout_centerVertical="true">
  88.  
  89.                     <LinearLayout
  90.                         android:layout_width="wrap_content"
  91.                         android:layout_height="match_parent"
  92.                         android:gravity="center_vertical"
  93.                         android:paddingLeft="15dp"
  94.                         android:paddingRight="15dp">
  95.  
  96.                         <ProgressBar
  97.                             android:id="@+id/progressbar"
  98.                             android:layout_width="25dp"
  99.                             android:layout_height="25dp" />
  100.                     </LinearLayout>
  101.  
  102.                     <LinearLayout
  103.                         android:id="@+id/linearlayoutrefrsh"
  104.                         android:layout_width="wrap_content"
  105.                         android:layout_height="match_parent"
  106.                         android:background="@drawable/click_red2"
  107.                         android:clickable="true"
  108.                         android:gravity="center_vertical"
  109.                         android:paddingLeft="15dp"
  110.                         android:paddingRight="15dp">
  111.  
  112.                         <ImageView
  113.                             android:layout_width="20dp"
  114.                             android:layout_height="20dp"
  115.                             android:src="@mipmap/ic_refresh2" />
  116.                     </LinearLayout>
  117.  
  118.                     <LinearLayout
  119.                         android:id="@+id/linearlayoutmoreclick"
  120.                         android:layout_width="wrap_content"
  121.                         android:layout_height="match_parent"
  122.                         android:background="@drawable/click_red2"
  123.                         android:clickable="true"
  124.                         android:gravity="center_vertical"
  125.                         android:paddingLeft="15dp"
  126.                         android:paddingRight="15dp"
  127.                         android:visibility="gone">
  128.  
  129.                         <ImageView
  130.                             android:layout_width="20dp"
  131.                             android:layout_height="20dp"
  132.                             android:src="@mipmap/ic_more" />
  133.                     </LinearLayout>
  134.                 </LinearLayout>
  135.  
  136.             </RelativeLayout>
  137.  
  138.             <include
  139.                 layout="@layout/include_mapmain"
  140.                 android:layout_width="match_parent"
  141.                 android:layout_height="match_parent" />
  142.  
  143.  
  144.             <!--<android.support.v4.widget.DrawerLayout-->
  145.             <!--android:id="@+id/drawer_layout"-->
  146.             <!--android:layout_width="match_parent"-->
  147.             <!--android:layout_height="match_parent">-->
  148.  
  149.  
  150.  
  151.             <include
  152.             android:layout_width="match_parent"
  153.             android:layout_height="match_parent"
  154.             android:layout_gravity="start"
  155.             layout="@layout/include_menudrawer"
  156.             />
  157.  
  158.             <!--</android.support.v4.widget.DrawerLayout>-->
  159.  
  160.         </LinearLayout>
  161.  
  162.         <FrameLayout
  163.             android:id="@+id/framelayoututama2"
  164.             android:layout_width="match_parent"
  165.             android:layout_height="270dp" />
  166.  
  167.         <include layout="@layout/include_splashscreen" />
  168.     </RelativeLayout>
  169.     <!-- The navigation drawer -->
  170.     <RelativeLayout
  171.         android:id="@+id/left_navbar"
  172.         android:layout_width="333dp"
  173.         android:layout_height="match_parent"
  174.         android:layout_gravity="start"
  175.         android:background="@color/abc_primary_text_disable_only_material_dark"
  176.         android:orientation="vertical" >
  177.  
  178.         <ImageView
  179.             android:id="@+id/image_view"
  180.             android:layout_width="match_parent"
  181.             android:layout_height="200dp"
  182.             android:background="@drawable/tpwallhaven" />
  183.  
  184.         <ListView android:id="@+id/left_drawer"
  185.             android:layout_width="333dp"
  186.             android:layout_height="match_parent"
  187.             android:layout_gravity="start"
  188.             android:choiceMode="singleChoice"
  189.             android:divider="@android:color/transparent"
  190.             android:dividerHeight="0dp"
  191.             android:background="#111"/>
  192.     </RelativeLayout>
  193.  
  194.     <!--<ListView android:id="@+id/left_drawer"-->
  195.         <!--android:layout_width="333dp"-->
  196.         <!--android:layout_height="match_parent"-->
  197.         <!--android:layout_gravity="start"-->
  198.         <!--android:choiceMode="singleChoice"-->
  199.         <!--android:divider="@android:color/transparent"-->
  200.         <!--android:dividerHeight="0dp"-->
  201.         <!--android:background="#111"-->
  202.         <!--android:layout_below="@id/toolbar"/>-->
  203. </android.support.v4.widget.DrawerLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement