PreferenceActivity in Android is a base class for an activity to show a hierarchy of preferences to the user
Questions tagged [preferenceactivity]
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() {
…

Jesus David Gulfo Agudelo
- 175
- 1
- 2
- 10
-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…

Vladyslav Panchenko
- 1,517
- 1
- 19
- 23
-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: