tags:

views:

29

answers:

0

Hello,

I have a PreferenceActivity that uses addPreferencesFromResource() to load the view from the xml. The xml contains has the following structure:

<PreferenceScreen android:id="outer">
  <ListPreference ...></ListPreference>
  <PreferenceScreen android:id="inner">
    <CheckboxPreference ...></CheckboxPreference>
    <CheckboxPreference ...></CheckboxPreference>
    <CheckboxPreference ...></CheckboxPreference>
  </PreferenceScreen>  
</PreferenceScren>

I'd like to know know what happens when the "inner" PreferenceScreen is clicked. The view that is tight to this screen is displayed in the same activity as the "outer" one , or is it displayed in a new created one ? And if it is displayed in a new activity how could I obtain a reference to it so that I can set a theme ?

Thanks !