Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why is XML not HTML used for UI in Android progrmming?

Why can't HTML be used for building interface in Android Programing?

like image 873
user1764582 Avatar asked Oct 22 '12 07:10

user1764582


Video Answer


1 Answers

XML enables us to create custom tags.. Consider we created a custom view, we can reference them from xml itself. So the idea of UI separation from logics, stays intact.

like image 65
Krishnabhadra Avatar answered Nov 14 '22 23:11

Krishnabhadra