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
Post a Comment