Good day, I now have a question, I started programming for Android not so long ago ... And I would like to know what methods are used to achieve such a beautiful visual design, using standard buttons - I have not yet learned how to do it, it attracts gradients in the center the lower part of the application =) Maybe it is you who tell where to dig or links to articles how it is implemented, because on request "I’ve found my Android UI" I didn’t find anything = =) Thanks, I’m waiting for your advice.
- What are you programming for android? Language, libraries, sdk? - spirit
- Android SDK from under Eclipse. I downloaded a 400 megabyte package from the official website - Quiss
- Well, it was necessary to specify it. I am writing to QtCreator, everything is done in Qt styles, so look at the libraries with which you create widgets. - spirit
- This design has a lot of problems. - buttons at the bottom, especially home - the dimensions are in incomprehensible units. Read this . If you want a background gradient - here . - KoVadim
- usually meant to use standard sdk. There are also crafts, for example PhoneGap, but they write about it. - KoVadim
|
2 answers
Regarding the gradient you can read here: Drawable. Images, shapes and gradients .
For the bottom buttons, you can use 2 backgrounds (with or without backlighting) and switch through the selector
(described in XML
). If the Button
does not work out so customize as a last resort, create the necessary view in LinearLayout
and in the code call OnClickListener on it (it will work as a button)
|
Article on the creation of its interface elements for android. Sorry only Ingl zhmakat here
|