0

I am porting Android sample tv input to our target platform. While building on android studio or command line, following error is observed wrt to Leanback library. The lib is part of android.mk. But still it's unable to find Theme. Leanback declared under res/values/themes.xml

<style name="Theme.Transparent" parent="Theme.LeanBack">
    <item name="android:windowIsTranslucent">true</item>
    <item name="android:windowBackground">@android:color/transparent</item>
    <item name="android:windowContentOverlay">@null</item>
    <item name="android:windowNoTitle">true</item>
    <item name="android:backgroundDimEnabled">false</item>
</style>

Error retrieving parent for item: No resource found that matches the given name 'Theme.LeanBack'.

Tim
  • 41,901
  • 18
  • 127
  • 145
andchak
  • 1
  • 3

0 Answers0