You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 1, 2021. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+5-6
Original file line number
Diff line number
Diff line change
@@ -57,14 +57,13 @@ Notes
57
57
1. About the **actionBar**, all this library does is to simply put a Toolbar at the top of the PreferenceActivity, and you need to use the Toolbar instead of the ActionBar.
58
58
2. Not all preferences were imported.
59
59
3. Sadly, **reflection** was used for 2 functions of "PreferenceManager" which aren't public (yet the framework's classes have full access to it) : "unregisterOnActivityDestroyListener", "registerOnActivityDestroyListener". Those functions seem to be used only for dismissing the dialogs when the activity is being destroyed. Just in case something goes wrong, I've made the code ignore (and write in the logs) in case they are unreachable.
60
-
4.**Preference icon** is missing, but I think it should be easy to add it. The reason it was missing is because I need to use the internal class that extends ImageView for it, which has "minWidth" and "minHeight", yet those are missing from old APIs, so I would need to import the entire code of ImageView... However, I'm sure there is a better way.
61
-
5. Not tested on **PreferenceFragment** (yet), but you can try it using these libraries and see if you can support even older APIs :
60
+
4. Not tested on **PreferenceFragment** (yet), but you can try it using these libraries and see if you can support even older APIs :
6. In order to add **action items**, you need to do it completely via code, without using XML. Otherwise, on some Android versions (or all?), the action items will all gather inside the overflow menu item.
65
-
7. Some **attributes** should be used using Android's framework, and some using mine. Sorry for the confusion.
66
-
8.**Preference selection** obviously can't have ripples, but it should at least be possible to have Kitkat style selection for pre-Kitkat versions.
67
-
9. Sadly, it **doesn't support all kinds of preferences**. Currently, those are missing:
63
+
5. In order to add **action items**, you need to do it completely via code, without using XML. Otherwise, on some Android versions (or all?), the action items will all gather inside the overflow menu item.
64
+
6. Some **attributes** should be used using Android's framework, and some using mine. Sorry for the confusion.
65
+
7.**Preference selection** obviously can't have ripples, but it should at least be possible to have Kitkat style selection for pre-Kitkat versions.
66
+
8. Sadly, it **doesn't support all kinds of preferences**. Currently, those are missing:
0 commit comments