Re: [android-developers] XML vs. setImageDrawable after setContentView()
On Jun 11, 2012, at 5:08 AM, Tamás Kovács wrote:
> Is the result the same? Or since the image is set *after*
> setContentView(), are some Android scaling/etc. skipped because of
> this (which are normally performed when the resource is specified in
> XML) ?
You might want to do some more proper testing with your use-case, say, try setting various images programmatically to see it behaves as one would expect. But yes, I think other ImageView properties than src should remain from the xml file you're using.
--
H
--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home