Android Material Design on KitKat (and lower) devices

后端 未结 2 1700
感情败类
感情败类 2021-02-06 10:43

I\'m going to develop an android application in our school as a project.

I want to use the new Material Design by Google but i know its only available on Android-L Devi

2条回答
  •  情深已故
    2021-02-06 11:18

    Currently the Android-L contains the Material Theme which works only on Android-L release.

    You can build a Material Style without this Theme. For example:

    • you can use a custom ActionBar (it is a customView) with a solid color, without shadow and with the navdrawer icon insted of standard icon app.

    • You can build a subheader bar with a LinearLayout below the actionBar with the same color.

    • You can build a Floating Action Button with a floating circle (and a shadow in png)

    • and so on...

    We don't know what will be available for older releases. May be something as the new class Toolbar will be available in support library (and it will semplify the actionbar). I suggest you waiting a month.

提交回复
热议问题