Vra

i have an activity which is to be converted to an popup. so i used

SetTheme(Android.Resource.Style.ThemeDialog);

to make it look like an popup. but the problem is it looks like a popup but previous activity is not visible on back. i get a black background. what i am doing wrong. little help will be great.

Was dit nuttig?

Oplossing

i couldn't fix it using SetTheme(Android.Resource.Style.ThemeDialog);

so i changed the activity to dialog fragment and now it works fine.

Gelisensieer onder: CC-BY-SA met toeskrywing
Nie verbonde aan StackOverflow
scroll top