材料设计向后兼容 [英] Material Design backward compatibility
问题描述
从提供的Android开发者页面我看到的例子是新的意见,如 RecyclerView
,是向后兼容的( android.support.v7。 widget.RecyclerView
)。
From examples provided on the Android Developer pages I see that new Views, like the RecyclerView
, are backward compatible (android.support.v7.widget.RecyclerView
).
是否所有的材料设计向后兼容(哪个版本)?
Are all the new things introduced in Material Design backward compatible (to which version)?
推荐答案
更新这个答案为棒棒堂 OS正式与支持库,你可以用你的项目中,以提供兼容旧版本发布
Updating this answer as Lollipop OS is officially released with support libraries, which you can use inside your project to provide compatibility to older versions.
支持库: V7 appcompat库
该库中增加了操作栏的用户界面设计模式的支持。这个库包含了材料设计的用户界面实现的支持。
This library adds support for the Action Bar user interface design pattern. This library includes support for material design user interface implementations.
如果您使用的是Android的工作室,那么你只需要包括下面的依赖标识符:
If you are using Android Studio then you just need to include below dependency identifier:
com.android.support:appcompat-v7:21.0.+
这篇关于材料设计向后兼容的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!