I'm a newcomer to developing for Android, and the concept of developing across multiple different platforms with different supported features on each is really making my head hurt.
For example, if I go into an xml file and set
android:elevation="10dp"
and it gives me the message "Attribute elevation is only used in API level 21 and higher(current min is 14), and says it'll simply ignore the attribute. Is this saying it'll completely ignore it even if I'm using a Lollipop device, or that it'll only ignore it if i'm not on a Lollipop device?
It will only ignore it if you're not on a Lollipop device. The older versions of Android will simply ignore any XML attributes that they do not understand.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With