Created
March 25, 2018 21:03
-
-
Save alexaleluia12/64bf9587e32974a55831f62cb712d02e to your computer and use it in GitHub Desktop.
udacity user interface android
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"?> | |
<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="br.com.alexaleluia.happybirthday.MainActivity"> | |
<ImageView | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
android:src="@drawable/androidparty" | |
android:scaleType="centerCrop" | |
/> | |
<TextView | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:text="Happy Birthday Mari" | |
android:textSize="36sp" | |
android:paddingTop="8dp" | |
android:paddingLeft="16dp" | |
android:textColor="@android:color/white" | |
android:layout_alignParentTop="true" | |
android:fontFamily="sans-serif-light" | |
/> | |
<TextView | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:layout_alignParentRight="true" | |
android:layout_alignParentBottom="true" | |
android:text="From, Alex" | |
android:textSize="36sp" | |
android:textColor="#3F51B5" | |
android:padding="8dp" | |
android:fontFamily="sans-serif-light" | |
/> | |
</RelativeLayout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment