How to place text Over Image in SAPUI5?

How to place centred Text over image in SAPUI5? Something like this example in html:

1 answer

  • answered 2017-12-19 06:32 santhosh

    <html:div class="background">
       <html:div class="transbox">
                 This is some text that is placed in the transparent box.

    xmlns:html="" add this name space to your view.

    • Use the same CSS given in w3school example you have used
    • This example is for XML view only