-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix SimpleMenuPreference for support lib v28.0.0-alpha3 #169
Comments
I mentioned the fix in my comment in another issue.
|
Which one? |
Fixed in meanwhile by using |
More precisely just put this in styles.xml: https://github.com/shadowsocks/shadowsocks-android/blob/8aabc73b9698b2bb26a89717d59ac1660e79fad8/mobile/src/main/res/values/styles.xml#L18-L25 |
I think it's better to use the |
According to decompiled source in alpha 1 this is how other preferences do it, but maybe they have changed it. |
Yes, they do it like that, but if they change an attribute in alpha4 (or whatever the next release will be), you have to copy them over instead of just using the changed attributes directly. |
Released v28.0.0.0-alpha3. It fixes this problem. |
Hey guys, sorry that I have to ask another question on this topic. I am currently using version 28.0.0.0-alpha3. Setting Btw: Awesome library! |
See #132 for details. This is a bug in the official lib, and this lib only has the fix in the AndroidX version (for the time being at least). |
Thanks a lot, I'll try it out. |
The
SimpleMenuPreference
uses some extra elements to simulate the reserved icon space, however, from alpha3 the default value of reserving icon space is set totrue
but the preference ignores it.The text was updated successfully, but these errors were encountered: