5

Hello everyone.
I recently started android app development and i wanted to ask if you code entirely in java/kotlin or use xml+java/kotlin ?
I feel like to get better i should code entirely in java/kotlin. Am i wrong?

Comments
  • 1
    Resources (layouts, translatable strings, animations, etc.) should be declared in xml
  • 2
    Use xml. Code layouts are a nightmare to create and maintain.
  • 0
    If you're not comfortable with layout in XML and prefer to create everything in your code, give a try to flutter. It's also cross platform... But it's in beta.
Add Comment