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

标签 android android-support-library

我需要知道什么版本的 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/

相关文章:

android - 解决 Android Studio 中弃用的 NDK 警告

android - 我应该使用 SupportLibrary ActionBar 还是替代品?

java - 在包含 RecyclerView 的 fragment 之间切换时出现 NullPointerException

android - 使用自定义 Loader 时,不会在 ViewPager fragment 上调用 ​​onResume()

android - 混合版本会导致运行时崩溃。帮忙找个理由

Android:有没有办法更改 MediaPlayer 网址?

android - 在按钮上单击从每个 View 获取数据

android - 为什么 React Native Picker 在我的 Android 模拟器中无法工作?

android - 无法读取未定义的属性 'latitude'

java - DiffUtil.Callback 中 getChangePayload(int oldItemPosition, int newItemPosition) 的用法是什么