I have lately noticed that there are AppCompat versions of most View types in Android, for example ListView
/ ListViewCompat
, Button
/ AppCompatButton
etc.
For these more simple Views (not counting for example SwitchCompat), what are the difference between them and the Android Framework version? I have not found any documentation on this matter...
I'm interested in knowing the consequences of choosing either version and if there are any advantages in chosing one over the other.
Specifically:
- Difference between
ListView
andListViewCompat
- Difference between
Button
/AppCompatButton
- Difference between
ImageView
/AppCompatImageView
- Difference between
EditText
/AppCompatEditText
- Difference between
TextView
/AppCompatTextView
I changed from normal to AppCompat versions with the expectation that colors would be used from the theme and look the same on Lollipop and pre-lollipop, but it rather had the opposite effect on some views (such as ListView)