Stop casting/disconnect box is tiny on my Android Cast app -
i'm familiarizing myself google cast sdk building small test application, following cast sdk android guide. i've created standard actionbaractivity
-based app guide suggests (even though actionbaractivity
deprecated... shrug) i've added library dependencies, added necessary xml androidmanifest.xml
, menu_main.xml
, using mediarouteactionprovider
handle device detection , show/hide cast button in action bar. working well, , "connect device" box appears should when tap cast button.
however, when tap cast button again disconnect, "stop casting" box appears unusually small.
the box supposed wide enough show volume bar -- in super-small version, volume slider in fact show unusably small. compare supposed like, example in youtube app shown below.
any idea going on here? using exact code cast sdk android guide uses (the addition being custom button
s onclick
listeners control media playback , start casting several different test streams (both audio , video.)
this due changes made media router support library , fixed in future updates library. if absolutely needed, current workaround override dialog.
Comments
Post a Comment