Convert table layout to div using Java

Recently, I was tasked with creating an Android and iphone application to work. However, I am a css / php developer with a bit of javascript in the mix.

I need to write some Java (not javascript) that converts a table-based layout to a div layout so that I can then control the positioning, padding, and what not.

I see a lot of similar messages, but these messages imply more “designer-oriented” goals, rather than functional control over positioning, layout, etc.

A good resource would be greatly appreciated as I cannot submit the corresponding Google search string. My searches tend to provide more “free javascript code,” “Java tutorials on creating blinking banners,” “How to make fading menus,” and countless other rabbit holes that lead to a wonderful country.

Oh, currently using eclipse with the Android SDK and ADT plugins.

+3
source share
2 answers

It would be much simpler if you previously defined a set of rules on how the transformation should actually occur. There are quite a few issues to consider. It really won't be a bit of Java.

, Adobe Dreamweaver Modify > Convert > AP. , , , . , , /.

+3

, java. html (http://www.benmccann.com/dev-blog/java-html-parsing-library-comparison/) dom ( HTML ?). ( , html ), , div .

BalusC, , , .

+1

Source: https://habr.com/ru/post/1729642/


All Articles