I have a PreferenceScreen child element (containing the ZonePicker fragment) in the following .xml:
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
android:title="@string/DateTimePreferencesTitle">
<CheckBoxPreference android:key="cb_pref"
android:title="@string/cb_pref_title"
android:summaryOn="@string/summaryOn"
android:summaryOff="@string/summaryOff"
/>
.
.
.
<PreferenceScreen
android:fragment="com.trimble.ag.amaethon.preferences.ZonePicker"
android:key="timezone"
android:title="@string/date_time_set_timezone"
android:summary="GMT-8:00"
/>
</PreferenceScreen>
The ZonePicker fragment extends ListFragment. I am trying to find a way to get at the above PreferenceScreen element and change the android:summary value from within the ZonePicker fragment.
Any ideas?