Планета гаджетов / технологий
Read the blog post: https://medium.com/@ianhlake/theming-with-appcompat-1a292b754b35
AppCompat (http://developer.android.com/tools/support-library/features.html#v7-appcompat) gives you a consistent design across all API 7+ devices, but to go from consistent to amazing, use the theming tools provided by AppCompat.
Declare colors such as colorPrimary, colorPrimaryDark, and colorAccent in your theme and you’ll be able to affect large parts of your app without individually customizing components.
#BuildBetterApps
Watch more episodes of Android Development Patterns here: https://goo.gl/SYo07w
Subscribe to the Android Developers channel at http://goo.gl/GEh1ds
Источник