android - How to launch PreferenceScreen from the parent one -


i've added in app simple alertdialog asks if user wants redirected info preferencescreen. i'd know how launch child preferencescreen parent one.

thanks.

i don't know mean "info" preferencescreen, when writing preference xml file load in preferenceactivity subclass can nest preferencescreen tags:

<preferencescreen     xmlns:android="http://schemas.android.com/apk/res/android"     android:orderingfromxml="true" >     <preferencescreen         android:title="child preference screen"         android:summary="description">         <checkboxpreference             android:defaultvalue="false"             android:key="check1"             android:title="checkbox"             android:summaryoff="off"             android:summaryon="on" />         </preferencescreen> </preferencescreen> 

the child preference screen show automatically when touching entry in parent preference screeen.


Comments

Popular posts from this blog

c# - How to set Z index when using WPF DrawingContext? -

razor - Is this a bug in WebMatrix PageData? -

visual c++ - Using relative values in array sorting ( asm ) -