在 Android 中使用 FloatingActionButton 的最低 Api 版本是多少?

What's the minimum Api version for using FloatingActionButton in Android?

我需要知道 api 版本支持 android 中的 fab 元素。

FloatingActionButton 可用于 API 7 (android 2.1),因为它已于 2015 年添加到 Android 支持库:http://android-developers.blogspot.ca/2015/05/android-design-support-library.html

要使用支持库来使用工厂,您可以使用此处提供的答案:

设计支持库版本的 blog postFloatingActionButton 是其中的一部分,说明如下:

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

来自 shamanland 的类似物 - FAB Library 也适用于 Android 2.1,API level 7.

我的api它支持的是7+。如果我没记错的话