Material Design backward compatibility

前端 未结 6 1809
独厮守ぢ
独厮守ぢ 2020-12-04 09:29

From examples provided on the Android Developer pages I see that new Views, like the RecyclerView, are backward compatible (android.support.v7.widget.Recy

6条回答
  •  遥遥无期
    2020-12-04 09:50

    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.

    Support library: v7 appcompat library

    This library adds support for the Action Bar user interface design pattern. This library includes support for material design user interface implementations.

    If you are using Android Studio then you just need to include below dependency identifier:

    com.android.support:appcompat-v7:21.0.+
    

提交回复
热议问题