4 ms·
Pixel-perfect layouts in Android are harder, but declarative layout makes a lot of things easier. For example, if I need to add one button to a row of buttons i
by cageface 15y ago
Pixel-perfect layouts in Android are harder, but declarative layout makes a lot of things easier. For example, if I need to add one button to a row of buttons in iOS, I have a lot of fiddly tweaking in IB to do. In Android I add one more line to an XML file and I'm done. Need to change the background color and text of all the buttons in your app in iOS? I hope you created them all programmatically. In Android I change a few lines in my style file and I'm done.
iOS's UI stack is clearly pre-web. Android is post-web.
- deleted 15y ago[deleted]
- cageface 15y agoXibs are hideously verbose and clearly not designed to be edited by hand. They also don't offer anything like the auto-layout and declarative styling Android gives you. Apple's recent introduction of autolayouts shows that they see this as a deficiency.
- KirinDave 15y agoSpoken like someone who has never opened one up and tried to modify it.
- wallflower 15y ago> I hope you created them all programmatically Oh yes, we have a hand-maintained (pre-iOS5) very complicated UINib manager that loads Nibs and lets us "style" based on a system of plists and resource bundles. +1 Android