简体   繁体   English

什么是支持底部导航的minSDKVersion?

[英]What is the minSDKVersion that support Bottom navigation?

什么是支持底部导航的minSDKVersion?

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.

相关问题 InstantApp支持使用“ minSdkVersion”吗? - “minSdkVersion” for InstantApp support? 使用android支持库和片段的底部导航 - Bottom navigation using android support library and fragment Android设计支持导航抽屉在底部对齐 - Android design support navigation drawer align on bottom 我的minSdkVersion和targetSdkVersion是什么? - What will be my minSdkVersion and targetSdkVersion? 什么是 flutter.minSdkVersion? - What is flutter.minSdkVersion? minSdkVersion用于什么? - what is minSdkVersion used for? 我应该为compileSdkVersion,minSdkVersion和targetSdkVersion设置什么来支持从Marshmallow到Pie? - What should I set for compileSdkVersion, minSdkVersion, and targetSdkVersion to support from Marshmallow to Pie? Android Alarm Manager与4.4.x版本不一致。支持minSDKVersion 9和targetSdkVersion 21的替代解决方案是什么? - Android Alarm Manager inconsistent for 4.4.x.What is the alternative solution to support minSDKVersion 9 and targetSdkVersion 21 支持库v25.0.0动画中的底部导航视图? - Bottom Navigation View in Support Library v25.0.0 animation? 错误:从minSdkVersion 16升级到minSdkVersion 23的软件包android.support.multidex不存在 - error: package android.support.multidex does not exist whem upgrading from minSdkVersion 16 to minSdkVersion 23
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM