質問

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.

役に立ちましたか?

解決

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

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

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top