i have already set the theme of my activity as android:theme = "@android:style/Theme.Dialog" but i also want to remove the title bar of the activity. so how to use android:theme="@android:style/Theme.Black.NoTitleBar.Fullscreen" along with the dialog theme.
Try creating a custom style that extends Theme.Dialog
:
<resources>
<style name="DialogNoTitle" parent="android:Theme.Dialog">
<item name="android:windowNoTitle">true</item>
</style>
</resources>