Yeah, I am able to do that.But I don't find the related method for
properties like-  android:layout_toRightOf ,android:layout_above.

           Now this view that I am going to add is present inside
RelativeLayout.So,those properties I have to set for this extra view to get
adjust with in layout properly.Is there any alternate way or related method
is available?



On Tue, Feb 15, 2011 at 4:09 PM, CrazzyAndroidians <[email protected]>wrote:

>
> yes, you can do it,
> using LayoutInflater and addView()
>
>
> Androidian
>
> On Feb 15, 3:13 pm, Deepak Kumar <[email protected]> wrote:
> > Hi All,
> >
> >               I have created a xml layout which includes ImageButtons in
> > row,col format.So,layout having some initial number of views.Now,I want
> to
> > add extra views at run time i.e through code.Is it possible? How to do
> it?
> >
> >  Thanks,
>
> --
> 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
>

-- 
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