Created
March 3, 2017 03:43
-
-
Save krishsam02/7018fa1f288e6166bd7a327670a88e47 to your computer and use it in GitHub Desktop.
description of code of birthday
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"?> | |
<LinearLayout | |
xmlns:android="http://schemas.android.com/apk/res/android" | |
xmlns:tools="http://schemas.android.com/tools" | |
android:id="@+id/activity_main" | |
android:layout_width="match_parent" | |
android:layout_margin="8sp" | |
android:layout_height="match_parent" | |
android:orientation="vertical" | |
tools:context="com.example.sandeep.birthdaycake1.MainActivity"> | |
<TextView | |
android:layout_width="match_parent" | |
android:layout_height="0dp" | |
android:layout_weight=".3" | |
android:id="@+id/To" | |
android:textSize="25sp" | |
android:textColor="#f525" | |
android:text="Happy Birthday Kuldeep!!"/> | |
<ImageView | |
android:layout_width="match_parent" | |
android:layout_height="0dp" | |
android:layout_weight="2" | |
android:id="@+id/cake" | |
android:scaleType="centerCrop" | |
android:src="@drawable/cake"/> | |
<TextView | |
android:layout_width="wrap_content" | |
android:layout_height="0dp" | |
android:layout_weight=".2" | |
android:id="@+id/from" | |
android:textSize="30dp" | |
android:textColor="#f525" | |
android:layout_gravity="right" | |
android:text="from: Sandeep" /> | |
</LinearLayout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment