Created
January 15, 2017 15:56
-
-
Save novembergave/b1631444a04f129d4d09b47d35e31967 to your computer and use it in GitHub Desktop.
Udacity Android Basics: User Interface Project 1
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
<?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="match_parent" | |
android:background="@android:color/white" | |
android:orientation="vertical"> | |
<RelativeLayout | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content"> | |
<ImageView | |
android:id="@+id/qr_code" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:paddingLeft="32dp" | |
android:paddingRight="32dp" | |
android:src="@drawable/qr" /> | |
<TextView | |
android:id="@+id/name" | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:layout_alignBottom="@id/qr_code" | |
android:gravity="center" | |
android:paddingBottom="16dp" | |
android:text="novembergave" | |
android:textAllCaps="true" | |
android:textColor="@android:color/holo_green_dark" | |
android:textSize="24dp" | |
android:textStyle="bold" | |
android:typeface="sans" /> | |
<TextView | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:layout_alignBottom="@id/name" | |
android:layout_centerHorizontal="true" | |
android:text="Personal and Lifestyle Blogger" | |
android:textStyle="italic" | |
android:typeface="sans" /> | |
</RelativeLayout> | |
<LinearLayout | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:paddingLeft="50dp" | |
android:paddingTop="16dp"> | |
<ImageView | |
android:layout_width="32dp" | |
android:layout_height="32dp" | |
android:src="@drawable/web" /> | |
<TextView | |
android:layout_width="wrap_content" | |
android:layout_height="match_parent" | |
android:gravity="center_vertical" | |
android:paddingLeft="16dp" | |
android:text="novembergave.wordpress.com" | |
android:textColor="@android:color/darker_gray" /> | |
</LinearLayout> | |
<LinearLayout | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:paddingLeft="50dp"> | |
<ImageView | |
android:layout_width="32dp" | |
android:layout_height="32dp" | |
android:src="@drawable/mail" /> | |
<TextView | |
android:layout_width="wrap_content" | |
android:layout_height="match_parent" | |
android:gravity="center_vertical" | |
android:paddingLeft="16dp" | |
android:text="novembergave\@****.com" | |
android:textColor="@android:color/darker_gray" /> | |
</LinearLayout> | |
<LinearLayout | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:paddingLeft="50dp"> | |
<ImageView | |
android:layout_width="32dp" | |
android:layout_height="32dp" | |
android:scaleType="centerCrop" | |
android:src="@drawable/insta_icon" /> | |
<TextView | |
android:layout_width="wrap_content" | |
android:layout_height="match_parent" | |
android:gravity="center_vertical" | |
android:paddingLeft="16dp" | |
android:text="\@novembergave" | |
android:textColor="@android:color/darker_gray" /> | |
</LinearLayout> | |
</LinearLayout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment