Lets put it this way, i really hate GUI design! I hate it that it does not work from the beginning on and you have to check again and again if the GUI looks at least not like crap. It takes really long to even create a very simple UI which fits my demands.
Creating an nice looking Android UI in 5 minutes? Which actually works? No way?
Well i agree, not with the current GUI creator for Eclipse at least. But some time ago I took a look at my oldarticle about the GUI designer i did and i thought it would be great if there were a library which could generate such a UI for you and let you specify the custom behavior for each element in an easy way.
My goals were:
- As easy to use as possible
- As much flexibility for the developer as possible
- Extensible
- UI should not look like been generated
- No use of external tools like EMF, just simple Java
Here is a small example to get a better idea of what i did: There is a data-model, this could be anything you want to visualize. For example you want to create a UI to create or edit existing Restaurant objects and the user has to specify the name, address, number of seats etc. The following screen cast will show how to do this:
In the video i forgot to mention that you have to add
to the AndroidManifest.xml to use the SmartUI activity. Its the same activity registration process you have to do for any Activity you want to use.
I will add more modifiers to the SmartUI class in some days. For example some ButtonModifier and ImageButtonModifier to execute Code when a button is clicked. And some visual style modifiers for tables with 2 or 3 columns. These should be useful. And i will provide some more screen-casts how to use Themes.
And i think some demos to show that you can do a lot more with this class then i already showed to you would be a good idea too;)
Creating an nice looking Android UI in 5 minutes? Which actually works? No way?
Well i agree, not with the current GUI creator for Eclipse at least. But some time ago I took a look at my oldarticle about the GUI designer i did and i thought it would be great if there were a library which could generate such a UI for you and let you specify the custom behavior for each element in an easy way.
My goals were:
- As easy to use as possible
- As much flexibility for the developer as possible
- Extensible
- UI should not look like been generated
- No use of external tools like EMF, just simple Java
Here is a small example to get a better idea of what i did: There is a data-model, this could be anything you want to visualize. For example you want to create a UI to create or edit existing Restaurant objects and the user has to specify the name, address, number of seats etc. The following screen cast will show how to do this:
In the video i forgot to mention that you have to add
I will add more modifiers to the SmartUI class in some days. For example some ButtonModifier and ImageButtonModifier to execute Code when a button is clicked. And some visual style modifiers for tables with 2 or 3 columns. These should be useful. And i will provide some more screen-casts how to use Themes.
And i think some demos to show that you can do a lot more with this class then i already showed to you would be a good idea too;)