Questions tagged [preferenceactivity]

PreferenceActivity in Android is a base class for an activity to show a hierarchy of preferences to the user

680 questions
0
votes
1 answer

onItemClickListener on PreferenceActivity

Im trying to retrieve the position of the pressed button, in a list of Preference. My class extends PreferenceActivity. This is my code: ListView listView = getListView(); listView.setOnItemClickListener(new AdapterView.OnItemClickListener() { …
-1
votes
1 answer

Attempt to invoke virtual method 'android.view.View android.view.Window.getDecorView()'

I updated the version of the androidx.appcompat:appcompatto 1.1.0-alpha03 from 1.1.0-alpha02. And after that my application started crashing in line super.onCreate(savedInstanceState);. It happens in a class that extends PreferenceActivity. Any…
-1
votes
1 answer

Splash screen covering PreferenceActivity

have an Activity extending PreferenceActivity opening like so, PreferenceActivity but when i add a splash screen to the app with: