Use LayoutInflater<http://developer.android.com/reference/android/view/LayoutInflater.html> to load views dynamically in code from an XML layout. Then use findViewById<http://developer.android.com/reference/android/view/View.html#findViewById(int)> to get the seekbar from the created parent view.
------------------------------------------------------------------------------------------------- TreKing - Chicago transit tracking app for Android-powered devices http://sites.google.com/site/rezmobileapps/treking On Tue, Dec 1, 2009 at 12:20 PM, Marton Kodok <[email protected]> wrote: > I have a base view in XML. > http://img513.imageshack.us/img513/7171/contextnotionlevelprefs.jpg > > How can I repeat the section X times under, to look like here: > http://img687.imageshack.us/img687/4674/contextnotionleveldraft.png > > Then, how can I access the seekbar for all items? > > Please note that I want this to be dynamical to work eg: for 15 times. > > -- > Márton > > -- > 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]<android-beginners%[email protected]> > For more options, visit this group at > http://groups.google.com/group/android-beginners?hl=en -- 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] For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en

