Z
Z
Zdaart55332020-08-07 18:32:54
Android
Zdaart5533, 2020-08-07 18:32:54

In what programming language are Android application designs created?

The question is, as far as I understand, the creation of a design for an application takes place in XML files using standard functions, for example:
android:background

The question is, is it possible and worth using CSS to create a design? Or is it possible to use another language?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
alekseyHunter, 2020-08-10
@Zdaart5533

Not design, but user interface.
Recently, I also wanted to write a layout in CSS, manually writing dimens for a custom element is still a pleasure xD
Complex interface - programmatically.
Interface of average complexity - layout + drawable (XML).
Simple interface - layout (XML).

O
Oleg, 2020-08-07
@402d

You can draw a form (screen) programmatically.
But writing 10 function calls for each element is laborious.
To simplify this, we came up with an xml schema. used in layout files.
Design in html, css, js is a C# (Charpa) approach.
Cross-platform development through another intermediate layer.
It is not required to write all khml handles. Android Studio has a good visual editor.
Depending on the growth of experience, making edits in text form will become easier than poking around in the fields of wizards. Some things still cannot be done through a static form definition and small inserts of modifiers will have to be written programmatically.

H
HemulGM, 2020-08-08
@HemulGM

Design is handled by the development environment. Or does it mean only Android Studio?
For example, I use the visual editor
5f2e00d55127f193488567.png

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question