eidylon
eidylon

Reputation: 7238

How to show the Android "contact pane"?

I'm working on my first Android app, and wondering what call I can make to show this "contact pane":

Contact Pane

I am of course, referring to the little pane with the contact's photo, name, and the action icons underneath.

As a related question... what is the official name for this little popup window?

Upvotes: 1

Views: 337

Answers (2)

Diego Torres Milano
Diego Torres Milano

Reputation: 69208

You should use showQuickContact(). As you may have guessed the name of this widget is QuickContact dialog.

Upvotes: 1

Austyn Mahoney
Austyn Mahoney

Reputation: 11408

The name is QuickContact and there are some helper methods in android.provider.ContactsContract.QuickContact you can use including:

showQuickContact(Context context, View target, Uri lookupUri, int mode, String[] excludeMimes)

Documentation: http://developer.android.com/reference/android/provider/ContactsContract.QuickContact.html

Upvotes: 1

Related Questions