Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="@dimen/drawer_width"
- android:layout_height="match_parent"
- android:background="@color/colorPrimaryDark"
- android:orientation="vertical">
- <RelativeLayout
- android:layout_width="match_parent"
- android:layout_height="@dimen/drawer_header_height"
- android:background="@drawable/app_gradient"
- android:clickable="true">
- <ImageView
- android:id="@+id/image_drawer_header"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_alignParentStart="true"
- android:layout_alignParentTop="true"
- android:scaleType="centerCrop"
- android:visibility="gone"
- android:src="@drawable/image_navbar_header" />
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_alignParentBottom="true"
- android:layout_marginBottom="14dp"
- android:layout_marginStart="13dp"
- android:fontFamily="@font/roboto_black"
- android:padding="10dp"
- android:text="@string/title_nav_drawer"
- android:textColor="@color/colorNavBarTitleText"
- android:textSize="@dimen/drawer_header_text_size" />
- </RelativeLayout>
- <RelativeLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:visibility="gone"
- android:background="?android:attr/selectableItemBackgroundBorderless"
- android:layout_marginTop="@dimen/drawer_try_premium_layout_margin_top">
- <RelativeLayout
- android:id="@+id/layout_try_premium"
- android:layout_width="match_parent"
- android:layout_height="@dimen/drawer_try_premium_layout"
- android:background="@drawable/bg_drawer_header">
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_centerVertical="true"
- android:layout_marginStart="20dp"
- android:fontFamily="@font/roboto_bold"
- android:text="@string/string_try_premium"
- android:textColor="@color/colorNavDrawerPremiumText"
- android:textSize="@dimen/drawer_try_premium_text_size" />
- <ImageView
- android:layout_width="@dimen/drawer_try_premium_image_width"
- android:layout_height="@dimen/drawer_try_premium_image_height"
- android:layout_alignParentEnd="true"
- android:layout_centerVertical="true"
- android:layout_marginEnd="20dp"
- android:src="@drawable/ic_right_arrow_blue" />
- </RelativeLayout>
- </RelativeLayout>
- <RelativeLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent">
- <RelativeLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_above="@+id/layout_terms_and_privacy">
- <android.support.v7.widget.RecyclerView
- android:id="@+id/recyler_view_navigation_drawer"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:paddingTop="20dp" />
- </RelativeLayout>
- <LinearLayout
- android:id="@+id/layout_terms_and_privacy"
- android:layout_width="match_parent"
- android:layout_height="50dp"
- android:layout_alignParentBottom="true"
- android:orientation="horizontal">
- <TextView
- android:id="@+id/text_terms"
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_marginLeft="50dp"
- android:layout_weight="1"
- android:gravity="center"
- android:text="Terms"
- android:textColor="@color/colorNavBarItem1"
- android:textSize="@dimen/text_size_drawer_item1" />
- <TextView
- android:id="@+id/text_privacy"
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_marginRight="50dp"
- android:layout_weight="1"
- android:gravity="center"
- android:text="Privacy"
- android:textColor="@color/colorNavBarItem1"
- android:textSize="@dimen/text_size_drawer_item1" />
- </LinearLayout>
- </RelativeLayout>
- </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement