appcelerator - What properties it is necessary to set view1, so that it fills the rest of the window? -


what properties necessary set view1, fills rest of window?

<alloy>    <window>       <view id="view1">        </view>       <view id="view2" height="50">        </view>    </window> </alloy> 

<alloy>    <window>       <view id="view1" top="0" bottom="50" width="100%">       </view>        <view id="view2" height="50" bottom="0" width="100%">       </view>    </window> </alloy> 

also put dimensions in style (tss) file instead of putting them in view xml file. if resolves query mark answer reference rest of community.


Comments

Popular posts from this blog

python Tkinter Capturing keyboard events save as one single string -

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

javascript - Z-index in d3.js -