Ticker

6/recent/ticker-posts

Customize color for your app, for Material Theme, using Android Studio


The new material theme provides:

  • System widgets that let you set their color palette
  • Touch feedback animations for the system widgets
  • Activity transition animations

You can customize the look of the material theme according to your brand identity with a color palette you control. You can tint the action bar and the status bar using theme attributes, as shown in Here.


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

This video show how to do it in Android Studio.


Create values/colors.xml to define our custom color.


#FFFF00
#502020
#FF00ff00
#FFff0000
#000000
#505050



Edit values-v21/styles.xml to use our custom color.






reference: Customize the Color Palette

إرسال تعليق

0 تعليقات