On Monday, May 23, 2011 2:30:11 PM UTC+1, Spooky wrote: > And yes it is still recommended practice to get a copy of them > > into your app, in case they might get removed in some new > > Android version. > > Just my opinion here, obviously, but shouldn't the SDK sample > code be using icons from disk, then, instead of using the ones > in android.R.drawable.....? As is, they teach the wrong > concept in that regard. >
I would regard the SDK samples exactly as that - samples - and not as something which demonstrates best practices in every regard. An obvious example of this is UI design; the SDK samples clearly don't have top-notch UIs, but then, that's not their point. IOW, take each sample as a demonstration of whatever specific code that sample is about, not as a shining example of the best possible code that could be written. And in this case, the folks on this group are pretty well agreed not to use android.R.*, so you probably shouldn't. String -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en