and i mean add component without using xml layout)
2008/4/14, Zalunin Pavel <[EMAIL PROTECTED]>:
>
>
> hey
> i have view , how i can add any component into this view
>
> i search for smthng like this:
>
> class MyView extends View{
> ...
> public void mymethod(){
> TextView textView = new TextView(...);
> add(textView, [layout_params]); // <- i'm looking for smthng like
> this
> }
> ...
> }
>
> is there any way to do this?
>
> thanx
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---