我试图用编程方式创建一个ColorStateList:但我不确定这两个参数是什么。根据文件:public ColorStateList (int[][] states, int[] colors)在A
我试图用编程方式创建一个ColorStateList:但我不确定这两个参数是什么。根据文件:public ColorStateList (int[][] states, int[] colors)在A
使用:buildToolsVersion "22.0.1",targetSdkVersion 22在我的gradle文件。我发现有用的getResources(). getcolor (R.color