Remove icon of DialogPreference appearing on PreferenceActivity screen
-
06-03-2021 - |
Question
Does anyone know how to remove the icon of DialogPreference
appearing on PreferenceActivity
screen?
The icon having down arrow bounded inside a circle (▼), which appears on the preference list.
Similar question to this one: Android: How to remove arrow down icon next to EditTextPreference entry?
Solution
Oh well, I've found the other way around is to create regular Preference
, and implement OnPreferenceClickListener
to display a dialog.
OTHER TIPS
Try setDialogIcon(null)
on your DialogPreference
.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow