I have a songs in list view which i am getting it from json service. I have a play button, Facebook and Twitter Share Button on every row. When i click on play button song starts and seek bar & Fb Twitter sharing also working Fine. Its working fine on emulator and as well as in mobile. But i am developing this app for android TV, & in Android TV when i click on Play and Share Button everything crashes, TV and my mobile has same API version. Please Help.
I hear about androidSupportrTl:true ? is this working for this issue ?
When i click on play button On Tv No error found Log Cat :
01-10 07:13:33.501 17284-17293/luck.materialdesign.tabsnavigator I/art: Thread[5,tid=17293,WaitingInMainSignalCatcherLoop,Thread*=0xab8d8600,peer=0x12c000a0,"Signal Catcher"]: reacting to signal 3
01-10 07:13:34.273 17284-17293/luck.materialdesign.tabsnavigator I/art: Wrote stack traces to '/data/anr/traces.txt'
android:supportsRtl="true"
only means that if you setsupportsRtl true
, your layout will be mirrored from right to left. So you do not have to create special layout for it. It just declares whether your application is willing to support right-to-left (RTL) layouts.This might be because of your layout. According to this thread, you need to fix your layout accordingly. Make sure that the API version you are using is supported in your Android TV.