On 14 August 2010 06:26, Abhi <abishe...@gmail.com> wrote:
> Hi,
>   I am creating a custom view which has an image. The image can be of
> any type. What i want to achieve is that i want to draw an EditText
> control on top of the image so that the user can add some values to
> it. I am not sure how to achieve this. The onDraw control will not
> allow me to draw any view right? I am new to android so any help would
> be appreaciated.

Put them both in relative or absolute layout and make edit text object
overlap your image object and that's it. note layout order matters,
so text edit have to be second in layout order as  otherwise image view
will be drawn over it

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to