Do you accidentally use this resource: com.android.internal.R.layout.search_dropdown_item_icons_2line ? Since this is an internal package, perhaps not all of its implementations contain (or not every API level) or contain it, but with a different resource identifier.
source share