android - programmatically set PreferenceScreen -


i have preferncescreen page showing of data , not saving setting

the code below

    <?xml version="1.0" encoding="utf-8"?> <preferencescreen xmlns:android="http://schemas.android.com/apk/res/android">     <preferencecategory android:title="member subscription status">           <preferencescreen     android:title="subscription status"     android:summary="active"> </preferencescreen>           <preferencescreen     android:title="next payment date"     android:summary="2012-06-21 18:00:00s"> </preferencescreen>          <preferencescreen     android:title="plan type"     android:summary="family"> </preferencescreen>      </preferencecategory>   </preferencescreen> 

right wondering how should set summary of preferncescreen show on screen?

you can preference findpreference() , set summary setsummary().


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -