I have a Wear app that needs to show preferences, to that effect, I'm currently using a PreferenceFragment
, and this works normally.
Now in the interest of using the Architecture components, I'm migrating my app to use FragmentActivity
instead of Activity
and the appcompat Fragment
s instead of the SDK ones. And therefore I have to use PreferenceFragmentCompat
instead of PreferenceFragment
.
When I do that I have non Android Wear styling, as seen on the screenshot.
As you can see, on the right image,
- There is no title
- The SwitchPreference doesn't work as expected (no widget + ellipsis)
- There are separators where there shouldn't be any
- There's not enough padding top and bottom so the first and last items are cropped
- The margin between the widget and the text is too big
Is this even doable, or am I wasting my time?