Advertisement
yoesuv

activity_main.xml

Oct 3rd, 2015
183
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.26 KB | None | 0 0
  1. <LinearLayout
  2.    xmlns:android="http://schemas.android.com/apk/res/android"
  3.    xmlns:tools="http://schemas.android.com/tools"
  4.    android:layout_width="match_parent"
  5.    android:layout_height="match_parent"
  6.    android:orientation="vertical"
  7.    tools:context=".MainActivity">
  8.  
  9.     <android.support.v7.widget.Toolbar
  10.        android:id="@+id/customToolbar"
  11.        android:layout_height="wrap_content"
  12.        android:layout_width="match_parent"
  13.        android:minHeight="?android:attr/actionBarSize"
  14.        android:background="?attr/colorPrimary"/>
  15.  
  16.     <android.support.v4.widget.DrawerLayout
  17.        android:id="@+id/drawerLayout"
  18.        android:layout_width="match_parent"
  19.        android:layout_height="match_parent">
  20.  
  21.         <TextView
  22.            android:text="@string/app_name"
  23.            android:layout_width="wrap_content"
  24.            android:layout_height="wrap_content"
  25.            android:textColor="@android:color/black" />
  26.  
  27.         <ListView
  28.            android:id="@+id/drawerListView"
  29.            android:layout_width="240dp"
  30.            android:layout_height="match_parent"
  31.            android:layout_gravity="start"
  32.            android:background="@color/abu_muda" />
  33.  
  34.     </android.support.v4.widget.DrawerLayout>
  35.  
  36. </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement