Android phone vendors save a lot on the development of the system because Google and many others paid for it. And frankly, based on the make of the majority of Android phones, I don't think they spend as much as Apple on the design part either. That might explain the 20~30% "premium". You get what you paid for.
(And actually Apple spends stunningly little on R&D compared to it's peers. There was a rather nice graph about this that I can't find, but e.g. Microsoft and Nokia spend an order of magnitude more on R&D than Apple does, while seemingly getting just a fraction of the results.)
My take on the R&D thing: Yes Apple is likely to be the largest tech company to spend least on R&D, but they have a much smaller range of products and market share to recover that cost. Also I was talking about the smart phone for that. Nokia and Microsoft don't make Android phones. They cannot take the free ride on Google.
Note that I'm not complaining. Apple is free to price their goods however they want, and if they can price the iPhone at a massive premium and still sell tons, that's great for them. I'm sure other phone makers would love to have similar margins.