我正在开发一个应用程序与演员的集成。我可以设置一个强制按钮,我甚至可以把我的应用程序的ChromeCast。但是,当我将MediaRouter作为依赖项包含时,我会得到浮动操作按钮的奇怪样式(或者没有它)。
下面是正确样式的按钮:

下面是添加MediaRouter依赖项时所发生的事情:

// build.gradle
dependencies {
// ....
// Removing the mediarouter fixes the "design" of the toaster, but then crashes app
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'
// ...对于造成这一问题的原因,或者我应该如何处理它,有什么想法吗?
https://stackoverflow.com/questions/46727400
复制相似问题