Created
June 4, 2015 13:25
-
-
Save cuber5566/b7df9228a6f74243338c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
xmlns:tools="http://schemas.android.com/tools" | |
xmlns:app="http://schemas.android.com/apk/res-auto" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
android:background="@color/background_grey" | |
android:fitsSystemWindows="true" | |
tools:context=".MainActivity"> | |
<android.support.v4.widget.DrawerLayout | |
android:id="@+id/drawer" | |
android:layout_height="match_parent" | |
android:layout_width="match_parent" | |
> | |
<!-- Content --> | |
<RelativeLayout | |
android:layout_width="match_parent" | |
android:layout_height="match_parent"> | |
<FrameLayout | |
android:id="@+id/main_frameLayout" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
android:layout_marginTop="@dimen/shadow_margin_action_bar"/> | |
<android.support.v7.widget.Toolbar | |
android:id="@+id/toolbar" | |
android:layout_height="@dimen/action_bar_height" | |
android:layout_width="match_parent" | |
android:background="@drawable/bg_toolbar" | |
> | |
<com.balysv.materialmenu.MaterialMenuView | |
android:id="@+id/action_bar_menu" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:layout_gravity="center_vertical" | |
android:layout_marginLeft="@dimen/default_padding" | |
android:layout_marginRight="@dimen/default_padding" | |
app:mm_color="@android:color/white"/> | |
<TextView | |
android:id="@+id/action_bar_title" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:layout_gravity="center_vertical" | |
android:textAppearance="@style/TextAppearance.AppCompat.Title" | |
android:fontFamily="sans-serif-medium" | |
android:text="@string/app_name" | |
android:singleLine="true" | |
android:ellipsize="end" | |
android:textColor="@android:color/white"/> | |
</android.support.v7.widget.Toolbar> | |
<tw.com.ezpay.twq.ezpaywallet.views.FloatingActionButton | |
android:id="@+id/add_card_fab" | |
android:layout_width="@dimen/fab_size" | |
android:layout_height="@dimen/fab_size" | |
android:padding="@dimen/fab_padding" | |
android:src="@drawable/ic_add_white_24dp" | |
app:button_float_action_background_color="@color/accent" | |
app:button_float_action_ripple_color="@color/white_disabled" | |
android:layout_alignParentRight="true" | |
android:layout_marginTop="@dimen/fab_margin_top" | |
android:layout_marginRight="@dimen/fab_margin_top" | |
android:visibility="gone" | |
/> | |
</RelativeLayout> | |
<!-- Side Drawer --> | |
<FrameLayout | |
android:id="@+id/navigation_drawer_frameLayout" | |
android:layout_width="@dimen/drawer_width" | |
android:layout_height="match_parent" | |
android:layout_gravity="start"/> | |
</android.support.v4.widget.DrawerLayout> | |
</RelativeLayout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment