我需要创建一个带有白色边框并填充纯色(蓝色或灰色)的 FAB。
xml
<android.support.design.widget.FloatingActionButton
android:id="@+id/myFab"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"/>
Run Code Online (Sandbox Code Playgroud)
我尝试了如何更改 android 设计支持库 FAB 按钮边框颜色中建议的已接受解决方案?. 但是没有用(没有添加边框)。
任何帮助将非常感激。