Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
关于如何ListPreference在每行上使用图像自定义 a 等等,存在很多问题。然而,我感兴趣的是打开列表对话框的按钮。
ListPreference
例如,对于同步频率:
有没有办法用图像按钮替换通用的 listpref 按钮?
提前致谢!
您可以简单地使用该android:icon属性将图像添加到您的 ListPreference 条目。
android:icon
文档