我应该支持 Android 2.3 及更高版本还是 4.0 及更高版本?
Should I support Android 2.3 and up or 4.0 and up?
开始构建我们应用程序的 android 版本,我正在尝试决定支持哪个版本。通过浏览 Play 商店,似乎大多数应用程序都属于这些组之一:
- 2.3 及更高版本
- 4.0 及更高版本
“2.3 及更高版本”应用程序看起来现代而时尚(material 设计等),我似乎没有注意到这些应用程序缺少任何 functional/styling 功能。
两者的主要区别是什么?
使用 AppCompat 时,我可以实现 material 设计 + 2.3 支持吗?
如果没有,我会错过哪些功能?
两者的主要区别是什么?
2.3和4.0是androidOS版本。喜欢 Windows 7、8 等
Android 2.3 – 姜饼 - API 9 级于 2010 年推出,而
Android 4.0 - 冰淇淋三明治 - API 14 级于 2011 年推出。
You can read more about android versions here.
使用AppCompat时,能否实现material设计+2.3支持?
是的,你可以。某些 material 功能的反向移植由 google 在 AppCompat 库(如回收器视图、工具栏等)中提供,但许多功能尚不可用或可能不可用。但是 github 上有很多开源库,您可以使用它们将 material 类效果恢复到 2.3 android 版本(例如显示效果、涟漪效果等)!
Note - Reveal effect, Ripple effect etc are available only on 5.0 and above, So even if you chose 4.0 you still need to use librares or
make these effects yourself!
我还建议阅读 here。
More than 90% devices on google play store run on 4.0 and above! Also
many classes are deprecated from older versions as new and better
solutions come to same problems.
如果我要在 2 版本之间进行选择,我会选择 4.0(前提是对选择其中任何一个都没有限制)。
开始构建我们应用程序的 android 版本,我正在尝试决定支持哪个版本。通过浏览 Play 商店,似乎大多数应用程序都属于这些组之一:
- 2.3 及更高版本
- 4.0 及更高版本
“2.3 及更高版本”应用程序看起来现代而时尚(material 设计等),我似乎没有注意到这些应用程序缺少任何 functional/styling 功能。
两者的主要区别是什么?
使用 AppCompat 时,我可以实现 material 设计 + 2.3 支持吗?
如果没有,我会错过哪些功能?
两者的主要区别是什么?
2.3和4.0是androidOS版本。喜欢 Windows 7、8 等
Android 2.3 – 姜饼 - API 9 级于 2010 年推出,而
Android 4.0 - 冰淇淋三明治 - API 14 级于 2011 年推出。
You can read more about android versions here.
使用AppCompat时,能否实现material设计+2.3支持?
是的,你可以。某些 material 功能的反向移植由 google 在 AppCompat 库(如回收器视图、工具栏等)中提供,但许多功能尚不可用或可能不可用。但是 github 上有很多开源库,您可以使用它们将 material 类效果恢复到 2.3 android 版本(例如显示效果、涟漪效果等)!
Note - Reveal effect, Ripple effect etc are available only on 5.0 and above, So even if you chose 4.0 you still need to use librares or make these effects yourself!
我还建议阅读 here。
More than 90% devices on google play store run on 4.0 and above! Also many classes are deprecated from older versions as new and better solutions come to same problems.
如果我要在 2 版本之间进行选择,我会选择 4.0(前提是对选择其中任何一个都没有限制)。