Web version of app has dialog like this.
Is there any library to implement such connected to view, dialog in Android?
Web version of app has dialog like this.
Is there any library to implement such connected to view, dialog in Android?
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
Hope this helps .
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);