How to Use Material Design in Android App?

前端 未结 2 529
刺人心
刺人心 2021-01-31 05:25

I\'ve gone to the Android Developer documentation to see how I can use material design, here:

https://developer.android.com/training/material/theme.html<

2条回答
  •  迷失自我
    2021-01-31 05:54

    Install SDK platform of Android 5.0 SDK then update your Support Library and Support Repository to the latest version via the SDK-Manager.

    Take a look at this link for creating material app

    http://developer.android.com/training/material/index.html

    With support libraries, you can provide similar behaviour on older devices like:

    • Using the Material Theme
    • Subset of UI widgets like
      • EditText
      • Spinner
      • RadioButton

    Also take a look at android design support library.

    More information :

    • https://chris.banes.me/2014/10/17/appcompat-v21/
    • http://android-developers.blogspot.co.uk/2014/10/appcompat-v21-material-design-for-pre.html
    • https://developer.android.com/training/material/compatibility.html

    But for using some concepts like FloatingActionButton in your application you can use this library : https://github.com/makovkastar/FloatingActionButton

    More libraries available here

    https://android-arsenal.com/

提交回复
热议问题