Thursday, 13 July 2017

Code For The The Happy Birthday Project

<?xml version="1.0" encoding="utf-8"?><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:src="@drawable/happybirthday"        android:layout_width="wrap_content"        android:layout_height="wrap_content"        android:scaleType="centerCrop"        />
    <TextView        android:text="Happy Birthday Bharath"        android:layout_width="wrap_content"        android:textColor="#ffffff"        android:layout_height="wrap_content"        android:textSize="24sp"/>

    <TextView        android:text="From Sambhav"        android:layout_width="wrap_content"        android:layout_alignParentBottom="true"        android:layout_alignParentRight="true"        android:textSize="24sp"        android:textColor="#ffffff"        android:layout_height="wrap_content" />

</RelativeLayout>



No comments:

Post a Comment