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
Copy file name to clipboardExpand all lines: README.md
+47-10Lines changed: 47 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,8 +4,13 @@
4
4
5
5
This library is meant to fix some of the problems found in the official support preference-v7 library. Also, there are [new preference types](#extra-types) available, such as `RingtonePreference`, `DatePickerPreference`, and `TimePickerPreference`.
> Notice the versioning: the first three numbers are *always* the same as the latest official library while the last number is for own updates. I try to keep it up-to-date but if, for whatever reasons, I wouldn't notice the new support library versions, just issue a ticket.
29
34
@@ -47,6 +52,7 @@ public class MyPreferenceFragment extends PreferenceFragmentCompat {
47
52
> **Warning!** Watch out for the correct package name when importing `PreferenceFragmentCompat`, it should come from `com.takisoft.fix.support.v7.preference`.
> **Warning!**`PreferenceFragmentCompatDividers` is deprecated and will be removed from the AndroidX version of the lib. You should use `PreferenceFragmentCompat` instead.
@@ -82,6 +88,14 @@ For example, the sample app uses `PreferenceFixTheme.Light.NoActionBar` as the p
82
88
</style>
83
89
```
84
90
91
+
**Theme.MaterialComponents**
92
+
There's a NEW module called `preference-v7-material` that provides the new `Theme.MaterialComponents` related themes. You can add it to your project like this:
> Note that you may need to use multidexing after this because it uses the support design library which is a huge codebase.
98
+
85
99
### 4. That's it!
86
100
Now you can enjoy using the support preferences API without losing all your hair.
87
101
@@ -92,18 +106,18 @@ Now you can enjoy using the support preferences API without losing all your hair
92
106
There are additional preferences not part of the official support library, but decided to add them to some extra libraries. You can add all of them to your project using
0 commit comments