A
A
Alexey2022-02-01 13:51:45
Android
Alexey, 2022-02-01 13:51:45

What language to write UI for Android?

I plan to write an Android application in Kotlin, but since I'm just starting out, I don't quite understand how everything works in this stack. For example, I need a specific UI.

Are there frameworks to simplify this process?
What language is the UI written in (or is everything in Kotlin)?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
N
Nikolay Savelyev, 2022-02-01
@azovl

What language to write UI in

The question is incorrect.
They write either in xml or in java/kotlin/compose. It's inseparable from android

J
Jacen11, 2022-02-01
@Jacen11

What language is the UI written in (or is everything in Kotlin)?

yes, in kotlin (compose) or xml, but it’s much easier
what a stupid question, I specially took the book head first from oreilly, on 70 pages the answer to this question is already briefly described, of which up to 46 are the table of contents and introduction

A
AlexVWill, 2022-02-01
@AlexVWill

Android Studio has a direct interface drawer that allows you to draw and get XML code right away, you can draw an interface of almost any complexity in it. If you really really want to write the interface in code (it’s not clear why you need it), then write on the one on which you will write your activities. But it seems to me that it is better for a beginner not to engage in such masturbation, and try to change some kind of sample for his tasks. :)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question