Last active
October 15, 2016 20:52
-
-
Save Neyt/bef574239d4e202862f0e37e310aa5d5 to your computer and use it in GitHub Desktop.
from https://classroom.udacity.com/nanodegrees/ Android developer. We create the code for a simple app
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
<LinearLayout | |
xmlns:android="http://schemas.android.com/apk/res/android" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
android:paddingLeft="16dp" | |
android:paddingRight="16dp" | |
android:paddingTop="16dp" | |
android:paddingBottom="16dp" | |
android:orientation="vertical"> | |
<ImageView | |
android:src="@drawable/ocean" | |
android:layout_width="match_parent" | |
android:layout_height="0dp" | |
android:layout_weight="1" | |
android:scaleType="centerCrop" | |
android:layout_marginBottom="8dp" /> | |
<TextView | |
android:text="You're invited!" | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:textColor="@android:color/white" | |
android:textSize="45sp" | |
android:background="#009688"/> | |
<TextView | |
android:text="Bonfire at the beach" | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:textColor="@android:color/white" | |
android:textSize="24sp" | |
android:background="#009688"/> | |
</LinearLayout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment