I wanted to Display Calendar Icon as a Button In Android. I have created a Image Button as,
ImageButton DtPk = new ImageButton(this);
I know that image will set as,
Drawable d = Drawable.createFromPath("@drawable/calendar");
DtPk.setBackgroundDrawable(d);
But where do i store image in my project? And how.