我如何在 API 15 上使用棒棒糖功能

how i can use lollipop features on API 15

我有两个问题:

  1. 是否可以在 API 15 中使用 material?
  2. 如果是,我该怎么做?

我的意思是使用 android:elevation 等等。

  1. Is it possible to use the material in API 15? I Mean to use android:elevation and more lik

视情况而定。

您可以使用一些小部件和视图,例如 Toolbar adding the AppCompat Support Library or CollapsingToolbarLayout, SnackBar, FloatingActionButton 添加新的 设计支持库

但有些功能 只能与 API 21+ 一起使用。
例如 android:elevation(阴影)或 RippleDrawable 是在 Android 5.0 中引入的,但不在支持库中。

2 .If yes so how can I do this?

您可以从:

开始