Skip to content

Instantly share code, notes, and snippets.

@RB-93
Created April 20, 2018 07:35
Show Gist options
  • Save RB-93/32ce54c2da646352872a2b2c5a6d569c to your computer and use it in GitHub Desktop.
Save RB-93/32ce54c2da646352872a2b2c5a6d569c to your computer and use it in GitHub Desktop.
Happy Bitrhday app - A birthday card app shows birthday wishings
<?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=".MainActivity">
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:scaleType="centerCrop"
android:src="@drawable/androidparty" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textSize="36sp"
android:fontFamily="sans-serif-light"
android:padding="20dp"
android:textColor="@android:color/white"
android:text="Happy Birthday Akshat!"
/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:layout_alignParentBottom="true"
android:textSize="36sp"
android:fontFamily="sans-serif-light"
android:padding="20dp"
android:textColor="@android:color/white"
android:text="From, Rohit" />
</RelativeLayout>
@RB-93
Copy link
Author

RB-93 commented Apr 20, 2018

Happy Birthday app Screenshot:

happy bday

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment