javascript - Any ideas to improve this UI architecture? -


i using sapui5 develop ui similar 1 below: desktop/tablet viewport wireframe

at first, thought structuring xml view this:

<verticallayout>   <hbox> field1 & field2 here </hbox>   <hbox> field3 & field4 here </hbox>   <image> image here </image> </verticallayout> 

however, little bit confused because need labels of input fields on top of input fields when viewing them in desktop , tablet (just in image above), have stack on top of each other when viewing page in smaller(smartphone) viewport:

smartphone viewport wireframe

does has suggestions structuring of view or ideas making responsive? in advance!

what searching "grid" layout. https://sapui5.hana.ondemand.com/sdk/explored.html#/entity/sap.ui.layout.grid/samples

you able set "defaultspan" property string type represents grid's default span values large, medium , small screens whole grid. allowed values separated space letters l, m or s followed number of columns 1 12 container has take, example: "l2 m4 s6", "m12", "s10" or "l4 m4". note parameters has provided in order large medium small. default value l3 m6 s12.

in case "l1 m2 s4".

check tile based layout can learn it.

don't forget check out grid's api of course.


Comments

Popular posts from this blog

asp.net mvc - SSO between MVCForum and Umbraco7 -

Python Tkinter keyboard using bind -

ubuntu - Selenium Node Not Connecting to Hub, Not Opening Port -