android drawable上不存在Android FAB加号

标签 android material-design android-5.0-lollipop android-6.0-marshmallow floating-action-button

在哪里可以找到 float 操作按钮中心的加号?

是安卓做的还是我自己做的?

最佳答案

您可以在 Vector Asset Studio 上找到加号图标.

  1. 在 Android Studio 中,打开一个 Android 应用项目。
  2. 在“项目”窗口中,选择 Android View 。
  3. 右键单击 res 文件夹并选择 New > Vector Asset。
  4. 单击 Android 图标按钮并查找加号

更多信息在这里:https://developer.android.com/studio/write/vector-asset-studio.html#materialicon

关于android drawable上不存在Android FAB加号,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36362080/

相关文章:

android - 为什么 sendBroadcastAsUser(intent,userHandle) 即使与 Android 5.0 中的设备所有者一起工作也不起作用?

java - 如何从选项菜单启动 Activity

android - 具有 MVP 设计模式的 Google Analytics

android - 在 android 侧边栏创建中获取错误并修复此问题

android - 如何使用 Android 支持库中的 Chips 组件?

css - 100% 宽度 flexbox 内的额外边距

java - 在 TextView 中打印数组

android - 如何在 Android 中使用 RecyclerView 应用 setItemChecked(position,true)?

安卓工作室 0.8.1 : New project and can't preview the L version in the renderer of phones

android - SDK Manager中Android 4.4W(API20)和Android L(API20,L Preview)有什么区别?