diff --git a/core/java/android/preference/PreferenceActivity.java b/core/java/android/preference/PreferenceActivity.java index d3ab844acf0ce..c1ee0cfaaec19 100644 --- a/core/java/android/preference/PreferenceActivity.java +++ b/core/java/android/preference/PreferenceActivity.java @@ -473,6 +473,9 @@ public abstract class PreferenceActivity extends ListActivity implements } else { // If there are no headers, we are in the old "just show a screen // of preferences" mode. + setContentView(com.android.internal.R.layout.preference_list_content_single); + mListFooter = (FrameLayout) findViewById(com.android.internal.R.id.list_footer); + mPrefsContainer = findViewById(com.android.internal.R.id.prefs); mPreferenceManager = new PreferenceManager(this, FIRST_REQUEST_CODE); mPreferenceManager.setOnPreferenceTreeClickListener(this); } diff --git a/core/res/res/drawable-hdpi/panel_bg_holo_dark.9.png b/core/res/res/drawable-hdpi/panel_bg_holo_dark.9.png new file mode 100644 index 0000000000000..0f883dc8415e3 Binary files /dev/null and b/core/res/res/drawable-hdpi/panel_bg_holo_dark.9.png differ diff --git a/core/res/res/drawable-hdpi/panel_bg_holo_light.9.png b/core/res/res/drawable-hdpi/panel_bg_holo_light.9.png new file mode 100644 index 0000000000000..ddd242ba8d0ce Binary files /dev/null and b/core/res/res/drawable-hdpi/panel_bg_holo_light.9.png differ diff --git a/core/res/res/drawable-mdpi/panel_bg_holo_dark.9.png b/core/res/res/drawable-mdpi/panel_bg_holo_dark.9.png new file mode 100644 index 0000000000000..78a86a58e56c0 Binary files /dev/null and b/core/res/res/drawable-mdpi/panel_bg_holo_dark.9.png differ diff --git a/core/res/res/drawable-mdpi/panel_bg_holo_light.9.png b/core/res/res/drawable-mdpi/panel_bg_holo_light.9.png new file mode 100644 index 0000000000000..f4a25bc007dba Binary files /dev/null and b/core/res/res/drawable-mdpi/panel_bg_holo_light.9.png differ diff --git a/core/res/res/layout-xlarge/preference_list_content_single.xml b/core/res/res/layout-xlarge/preference_list_content_single.xml new file mode 100644 index 0000000000000..6899ed07cea97 --- /dev/null +++ b/core/res/res/layout-xlarge/preference_list_content_single.xml @@ -0,0 +1,104 @@ + + + + + + + + + + + + + + + + + + + +