Created
January 12, 2018 13:35
-
-
Save thmsdnnr/f16a2a98900be3ade9c6baf8abf7787e to your computer and use it in GitHub Desktop.
Udacity — Happy Birthday Cat Card
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"?> | |
<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" | |
android:orientation="vertical" | |
tools:context="com.thmsdnnr.happybirthday.MainActivity"> | |
<ImageView | |
android:src="@drawable/cutecat" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
android:scaleType="centerCrop" /> | |
<TextView | |
android:text="Kind human, may this birthday be" | |
android:textSize="25sp" | |
android:textAlignment="center" | |
android:fontFamily="sans-serif-light" | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:padding="20dp" | |
android:background="@color/colorPrimary75" | |
android:textColor="#FFFFFF" /> | |
<TextView | |
android:text="...purrrrrfect." | |
android:textSize="32sp" | |
android:fontFamily="sans-serif-light" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:layout_alignParentBottom="true" | |
android:layout_alignParentRight="true" | |
android:layout_margin="20dp" | |
android:background="@color/colorPrimary" | |
android:textColor="#FFFFFF" /> | |
</RelativeLayout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment