Handle other form factors   Part of Android Jetpack.

This topic outlines using the Preference Library with other supported form factors.

Android TV

You should use the AndroidX Leanback Preference Library for building settings on Android TV devices. As the Leanback Preference Library shares many of the same concepts as this library, you can use many of the same attributes to customize your settings screens.

Android Auto

The AndroidX Car library comes with a theme to provide better support for Auto devices. Enabling the car theme automatically inflates a PagedListView, which provides a scrolling experience that is optimized for Auto devices. In your car theme, specify the car preference theme. An example is shown below:

<style name="AppTheme" parent="Theme.Car.Light.NoActionBar">
    <item name="preferenceTheme">@style/PreferenceThemeOverlayCar</item>
</style>