Skip to content
Manu Evans edited this page Jul 26, 2014 · 3 revisions

##Building FeedBack UI## FeedBack UI is built with xml files structured similar to html.

A short example of the FeedBack UI file that shows a confirmation dialog box:

<?xml version="1.0" encoding="utf-8"?>
<Frame align="center" size="480,320" background_image="background-image">
	<LinearLayout align="center" orientation="vertical">
		<Label id="message" text="Message Text..." size="320,140" text_align="center" text_font="FranklinGothic" text_colour="white" />

		<LinearLayout align="topCenter" orientation="horizontal" margin="5">
			<Button id="cancel" size="64,64" background_image="x-icon" style="menu-button" />
			<Widget width="80" />
			<Button id="accept" size="64,64" background_image="tick-icon" style="menu-button"/>
		</LinearLayout>
	</LinearLayout>
</Frame>

There are various element types which represent different 'widgets'.
Widgets offer different functionality; text, buttons, images, etc. There are also layout widgets, which may contain child widgets, and manage layout of their children.

Please refer to the UI xml reference for detailed information about UI widget types.

###Building UI### ...write me...

Clone this wiki locally