i have an png image 512x512px of a gear(for settings) and i want it to put on a button.
i have tried to create a directory in drawable to keep things organized but that didnt work ether so i put the png inside drawable and set the button to that image that i think its wrong thing to do, with so many png's inside the drawable it creates a big mess. i have tried the image assets but it only changes the app icon only(or maybe i dont know how to use it). vector assets need svg, i have tried to convert png to svg but didnt work.
The easiest way to handle png resources I found so far is using 'Resource Manager'. You can find it in the top left corner of Android Studio.
Select 'Import Drawables', select the image, and then import. Once imported, it can be accessed in the same way as any other drawable.