https://kotlinlang.org logo
#anko
Title
# anko
d

deviant

05/16/2017, 7:11 PM
guys, is it possible to apply xml style to the view?
m

miha-x64

05/17/2017, 7:27 AM
deviant: style — no, theme — yes. Take a look at themed variations of views (e. g.
themedButton
) and use of
defStyleAttr
(e. g.
horizontalProgressBar
).
👍 1
d

deviant

05/17/2017, 1:41 PM
@miha-x64 so the solution is create some theme with
defStyleAttr
and then use the theme in
themed...
widget, right?
m

miha-x64

05/17/2017, 1:43 PM
I don’t exactly know how
defStyleAttr
works in comparison with themes.
4 Views