Created
January 13, 2018 05:02
-
-
Save dainantonio/60b6e97319f038d8f628eb85cd28f654 to your computer and use it in GitHub Desktop.
MyFirstApp- Single Screen
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
<RelativeLayout | |
xmlns:android="http://schemas.android.com/apk/res/android" | |
xmlns:tools="http://schemas.android.com/tools" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
tools:context=".MainActivity"> | |
<ImageView | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
android:src="@drawable/birthdaycake" | |
android:scaleType="centerCrop"/> | |
<TextView | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:text="Happy Birthday, Destyn!" | |
android:textColor="@android:color/white" | |
android:paddingLeft="20dp" | |
android:textSize="30sp"/> | |
<TextView | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:text="From, Dain" | |
android:textColor="@android:color/white" | |
android:textSize="30sp" | |
android:layout_alignParentRight="true" | |
android:layout_alignParentBottom="true" | |
android:paddingRight="20dp"/> | |
</RelativeLayout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment