Skip to content

Instantly share code, notes, and snippets.

@janishar
Last active August 22, 2016 14:59
Show Gist options
  • Save janishar/e76a4d77853b464227634addcf77f461 to your computer and use it in GitHub Desktop.
Save janishar/e76a4d77853b464227634addcf77f461 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/mainView"
android:layout_width="match_parent"
android:layout_height="50dp"
android:orientation="horizontal"
android:gravity="center|left"
android:paddingLeft="20dp">
<ImageView
android:id="@+id/itemIcon"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/ic_email_black_18dp"/>
<TextView
android:id="@+id/itemNameTxt"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textColor="@color/colorPrimaryDark"
android:text="Menu Item"
android:layout_marginLeft="10dp"
android:textSize="14sp" />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment