B4A Library Layout-to-Image

Enjoy this library https://github.com/vipulasri/Layout-to-Image from B4A

Android Layout (Relative Layout, Linear Layout etc) to Image
header.png



LayoutToImage
Author:
SMM
Version: 0.01
  • LayoutToImage
    Methods:
    • Initialize
    • LayoutToImage (view As View) As Bitmap


Sample
Code: Copy
    Dim lti As LayoutToImage
    lti.Initialize
    myimageview.SetBackgroundImage(lti.LayoutToImage( Activity))

I tested it on Activity and it worked .
On a wrapped view the application crashed


Version 2 : Removed @ActivityObject annotation : Thanks @DonManfred :)
 

Attachments

Last edited:
Back
Top