I am developing an application in which I have to show a quick action dialog with the click of a button. Here is an example of how I want to implement it.

So far, I have not been able to figure out how to create a custom quick action dialog. But I tried to use activity, and some - what is close to me, what should I achieve. Here is what I have done so far.
When I click the button, I pass the intention of the activity:
if (v.getId() == R.id.points) {
Toast.makeText(MainActivity.this, "Clicked on points",
Toast.LENGTH_SHORT).show();
Intent i = new Intent(MainActivity.this, PointsActionMenu.class);
startActivity(i);
}
And I used styles.xmlto make the activity transparent.
styles.xml
<style name="Theme.Transparent" parent="android:Theme">
<item name="android:windowIsTranslucent">true</item>
<item name="android:windowBackground">@android:color/transparent</item>
<item name="android:windowContentOverlay">@null</item>
<item name="android:windowNoTitle">true</item>
<item name="android:windowIsFloating">true</item>
<item name="android:backgroundDimEnabled">false</item>
</style>
By implementing these things, I have this interface on my screen.

Now I have two questions:
.
.