Open activity as pop-up and not in other screen in Android?
15,302
in your manifest file, set your activity theme to dialog
<activity android:theme="@android:style/Theme.Dialog">
Related videos on Youtube
Author by
sunil
I am Mobile Developer and have developed on J2ME, Blackberry and Android.
Updated on January 31, 2020Comments
-
sunil about 4 years
I am working with Bluetooth Chat sample code. In sample app the Device opens up in another screen but I have implemented the same code with the difference that
DeviceListActivity
is called as soon as the app is started but this opens it in another screen and I want that it should be opened as pop-up in Bluetooth chat sample code.Can someone let me know how to open Activity as pop-up?
-
sunil over 13 yearsThanks, this solved the problem. Actually, I just forgot to look into the manifest file of Bluetooth Chat sample.
-
stanley santoso almost 9 yearsMy App crashes when I do this.