我需要知道什么版本的 api 支持 android 中的 fab 元素。
最佳答案
blog post对于设计支持库版本,FloatingActionButton
是其中的一部分,说明如下:
With a little help from the new Android Design Support Library, we’re bringing a number of important material design components to all developers and to all Android 2.1 or higher devices.
Android 2.1 是 API 级别 7,因此针对 7 及以上版本的应用可以使用 FloatingActionButton
关于android - 在 Android 中使用 FloatingActionButton 的最低 Api 版本是多少?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38191488/