我对这两个API有点困惑。ResourcesCompat.getDrawable(Resourcesres,intid,Resources.Themetheme)ReturnadrawableobjectassociatedwithaparticularresourceIDandstyledforthespecifiedtheme.Varioustypesofobjectswillbereturneddependingontheunderlyingresource--forexample,asolidcolor,PNGimage,scalableimage,etc.PriortoAPI