Coding With Fun
Home Docker Django Node.js Articles Python pip guide FAQ Policy

What does theming look like in appcompat v21?


Asked by Selene Shepherd on Dec 15, 2021 FAQ



So a big focus of AppCompat v21 was in backporting this new theming to all API 7+ devices and support has only grown since then (what with tint-aware widgets being made public in AppCompat 22.1 and even more features added in AppCompat 23.1 ). This means that a simple theme might look like:
Just so,
AppCompat (aka ActionBarCompat) started out as a backport of the Android 4.0 ActionBar API for devices running on Gingerbread, providing a common API layer on top of the backported implementation and the framework implementation. AppCompat v21 delivers an API and feature-set that is up-to-date with Android 5.0 In this...
Consequently, So the answer is yes, use AppCompat to give your users a unified, stable experience rooted in Material Design. Share Follow answered Oct 27 '14 at 20:21 MrEngineer13MrEngineer13
In addition,
@f470071 - when it comes to a consistent theme across all API levels, AppCompat does indeed do that just fine and is going to be a lot better than you doing it yourself. – ianhanniballake Apr 2 '17 at 18:23 | Show 2more comments 2 Answers 2 ActiveOldestVotes 8
Thereof,
You can use AppCompat while still supporting Pure Material on Lollipop via alternate resources. So you don't really have to choose to support one or the other. The reason that Google spent so much time developing AppCompat is so devs could embrace Material design and still support legacy devices.