AndroidDeveloperLB / MaterialPreferenceLibrary

Allows to have an ActionBar on PreferenceActivity
Apache License 2.0
406 stars 69 forks source link

Icon #9

Closed jemshit closed 9 years ago

jemshit commented 9 years ago

"android:icon" does not work on material preference list items, but works on default preference items. It would be good if we can use "android:icon" tag

AndroidDeveloperLB commented 9 years ago

I know. I've already written about this, currently on #4 of the notes.

AndroidDeveloperLB commented 9 years ago

ok, I've added icon support. Example of usage (for any kind of preference class I've made) :

<com.lb.material_preferences_library.custom_preferences.Preference
  android:summary="just some summary text"
  android:title="A simple Preference"
  app:icon="@android:drawable/sym_def_app_icon"/>