M
M
miracle_mill2017-04-17 17:16:20
css
miracle_mill, 2017-04-17 17:16:20

Are there two ways to design an Android app?

Hello.
I am learning to create android applications, and after I wanted to make the UI more beautiful, I came across the fact that in this case it is recommended to use HTML + CSS and the corresponding frameworks.
Before that, I developed in Android studio and did design in the built-in UI editor. But as I understand it, if you change the UI to HTML + CSS inside the WebView, then the data processing will be carried out in the javascript code, and in the java code you will no longer dig into the elements through the standard findById () and the like?
What am I talking about - it turns out that we will either develop android UI in Java through Layouts and elements, or in HTML + CSS, but then the processing will already be in Javascript?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
H
Handy, 2017-04-27
@Handy

I wouldn't strongly recommend giving in to HTML and WebView, but that's up to every developer, of course.
Any beautiful UI can be made using standard tools, whether it is layouts and the use of material design guidelines, or drawing on canvas. There are really two directions here.
1. You can go to the site https://material.io/ and follow its recommendations, there are a huge number of articles, templates, resources, which allows you to simply take and build your beautiful application in material design.
2. Do you want to create something super unique? Create custom Views and draw on canvas. There is no limit to the flight of fantasy.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question