You can create Dialog
based Activity
.
Set theme for your Activity
in AndroidManifest.xml
:
<android:name="YourActivity"
...
android:theme="@android:style/Theme.Dialog"/>
in YourActivity class
create your carousel Gallery
Create such kind of Layout for Activity:

This is the sample layout:
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res/com.sits.TaxiMoldova"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:background="@android:color/transparent">
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/backgroundCircleImage"
android:background="@drawable/bg"
android:layout_centerInParent="true"/>
<LinearLayout
android:orientation="vertical"
android:layout_width="100dp"
android:layout_height="100dp"
android:layout_centerInParent="true"
android:id="@+id/contentLayout"
android:background="@android:color/transparent">
<Button
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="button 1"
android:id="@+id/button"/>
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="button 2"
android:id="@+id/button1"
android:layout_gravity="center"/>
</LinearLayout>
</RelativeLayout>
Resources:
circle with transparent background
Result:

Background is not black, 100%. Instead of that black background would be your Activity (parent of Modal Activity).
This is the idea, play around with the proportions and everything will be fine :)