Material Design backward compatibility

前端 未结 6 1811
独厮守ぢ
独厮守ぢ 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:40

    Material Design from Android 2.2 (API 8) to present 5.0 (API 21)

    Here is what you need:

    1. Toolbar
    2. Material Design Library for widgets (buttons, checkboxes, etc)

    1. Toolbar

    Just get the idea and you ready to go.

    
    

    Setup guide: http://antonioleiva.com/material-design-everywhere/

    Source with example: https://github.com/antoniolg/MaterialEverywhere

    To make Toolbar work lower API 11 use Theme.AppCompat.Light.NoActionBar (instead windowActionBar set to false)

    
    

    2. Material Design Library

    Here is Material Design Library for pretty buttons, etc..

    Guide, code, example - https://github.com/navasmdc/MaterialDesignLibrary

    Guide how to add library to Android Studio 1.0 - How do I import material design library to Android Studio?

    .

    Happy coding ;)

提交回复
热议问题