gregkorossy / Android-Support-Preference-V7-Fix

Android androidx.preference support library has some issues, this lib tries to fix them.
https://discord.gg/87NVsSK
Apache License 2.0
497 stars 46 forks source link

problems when rendering layout #24

Closed amgdeveloper closed 7 years ago

amgdeveloper commented 8 years ago

In your sample project, when trying to rendering the layout it crashes, so I neither cannot use it in other projects.

crash

gregkorossy commented 8 years ago

This seems to be a problem(?) with the support library itself. Just ignore this warning, the rest of the layout should work fine.

amgdeveloper commented 8 years ago

The problem is that if I set as the app theme on PreferenceFix themes I cannot preview the layout,

gregkorossy commented 8 years ago

Try changing the API level to lower than 22 in the preview window. It seems like API 22+ displays this error if one uses AppCompat themes (which the PreferenceFixTheme is based on).

gregkorossy commented 7 years ago

In Android Studio 3.0 Canary 9 the rendering works fine with API 26.