I've got a nested PreferenceScreen.
I'd like to hide the inside one sometimes.
In the PrefsActivity sub-class onCreate() method,
i call
Preference ot_cat = findPreference( "time_category" );
if ( ot_cat != null )
{
PreferenceScreen screen = getPreferenceScreen();
boolean bFound =
screen.removePreference(ot_cat);
Log.i( "TAG", "bFound=" + bFound );
}
the PreferenceScreen is found - but note removed.
bFound = false;
how do i hide the inner PreferenceScreen
--
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