Created
October 7, 2016 20:37
-
-
Save akexorcist/cbb63367a9f195905ecdfe90637f6ca5 to your computer and use it in GitHub Desktop.
เฉลยโจทย์การออกแบบหน้าตาแอปพลิเคชัน
This file contains hidden or 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:id="@+id/activity_main" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
android:background="#F7F7F7" | |
android:orientation="vertical"> | |
<ImageView | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:adjustViewBounds="true" | |
android:src="@drawable/image_android_marshmallow" /> | |
<ImageView | |
android:layout_width="100dp" | |
android:layout_height="100dp" | |
android:layout_gravity="center_horizontal" | |
android:layout_marginTop="16dp" | |
android:src="@drawable/image_user_profile" /> | |
<TextView | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:layout_gravity="center_horizontal" | |
android:layout_marginBottom="24dp" | |
android:text="Marshmallow Boy" | |
android:textSize="20sp" /> | |
<LinearLayout | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:gravity="center_vertical" | |
android:orientation="horizontal" | |
android:paddingBottom="8dp" | |
android:paddingLeft="16dp" | |
android:paddingRight="16dp" | |
android:paddingTop="8dp"> | |
<ImageView | |
android:layout_width="24dp" | |
android:layout_height="24dp" | |
android:layout_marginLeft="16dp" | |
android:layout_marginRight="16dp" | |
android:src="@drawable/ic_phone" /> | |
<TextView | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:text="012-345-6789" | |
android:textSize="16sp" /> | |
</LinearLayout> | |
<LinearLayout | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:gravity="center_vertical" | |
android:orientation="horizontal" | |
android:paddingBottom="8dp" | |
android:paddingLeft="16dp" | |
android:paddingRight="16dp" | |
android:paddingTop="8dp"> | |
<ImageView | |
android:layout_width="24dp" | |
android:layout_height="24dp" | |
android:layout_marginLeft="16dp" | |
android:layout_marginRight="16dp" | |
android:src="@drawable/ic_mail" /> | |
<TextView | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:text="[email protected]" | |
android:textSize="16sp" /> | |
</LinearLayout> | |
<LinearLayout | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:gravity="center_vertical" | |
android:orientation="horizontal" | |
android:paddingBottom="8dp" | |
android:paddingLeft="16dp" | |
android:paddingRight="16dp" | |
android:paddingTop="8dp"> | |
<ImageView | |
android:layout_width="24dp" | |
android:layout_height="24dp" | |
android:layout_marginLeft="16dp" | |
android:layout_marginRight="16dp" | |
android:src="@drawable/ic_place" /> | |
<TextView | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:text="Bangkok, Thailand" | |
android:textSize="16sp" /> | |
</LinearLayout> | |
</LinearLayout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment