Android - Layouting whether to use XML -
what correct way of implementing ui in android. should use xml or create layouts in code.
am iphone developer trying hands in android development. in ios, use nibs ui development.
it great if can give reference projects can refer.
what correct way of implementing ui in android.
if works correct (this doesn't mean optimized, efficient, or best practice)
should use xml or create layouts in code.
i say, , not opinion because think agree, of time easier in xml before compiling. adding properties , setting layout how want typically easier way.
i in code if needs added @ runtime will. inflate created layout or change visibility depending on needs. know how in java because there times need to. however, of in xml
i suggest using xml tab rather graphical view of because think easier work , seems more flexible.
it great if can give reference projects can refer.
this solely depends on need with. the docs best place start , when have question on particular issue search or google , find answer.
Comments
Post a Comment