[英]What is the minSDKVersion that support Bottom navigation?
It was added in v25.0.0 of the design support library as you can see in the docs . 如您在docs中所见,它已添加到设计支持库的v25.0.0中。
This library is backwards compatible as far as sdk version 9 . 该库向后兼容sdk版本9 。 See the value for minSdk here in the source code . 在源代码中请参见minSdk的值。
Actually I could not find documentation but I have used it with a minSDK of 14 and have not had problems with it. 实际上我找不到文档,但是我使用了minSDK为14的文档,并且没有任何问题。 AFAIK all design support library modules are designed to degrade gracefully on lower sdks. AFAIK所有设计支持库模块均设计为在较低的SDK上正常降级。 As a note I believe your compileSDK version has to match your support library version. 请注意,我相信您的compileSDK版本必须与您的支持库版本匹配。
If you're trying to use something like TabLayout , you can use with the support library. 如果您尝试使用TabLayout之类的东西 ,则可以与支持库一起使用。 I used it on a device with API 16, so I guess that's a pretty old API. 我在具有API 16的设备上使用了它,所以我猜那是一个相当老的API。 if you want some tutorial you could use this . 如果您需要一些教程,可以使用此方法 。 It's a really nice tutorial, hope you'll find it useful. 这是一个非常不错的教程,希望您会发现它很有用。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.