I have several 512 x 512 icons so they are high resolution icons. I placed alle the icons under drawable-xxhdpi in my android project. The name of the icons are all correct (they start with ic_) and they are all .png
Unfortunately im unable to use the icons. When i create an imagebutton:
ImageButton imageButton = new ImageButton(this);
imageButton.setImageResource(R.drawable.ic_settings)
The project is unable to find the icon ic_settings.
So how can i add icons to my project and use them?