Hey Dave, I actually took a look at your source because I wanted to get this working on my Droid. It turns out that the issue here is that you're just using the constant value for the dimension instead of using the getDimension() method in the Resources class and getting the actual dimension. You could fix this using the following code:
final Resources resources = getResources(); int iconSize = (int) resources.getDimension (android.R.dimen.app_icon_size); One thing to keep in mind is that this dimension will still return 48 on the Droid even though high resolution application icons are 72 x 72. Hope this helps. Kyle On Dec 10, 9:31 pm, whizziwig <[email protected]> wrote: > hi all- > > I'm seeing a problem with betterbookmarks where on the droid (as well > as on the high-res emulator) the icons it generates are coming out off- > center:http://lh4.ggpht.com/_U2bQZKjeR7E/SyGueGF6_JI/AAAAAAAAFRE/7WKRvWjOjsc... > > The ones that don't look like they take up the entire area allocated > for an image are 48x48, which is android.R.dimen.app_icon_size on > these devices. The ones that look like they do take up the whole area, > but are still off are android.R.dimen.thumbnail_height, which is I > think 63. > > Why is this happening? The images look fine when I preview them in an > ImageView. > > thanks, > --dave -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

