0

Web version of app has dialog like this.

enter image description here

Is there any library to implement such connected to view, dialog in Android?

Joe Richard
  • 1,520
  • 7
  • 20
  • 31

2 Answers2

1

You can use QuickActions

Quick action pattern is a way of making the applications more interesting and interactive for the users. It is a context menu that doesn't cover up the data that is being acted on. Most of time, this Quick actions dialog is not present in the android by default, so you have to create it.

The QuickActions dialog is not included in standard Android SDK, so you have to create it manually .

Read official guideline A closer look at Android’s evolving UI patterns

You can check Git Demo

  1. NewQuickAction

  2. Android PopupWindow with Tooltip #SO

  3. How to Create QuickAction Dialog in Android

  4. How to implement quick action pattern in Android

Hope this helps .

Community
  • 1
  • 1
IntelliJ Amiya
  • 74,896
  • 15
  • 165
  • 198
0

Use PopupWindow to show the dialog:

View view = LayoutInflater.from(context).inflate(R.layout.dialog_view);
PopupWindow popUpWindow = new PopupWindow(view, LayoutParams.WRAP_CONTENT,
            LayoutParams.WRAP_CONTENT);
popUpWindow.setContentView(view);
popUpWindow.showAsDropDown(button);
Bhawna Raheja
  • 619
  • 4
  • 11