I have a vanilla preferences screen with just a few preferences.
Here's the XML that defines it:

<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen
  xmlns:android="http://schemas.android.com/apk/res/android";>
<PreferenceCategory>
<CheckBoxPreference android:title="Convenience Buttons"
android:summary="Shows or hides the convenience buttons (1d2, 1d4,
etc.)" android:key="showPref" android:defaultValue="true"></
CheckBoxPreference>
<EditTextPreference android:defaultValue="1" android:summary="Default
number of dice to roll" android:title="Number of Dice"
android:key="numPref"></EditTextPreference>
<EditTextPreference android:defaultValue="2" android:summary="Default
size of dice to roll" android:title="Size of Dice"
android:key="sizePref"></EditTextPreference>
<EditTextPreference android:defaultValue="0" android:summary="Default
modifier to apply to rolls" android:title="Modifier"
android:key="modPref"></EditTextPreference>

</PreferenceCategory>
</PreferenceScreen>

I've compared it to a number of samples I've found on the web, and
I've Googled around, but I've not found anything that would cause my
problem, which is this: When I rotate my phone, the preferences page
doesn't arrange itself into a landscape display. I tried it on a
friend's Android-powered phone and hers didn't rotate either. Other
apps on my phone rotate their preferences pages correctly, but mine
doesn't. What have I missed?

It does rotate correctly in the emulator.

Thanks much.

Jay Bryant

-- 
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