Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 8150

SAPUI5: Customizing the look and feel of Standard Tile

$
0
0

Hello Experts,

 

Is it possible to accomplished below mentioned requirements via "Standard Tile" in SAPUI5? Can someone help us with some snippets? We are using XML views to construct the UI.

 

1.Would like to change the background color, may be to green/red. How can we do it?

2. Can we put a background image?

3. Can we have different color for i) highlighted  ii) pressed  iii) normal condition of the tile?

 

We have attached a screenshot for understanding the requirement.

 

<Page title="{i18n>DetailTitle}" enableScrolling="false">

  <TileContainer id="container" tileDelete="handleTileDelete">

  <StandardTile icon="Images/startup.png" type="Monitor"

  number="111" numberUnit="euro" title="Tile 1" info="info"

  infoState="Success" press="startservice" />

  <StandardTile icon="Images/Electricity.png" type="Create"

  number="312" numberUnit="euro" title="Tile 2" info="info"

  infoState="Success" press="serviceusage" />

  <StandardTile icon="Images/gas.png" type="Create"

  number="233" numberUnit="dollars" title="Tile 3" info="Paid"

  infoState="Success" press="bill" />

  </TileContainer>

  <footer>

  <Bar>

  </Bar>

  </footer>

  </Page>

 

Thanks,

DR


Viewing all articles
Browse latest Browse all 8150

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>