Created
July 27, 2017 08:46
-
-
Save igalata/db379395821e07e59f865b959f812554 to your computer and use it in GitHub Desktop.
This file contains 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
Shape.create { | |
shape { ShapeType.RECTANGLE } | |
height { 0.1f } | |
width { 0.1f } | |
bitmap { BitmapFactory.decodeResource(context.resources, R.drawable.image) } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment