T
T
thatmaniscool2018-10-30 20:45:46
Java
thatmaniscool, 2018-10-30 20:45:46

Where can I find information about XML style customization in android OS?

Suppose I have a ProgressBar and its default style doesn't suit me.
I want to change it. How can I do it?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey Vodakov, 2018-11-01
@WaterSmith

It depends on how much you want to change it.
You can simply change the style, or you can inherit from the ProgressBar class and rewrite the necessary methods.
You can read about how to change and inherit styles, for example, on developer.android.com:
https://developer.android.com/guide/topics/ui/look...

G
grinat, 2018-11-01
@grinat

Everything is in the executables there, in the studio there is a backlight, if you change colors and sizes, then you jump on the executables with styles and replace them with your own.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question