Created
June 4, 2018 01:32
-
-
Save peshie/32e40182a1aa3e48abb5c79915e3bb10 to your computer and use it in GitHub Desktop.
HappyBirthday
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
<RelativeLayout | |
xmlns:android="http://schemas.android.com/apk/res/android" | |
xmlns:app="http://schemas.android.com/apk/res-auto" | |
xmlns:tools="http://schemas.android.com/tools" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
tools:context=".MainActivity"> | |
<ImageView | |
android:id="@+id/by" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
android:src="@drawable/by" | |
android:scaleType="centerCrop" | |
/> | |
<TextView | |
android:id="@+id/bd" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:text="Happy Birthday, Mary!" | |
android:textSize="30dp" | |
android:layout_margin="8dp" | |
android:textColor="#fff" | |
/> | |
<TextView | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:text="From, Patience!" | |
android:layout_alignBottom="@id/by" | |
android:textColor="#fff" | |
android:layout_alignParentRight="true" | |
android:layout_margin="5dp" | |
android:textSize="25sp" | |
android:layout_alignParentBottom="true" | |
/> | |
</RelativeLayout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment