File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Elasticsearch in Action
this week in the
QuickContactBadge in ListView
Joined: Jun 18, 2003
Jul 26, 2011 19:46:56
I have a ListActivity which is showing contacts from Contacts API. Inside listView I am showing contact photo in QuickContactBadge alongwith Contact Name.
I am using following code.
cache.photoView.setAdjustViewBounds(true); cache.photoView.setMaxHeight(75); cache.photoView.setMaxWidth(75); view.setTag(cache); cache.photoView.setScaleType(ImageView.ScaleType.FIT_XY);
My problem is I want to control QuickContactBadge size in a way that it looks same on all different screens, i.e. is there a way to define size in dips.
Please let me know.
I agree. Here's the link:
subject: QuickContactBadge in ListView
Caught an exception while evaluating expression '....size()==0' against value stack
Can't ID contain numeric data??
Hibernate many-to-one problem
Problem with ListView and QuickContactBadge
Serching for a surname in my collection
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015