By using LayoutInflater On Wed, Apr 13, 2011 at 10:27 PM, usher <[email protected]> wrote:
> So I have created this activity, and setContentView() with mail.xml > layout file. > Now I want to add some textView dynamically into this screen. I > already have these text view defined in a seperate xml file named > view.xml. > > How can I instantiate these textview components and add them into > screen? > In > I know we have inflate method, but once we call inflate, this view.xml > will be added to screen automatically....how can we achieve this? > > 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

