We are trying to implement the android ui pattern QuickAction with GridView inside. We have worked out the basic things in the attachment but need your help on following issues:
... layout the QuickAction (which is based on PopupWindow) in proper position, display arrows properly. 4 more constraints you should be aware of: VERTICAL_MARGIN, HORIZONTAL_MARGIN, GRID_ITEM_HEIGHT, GRID_ITEM_WIDTH.
... create Drawable subclass, instead of png files, to draw the background of the QuickAction bubble. Ideally it can be configured like Shapes, give parameters like stroke, gradient filling, etc.
The attachment is what we have now based on
[[login to view URL]<wbr />how-to-create-quickaction-<wbr />dialog-in-android/][1]
Notice: your codes will be tested on hdpi, mdpi and ldpi devices, on
2.1 and 2.2 systems.