Hi Murphy,

can you just provide me some piece of code?

Thanks,
Manoj.

On Jul 4, 5:58 pm, Mark Murphy <[email protected]> wrote:
> manoj wrote:
> > is it possible to add a TextView dynamically at a particular location
> > (x,y)?
>
> > if so, how? Please help me.
>
> You will need to write your own layout manager (like LinearLayout or
> RelativeLayout), or use the deprecated AbsoluteLayout. Your layout would
> handle the positioning. Doing it at runtime is then just a matter of
> calling new TextView(this), filling in whatever text you want, and
> adding it to the layout with an appropriate set of LayoutParams.
>
> --
> Mark Murphy (a Commons 
> Guy)http://commonsware.com|http://twitter.com/commonsguy
>
> Android Development Wiki:http://wiki.andmob.org
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to