Skip to content

Instantly share code, notes, and snippets.

@janishar
Last active August 22, 2016 14:59
Show Gist options
  • Save janishar/ef2a7636d5ea5dea0d7d7ecea2980644 to your computer and use it in GitHub Desktop.
Save janishar/ef2a7636d5ea5dea0d7d7ecea2980644 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:layout_width="match_parent"
android:layout_height="178dp"
android:orientation="vertical"
android:background="@color/colorPrimary"
android:paddingLeft="30dp">
<ImageView
android:id="@+id/profileImageView"
android:layout_width="50dp"
android:layout_height="50dp"
android:src="@drawable/ic_profile"
android:layout_gravity="left|top"
android:layout_marginTop="55dp" />
<TextView
android:id="@+id/nameTxt"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textColor="@color/white"
android:textSize="14sp"
android:layout_marginTop="20dp"
android:textStyle="bold"/>
<TextView
android:id="@+id/emailTxt"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textColor="@color/white"
android:layout_marginTop="5dp"
android:textSize="14sp"
android:textStyle="normal"/>
</LinearLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment