Top "Preferencefragment" questions

A specialized Android fragment used to show a Preference Screen

PreferenceFragmentCompat requires preferenceTheme to be set

With the new PreferenceFragmentCompat from the v7 Preference Support Library: http://developer.android.com/tools/support-library/features.html#v7-preference, …

android android-fragments android-support-library preferencefragment preference-v7
Installing a support library for PreferenceFragmentCompat

I'm new to Android Studio and a total beginner at Android programming in general. I looked and looked and I …

android preferencefragment preference-v7
How to change the color of the PreferenceCategory divider in PreferenceScreen

I have an android.support.v4.preference.PreferenceFragment which uses the following PreferenceScreen: <PreferenceScreen xmlns:android="http://schemas.android.…

android android-preferences android-styles divider preferencefragment
androidx.preference.PreferenceScreen not found when creating Preferences screen

After following this tutorial to create a screen for preferences, there seems to be a problem with inflating the class …

android xml kotlin android-preferences preferencefragment
Android: Error inflating class PreferenceScreen

Please help me out here, I'm hitting brick wall for the last two days and can't figure it out. I …

android android-inflate preferencefragment
Can't get PreferenceFragmentCompat to work

I am trying to create an Activity that extends AppCompatActivity and has two fragments inside of it (one below another …

android android-fragments appcompatactivity preferencefragment support-preference
Keep the actionbar displayed in when changing PreferenceScreen

I'm trying to display a actionbar in my preference screen. In order to do so I added the following code …

android android-actionbar preferenceactivity preferencefragment
PreferenceFragmentCompat custom layout

I need a custom layout for my PreferenceFragmentCompat. In the docs for PreferenceFragmentCompat it seems that you can possibly inflate …

android android-support-library preferencefragment
Show up-Button in actionBar in subscreen preferences

I've implemented my preferences like shown in the official guidelines. I have a PreferenceActivity which creates the PreferenceFragment like this: @…

android settings preferences preferenceactivity preferencefragment
Toolbar is hidden in nested PreferenceScreen

I use PreferenceFragment in ActionBarActivity from support-v7 library. In the Activity I have Toolbar. Everything goes okay, until I open …

android android-preferences android-support-library android-toolbar preferencefragment