mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-30 13:12:25 -05:00
Use workaround for PreferenceScreen display bug on Honeycomb too
Fixes issue 4569
This commit is contained in:
parent
e2558fa831
commit
9afaaa1e6e
@ -14,9 +14,9 @@ public class K9PreferenceActivity extends SherlockPreferenceActivity {
|
||||
public void onCreate(Bundle icicle) {
|
||||
K9Activity.setLanguage(this, K9.getK9Language());
|
||||
|
||||
if (Build.VERSION.SDK_INT >= 6 && Build.VERSION.SDK_INT < 11) {
|
||||
// there's a display bug in 2.1, 2.2, 2.3 (unsure about 2.0)
|
||||
// which causes PreferenceScreens to have a black background.
|
||||
if (Build.VERSION.SDK_INT >= 6 && Build.VERSION.SDK_INT < 14) {
|
||||
// There's a display bug in all supported Android versions before 4.0 (SDK 14) which
|
||||
// causes PreferenceScreens to have a black background.
|
||||
// http://code.google.com/p/android/issues/detail?id=4611
|
||||
setTheme(K9.getK9ThemeResourceId(K9.THEME_DARK));
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user