B4J Question backgroundimage

Discussion in 'B4J Questions' started by BeneBarros, Jun 9, 2015.

  1. BeneBarros

    BeneBarros Active Member Licensed User

    who knows, know.
    those unaware, question.

    how can I apply an image on a backgroundimage object from an image that is already loaded into the application?
    only saving ?
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    You can use an ImageView as the background.
     
  3. BeneBarros

    BeneBarros Active Member Licensed User

    of a look at it, you will understand better what I need
    the sides are all with repeat-x or y to change the size.
    the images are cropped in the application.
     

    Attached Files:

  4. Erel

    Erel Administrator Staff Member Licensed User

    Nice layout. However I'm not sure that I understand the problem with ImageView as the background.
     
  5. BeneBarros

    BeneBarros Active Member Licensed User

    the project is a skins administrator, and several images are placed in the background, because I need repeat-x repeat-y and SetAnchors when the screen is resized.
    the object "ImageView" does not have these options.
    I will make a small example, and send you, if you allow me.
     
  6. Erel

    Erel Administrator Staff Member Licensed User

    I see. You will need to save the image to a file in that case.
     
Loading...