Re: [android-developers] Hiding a nested PreferenceScreen

2011-11-29 Thread TreKing
On Mon, Nov 28, 2011 at 3:16 PM, dashman wrote: > the PreferenceScreen is found - but note removed. You're certain "ot_cat" is a sub-preference of the root? And you're doing this *before* you set the preference hierarchy on the activity?

[android-developers] Hiding a nested PreferenceScreen

2011-11-28 Thread dashman
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 ) {