HI,
I want to get width and height of the image which i was stored in the drawable folder. Is this possible, if so please let me know ?
try
BitmapDrawable bd=(BitmapDrawable) this.getResources().getDrawable(R.drawable.icon); int height=bd.getBitmap().getHeight(); int width=bd.getBitmap().getWidth();
1.4m articles
1.4m replys
5 comments
57.0k users