SAPUI5中的StandardTile和GenericTile

时间:2014-10-08 23:23:56

标签: sapui5

我可以将StandardTileGenericTile放入同一TileContainer吗?

我尝试失败了。

1 个答案:

答案 0 :(得分:0)

是的,你可以这样做,你必须将它放入这样的customTile:

<CustomTile class="myCustomTile">  
  <content>  
  <suite:GenericTile   
     size="M"   
     frameType="TwoByOne"  
     press="press"  
     backgroundImage="data/NewsImage1.png">  
     <suite:tileContent>  
       <suite:TileContent footer="August 21, 2013" size="M">  
         <suite:content>  
           <suite:NewsContent   
             size="M"   
             contentText="SAP Unveils Powerful New Player Comparison Tool Exclusively on NFL.com"   
             subheader="SAP News">  
           </suite:NewsContent>  
         </suite:content>  
       </suite:TileContent>  
     </suite:tileContent>  
   </suite:GenericTile>  
  </content>  
  </CustomTile>  

scn

上查看此帖子