Last active
November 17, 2022 06:32
-
-
Save panpf/467f82d741bf2f761f47 to your computer and use it in GitHub Desktop.
Android - 透明的Activity
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
要实现透明的Activity很简单,只需要给Activity设置一个透明的主题即可 | |
<activity | |
android:name="xxxxxxxx" | |
android:theme="@android:style/Theme.Translucent"> | |
<intent-filter> | |
<action android:name="android.intent.action.LAUCHER" /> | |
<category android:name="android.intent.category.DEFAULT" /> | |
</intent-filter> | |
</activity> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment