Activity ¸¦ dialog style·Î ¸¸µé±â |
|
|
 |
8³â Àü |
You can define this style in values/styles.xml to perform a more former Splash :
<style name="Theme.UserDialog" parent="android:style/Theme.Dialog">
<item name="android:windowFrame">@null</item>
<item name="android:windowIsFloating">true</item>
<item name="android:windowIsTranslucent">true</item>
<item name="android:windowNoTitle">true</item>
<item name="android:background">@drawable/trans</item>
<item name="android:windowBackground">@drawable/trans</item>
</style>
And use it AndroidManifest.xml:
<activity android:name=".SplashActivity"
android:configChanges="orientation"
android:screenOrientation="sensor"
android:theme="@style/Theme.UserDialog">
Note: you need to create a transparent png drawable yourself by PS or GIMP or whatever.
answered Apr 26 at 8:41
from herbertD |
|
̵̧ : 278 |
̵̧
¸ñ·Ï
|
|