How to create a popup - android

How to open a similar popup like the one that appears when you click on a contact icon in contacts? Is Dialog suitable for that? Or maybe PopupWindow?

It's a quickaction. Check this link.

It looks like PopupWindow is th way to go.

Related

Android how to set popup window in honeycomb?

How to do this — does anyone have any idea of how to do this in tablets honeycomb?
EDIT= is it possible in android in possible how to do this.
and this
edit:how load another activity(Mapview (or) Any other activity) with in the popup dialog. when i click button?
Yes, you basically have to create custom dialog boxes and implemnet as per your requirement
Check this link for custom dialog

Custom combo box in android?

How can i create a combo box in android like the picture bellow?
I can see only spinners in android. but i want like the picture.
Any one can help me??
Create a custom button, and on click show a popup with a ListView within it.
Also on click make the popup appear below the button.
NewQuickAction3D is a small android library to create QuickAction dialog with Gallery3D app style.
try this
hope help you..

How to make an EditText Box in android?

I would like to make my application ask the user some informations via something similar to VB.NET's inputbox. How can I do this??? I don't want to have a permanent control on the screen, I just want to make it appear when I need it. Actually, just as an inputbox.
dude see this link u will get use of EditText http://mobile.tutsplus.com/tutorials/android/android-user-interface-design-edittext-controls/
Use an edittext box, very similar to a textview. examples can be easily found

Android POPUP Code

I would need an example code to create a popup in an activity. In the popup I would like to insert a number in a edittext and return it to the main activity.
Is this possible?
Please look an Google for this kind of questions:
http://developer.android.com/guide/topics/ui/dialogs.html#CustomDialog

Is this an example of a AlertDialog or PopupWindow in Android?

http://img139.imageshack.us/img139/1203/devicei.png
I've seen this in a few apps, and i have expiremented with both PopupWindow, and AlertDialog and I was confused which this was.
Thanks
It's an AlertDialog. You can browse that app's source code here (look at com.sunlightlabs.android.congress.MainMenu).

Categories

Resources