I'm working with Android Studio and met a deprecated method:
addPreferencesFromResource
(R.xml.settings
).
Inizialmento I removed the deprecation and gives me the error can not resolve symbol 'xml'
.
I wanted to know if:
- If you set the method addPreferencesFromResource again deprecated
- How can I use the method addPreferencesFromResource if it is deprecated?