Using attributes from API level beyond minSdkVersion
Unsupported attributes are safely ignored.
From SDK documentation:
When parsing XML resources, Android ignores XML attributes that aren’t supported by the current device. So you can safely use XML attributes that are only supported by newer versions without worrying about older versions breaking when they encounter that code.
In this case, the manipulation of attributes that are different APIs must be made via code and not in XML.
In code, you can treat it.
For example:
if(Build.Version.SDK_INT > 10){ .... use an attribute }else{ .... use other}
For your specific case, use "icon"
<activity android:icon="@drawable/iconwhatever"></activity>