Yes it is possible. Instead of creating a dialogue, creating and acting in the manifest, add android:theme="@android:style/Theme.Dialog" to your activity, as shown below:
<activity android:name=".Activity" android:label="@string/title_activity" android:theme="@android:style/Theme.Dialog"> <intent-filter> <action android:name="example.package" /> <category android:name="android.intent.category.DEFAULT" /> </intent-filter> </activity>
source share