简体   繁体   中英

Android lollipop UI in KitKat

I am developing an android app and I would like to have android l ui on it even for KitKat. I have seen apps like inbox and pushbullet to use this such as the rotation of the circle button and the status bar recolor. How do they do this?

Make use of the Android Support Library to maintain backwards compatibility.

According to the documentation:

The v7 Support Libraries r21 and above includes the following material design features:

  • Material design styles for some system widgets when you apply one of the Theme.AppCompat themes.
  • Color palette theme attributes in the Theme.AppCompat themes.

Source: https://developer.android.com/training/material/compatibility.html

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM