Skip to content

Instantly share code, notes, and snippets.

@kojiokb
Created October 12, 2012 13:50
Show Gist options
  • Save kojiokb/3879285 to your computer and use it in GitHub Desktop.
Save kojiokb/3879285 to your computer and use it in GitHub Desktop.
いまどきの透明なActivityのつくり方
<resources>
<style name="AppTheme" parent="android:Theme.Holo.Light.NoActionBar">
<item name="android:windowIsTranslucent">true</item>
<item name="android:windowBackground">@android:color/transparent</item>
</style>
</resources>
<resources>
<style name="AppTheme" parent="android:Theme.Light.NoTitleBar">
<item name="android:windowIsTranslucent">true</item>
<item name="android:windowBackground">@android:color/transparent</item>
</style>
</resources>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment