I have used the code below to get bitmap, but I am getting only half of the image has been showing.
Bitmap bm = BitmapFactory.decodeResource(context.getResources(),R.drawable.ca_buyingpower);
I have used the code below to get bitmap, but I am getting only half of the image has been showing.
Bitmap bm = BitmapFactory.decodeResource(context.getResources(),R.drawable.ca_buyingpower);