How to add text on the Background image.

Put problem concerning Views, Layouts and other XML-Resources (like AndroidManifest) here.

How to add text on the Background image.

Postby vaishumol » Wed Jan 20, 2010 5:37 pm

Hi friends,
Here is my XML code goes,



<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content"

android:layout_height="wrap_content">

<ImageView
android:id="@+id/image_bg"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
/>
<TextView
android:id="@+id/wish_text"
android:text="Welcome"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
/>
</LinearLayout>


Problem is i would like to add the text on the image.
Whenever i add the text it comes after the text as i have set the textview after imageview.
I do not have any idea how to add.
Please help e friends.
vaishumol
Experienced Developer
Experienced Developer
 
Posts: 74
Joined: Sun Jan 03, 2010 6:33 am

Top

Return to View, Layout & Resource Problems

Who is online

Users browsing this forum: No registered users and 4 guests