Hi,

I have a basic question but unable to figure out an answer inspite of
googling (probably i am searching with a wrong keyword)

I have a preferenceActivity, which loads the following XML:

<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android
">
    <PreferenceGroup android:key="@+id/ViewByMode"
         android:title="@string/viewbymode">

        <Preference
             android:key="Range"
            android:title="@string/range" />
       </PreferenceGroup>
</PreferenceScreen>

To the above PreferenceGroup ViewByMode, I would like to add more
Preferences dynamically.  Hence, I need to get a reference to the
PreferenceGroup "ViewByMode".  How do I do it?  How do I get PreferenceGroup
from findViewById(R.id.ViewByMode) or any other similar API?

Thanking in advance,
Vignesh

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

Reply via email to