View paste
im developing home and lock screen widget and im looking for solution for some time.
This will be analog clock with some features.
I need to add some irregural shapes, so I extended Drawable class and implemented onDraw() method.
Is there any way to set that drawable in ImageView via RemoteViews?
It has only method with Uri, int and Bitmap parameters.
I tried to create bitmap from canvas which im using in onDraw method, but i dont like it.
In this solution i need to know actual size of the widget. Is there any way to get it?
I found only ways to get min and max width and height.