Created
January 4, 2016 17:15
-
-
Save kuraydev/0050b38f19461ed61b2f to your computer and use it in GitHub Desktop.
In RecyclerView, using setImageResource, sometimes does not fit full scale an image, so this is the solution ! :)
Raw
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| holder.imageView.setImageResource(R.drawable.deadpool); | |
| holder.imageView.setScaleType(ImageView.ScaleType.FIT_XY); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment