Recently, I noticed that there AppCompat versions of most types View in Android, for example, ListView/ ListViewCompat Button/ AppCompatButton, and others.
For these simpler views (not counting, for example, SwitchCompat), what is the difference between them and the version of the Android Framework? I did not find any documentation on this ...
I am interested to know about the consequences of choosing any version and if there are any advantages in choosing one of them.
In particular:
- Difference between
ListViewandListViewCompat - The difference between
Button/AppCompatButton - The difference between
ImageView/AppCompatImageView - The difference between
EditText/AppCompatEditText - The difference between
TextView/AppCompatTextView
I changed from normal to the version of AppCompat with the expectation that the colors will be used from the theme and look the same on lollipop and pre-lollipop, but this is more likely the opposite effect on some types (for example, as ListView) p>
source
share