I am developing a Cast integration application. I can customize the throw button, and I can even give my application in ChromeCast. However, when I include MediaRouter
as a dependency, I get a weird style (or lack thereof) for a button with a floating action.
Here is the correct stylized button:

And this is what happens when I add the dependency MediaRouter
:

dependencies {
implementation 'com.android.support:mediarouter-v7:26.1.0'
implementation 'com.android.support:appcompat-v7:26.1.0'
implementation 'com.google.android.gms:play-services-cast-framework:10.0.1'
implementation 'com.android.support:design:26.1.0'
Any thoughts on what might be causing this or how I should eliminate it?
source
share