Is it possible to create a graphical interface of the website as well as in Android Studio?

Good afternoon. Engaged in development under Android. I like the approach to the creation of a graphical interface, where one xml file describes all the components on the screen, their relative position, etc. Never got along with HTML + CSS + JavaScript. And now I'm wondering, is there a similar solution for web development? So in a single file to describe the UI, and another to write all of the logic.
March 19th 20 at 08:36
2 answers
March 19th 20 at 08:38
In the same file write the HTML (you can live with CSS, you can separately), in another - js-ouuu logic. And all, all alone, like you wanted.
Plus I think with any thread of a build systems and preprocessors and all this can be even stronger post.
March 19th 20 at 08:40
So it is well done. In HTML+CSS you describe the UI, and JS logic and the interaction with this UI. There is that interface designers (they are, but you do not wish to use it).
Just as for me, Android is much easier to position elements relative to each other, do not have to bother with all sorts of selectors, classes and so on. - Jess_Ha commented on March 19th 20 at 08:43
@Jess_Hain html is not difficult, just a little differently. You have to adapt. But css is still a handy thing. You can always delegate the layout work to other people, freelancing for a small price you laid out the desired layout. - Jordi74 commented on March 19th 20 at 08:46

Find more questions by tags Web Development