Permalink
Browse files

Added resources used in Navigation Drawer

  • Loading branch information...
frogermcs committed Jan 31, 2015
1 parent 9737199 commit 4f42f9693fb74839261dd26759f15b04d0034073
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:gravity="center_vertical"
android:padding="12dp">
<ImageView
android:id="@+id/ivIcon"
android:layout_width="24dp"
android:layout_height="24dp"
android:layout_marginRight="24dp"
android:src="@drawable/ic_global_menu_direct" />
<TextView
android:id="@+id/tvLabel"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:lines="1"
android:text="Lorem ipsum"
android:textStyle="bold"
android:paddingTop="4dp"
android:padding="4dp"
android:textColor="#666666"
android:textSize="16sp" />
</LinearLayout>
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<View
android:layout_width="match_parent"
android:layout_height="1dp"
android:background="#dddddd" />
</FrameLayout>
@@ -0,0 +1,43 @@
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@drawable/btn_context_menu"
android:clickable="true">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content">
<ImageView
android:id="@+id/ivUserProfilePhoto"
android:layout_width="@dimen/global_menu_avatar_size"
android:layout_height="@dimen/global_menu_avatar_size"
android:layout_margin="12dp" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:layout_weight="1"
android:text="froger_mcs"
android:textColor="@color/style_color_primary"
android:textSize="16sp"
android:textStyle="bold" />
<ImageButton
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_margin="16dp"
android:background="@android:color/transparent"
android:src="@drawable/ic_global_menu_search" />
</LinearLayout>
<View
android:layout_width="match_parent"
android:layout_height="1dp"
android:layout_gravity="bottom"
android:background="#dddddd" />
</FrameLayout>
@@ -6,4 +6,5 @@
<dimen name="default_elevation">8dp</dimen>
<dimen name="comment_avatar_size">56dp</dimen>
<dimen name="user_profile_avatar_size">88dp</dimen>
<dimen name="global_menu_avatar_size">64dp</dimen>
</resources>

0 comments on commit 4f42f96

Please sign in to comment.