How do I create a transparent Activity on Android?

前端 未结 22 2194
忘掉有多难
忘掉有多难 2020-11-21 04:43

I want to create a transparent Activity on top of another activity.

How can I achieve this?

22条回答
  •  误落风尘
    2020-11-21 05:29

    I achieved it on 2.3.3 by just adding android:theme="@android:style/Theme.Translucent" in the activity tag in the manifest.

    I don't know about lower versions...

提交回复
热议问题