Skip to content Skip to sidebar Skip to footer

Can "v17 Leanback Library"(android Tv Support Library) Support 2.x Or 4.x Device?

I have some trouble when develop on TV device, Can 'v17 leanback library' support 2.x or 4.x device? 'v17 leanback library' is a TV Support Libraries.It request the app's minSdkVer

Solution 1:

This seems to be quite an old question and since the Lollipop announcement, I guess it's easy to say that yes, since the Leanback API has been integrated in a support library.

compile 'com.android.support:leanback-v17:21.0.0'

I actually had some fun implementing the samples and my custom apps using it on Android KitKat and it all works like a charm.

Interesting to say though, you won't have the nice transitions as you can see them on Lollipop.

Edit: It is important to know that the leanback library supports all API levels starting from 17. However, you won't have all transitions and the BackgroundManager will not work prior to API 21.

Post a Comment for "Can "v17 Leanback Library"(android Tv Support Library) Support 2.x Or 4.x Device?"