Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <android.support.design.widget.CoordinatorLayout
- xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:app="http://schemas.android.com/apk/res-auto"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="vertical">
- <android.support.design.widget.AppBarLayout
- android:id="@+id/appBarLayout"
- android:layout_width="match_parent"
- android:layout_height="wrap_content">
- <android.support.v7.widget.Toolbar
- android:id="@+id/my_toolbar"
- android:layout_width="match_parent"
- android:layout_height="?attr/actionBarSize"
- android:background="?attr/colorPrimary"
- android:elevation="4dp"
- app:contentInsetEnd="0dp"
- app:contentInsetStart="0dp"
- app:layout_scrollFlags="scroll|enterAlways"
- app:popupTheme="@style/ThemeOverlay.AppCompat.Light">
- <ImageView
- android:id="@+id/toolbar_icon_image_view"
- android:layout_width="wrap_content"
- android:layout_height="match_parent"
- android:adjustViewBounds="true"
- android:paddingBottom="7dp"
- android:paddingLeft="5dp"
- android:paddingTop="7dp"
- android:scaleType="centerInside"
- android:src="@drawable/toolbar_icon"/>
- </android.support.v7.widget.Toolbar>
- </android.support.design.widget.AppBarLayout>
- <android.support.v4.widget.DrawerLayout
- android:id="@+id/drawer_layout"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- app:layout_behavior="@string/appbar_scrolling_view_behavior">
- <android.support.v4.widget.SwipeRefreshLayout
- android:id="@+id/swipeRefreshLayout"
- android:layout_width="match_parent"
- android:layout_height="match_parent">
- <RelativeLayout
- android:id="@+id/main_grid_layout"
- android:layout_width="match_parent"
- android:layout_height="match_parent">
- <android.support.v4.view.ViewPager
- android:id="@+id/content_pager"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_above="@+id/sliding_tabs"/>
- <com.ili.view.SlidingTabLayout
- android:id="@+id/sliding_tabs"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_alignParentBottom="true"/>
- </RelativeLayout>
- </android.support.v4.widget.SwipeRefreshLayout>
- <!-- The navigation drawer -->
- <ListView
- android:id="@+id/left_drawer"
- android:layout_width="275dp"
- android:layout_height="match_parent"
- android:layout_gravity="left"
- android:choiceMode="singleChoice"
- android:descendantFocusability="beforeDescendants"/>
- </android.support.v4.widget.DrawerLayout
- </android.support.design.widget.CoordinatorLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement