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.

connect device screen

however, when tap cast button again disconnect, "stop casting" box appears unusually small.

unusually small stop casting box

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.

correct appearance of stop casting box (youtube app)

any idea going on here? using exact code cast sdk android guide uses (the addition being custom buttons 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

Popular posts from this blog

python - pip install -U PySide error -

arrays - C++ error: a brace-enclosed initializer is not allowed here before ‘{’ token -

cytoscape.js - How to add nodes to Dagre layout with Cytoscape -