Wish B4Xview.Bitmap Gravity

Discussion in 'Bugs & wishlist' started by Star-Dust, May 17, 2018.

  1. Star-Dust

    Star-Dust Expert Licensed User

    I need to set the Gravity of the bitmap in the B4Xview views.
    Currently the default is set to Center, but I would like to set it to Fit or Fill.

  2. Erel

    Erel Administrator Staff Member Licensed User

    There is no Gravity.Fit in Android.

    B4XView.Bitmap behavior:


    Set to Fill:
    B4XView.Bitmap = Bitmap.Resize(B4XView.Width, B4XView.Height, False)
  3. Star-Dust

    Star-Dust Expert Licensed User

    OK thanks. This already helps me
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice