在Android中使用FloatingActionButton的最低Api版本是什么?
答
的FloatingActionButton是提供给API 7(安卓2.1),因为它被添加到Android支持库在2015年:http://android-developers.blogspot.ca/2015/05/android-design-support-library.html
要使用可以使用的答案在这里提供的支持库使用FAB:https://*.com/a/31753179/6543020
答
的blog post的设计支持库版本,其中FloatingActionButton
是的一部分,规定如下:
从全新的Android设计支持溴化锂一点帮助ary,我们为所有开发人员和所有Android 2.1或更高版本的设备提供了许多重要的材料设计组件。
的Android 2.1是API第7级,所以应用定位7和上述可以使用FloatingActionButton
答
mine api it support is 7+。如果我没有错。