Retrieve resource from theme #967
-
I'm working on implementing a theme legend view for VTM themes (as I have done already based on Mapsforge, using a grid layout within a bottom sheet dialog). How can I retrieve a graphics resource from theme as bitmap? Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Something similar is However these classes and methods are for internal use. |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
CanvasAdapter
has implementations per platform.AndroidGraphics.getBitmap
AndroidGraphicFactory.getBitmap