Skip to content

javity xml ui

Radomiej edited this page Mar 24, 2017 · 6 revisions

This plugin allow create your Scene2d UI in XML file. Before you start use this plugin is highly recommended familar with this two topic:

Example of view file:

<?xml version="1.0" encoding="UTF-8"?>
<table name="root" debug="true" fillParent="true" expand-all="true"	fill-all="true">

	<button name="loginButton" text="Login" fill-all="true"/>
	<row/>
	<button name="registerButton" text="Register" fill-all="true"/>
	<row/>
	<button name="changeButton" text="Change password" fill-all="true"/>
	<row/>
	<button name="restoreButton" text="Forgot password" fill-all="true"/>

</table>

The xml`s files you can store in assets or load dynamic from file.

Clone this wiki locally