I'm probably missing something straightforward, however, I cannot figure 
out how to organize my application settings/prefrences using the new 
pref_header.xml preferences now that the old method is deprecated.
 
I am trying to get the main settings screen (the first screen displayed by 
onCreate) to display a few checkboxes and two ListPreferences.
 
These are set up as:
 
 
<?xml version="1.0" encoding="utf-8"?> 
<preference-headers 
xmlns:android="http://schemas.android.com/apk/res/android"; >

<header 

android:fragment="com.redwagonsoftware.bonkbonk.PrefsActivity$PrefsFragment" 

android:icon="@android:drawable/ic_menu_edit" 
android:title="Display settings" > 
<extra android:name="pref-resource" android:value="pref_others" /> 

</header> 

</preference-headers>
 
 This works fine except that it makes the user tap one more time than is 
necessary.  The user is presented with a header that then takes them to a 
screen with the checkboxes and the two list preferences.
 
Question: If there's only one fragment is there a way to skip showing the 
header and then just show the contents of the fragment?
 
It seems as if there is no way to just show the application user settings 
without going through a header first.
 
Thanks in advance,
B.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to