Naruto
Naruto

Reputation: 9634

What is the name of this control in android

May i know the name of the below placed image control, also please tell me how to implement similar control in my application.

This control appears, after long press on contact image.

enter image description here

Upvotes: 0

Views: 96

Answers (2)

neevek
neevek

Reputation: 12128

That is not a built-in control, but it's not difficult to roll your own.

All you need are some nicely crafted images, the outer part can be a LinearLayout, which contains another LinearLayout, which in turn contains 3 Buttons, and you are done with the UI of the control.

The rest of the implementation is to calculate the coordinates to place this control.

Upvotes: 0

Barak
Barak

Reputation: 16393

It's called a Quick Actions Popup, and it's not default for the framework... you have to create it yourself.

Another SO question asks about it and the answers have several links to pages telling you how to do it (there's even a couple of code repositories you could download in there).

Good luck.

Upvotes: 1

Related Questions