Skip the headers in PreferenceActivity when there's only one header
问题 I added preference-headers to my app so that the preference screen would not look broken on Honeycomb and tablet sized ICS. However, I only have one header at the moment so you have to click through a header screen with only one entry on phone sized devices. Is there an easy way to tell android to skip the header screen when there's only one header, but to still show it on large screens? It seems that the stock Contacts app does this successfully but I've browsed through its source and can't