hi, i run my applictaion in an emulator/device automatically one drawable image other than default image i used my image coming for my application as background.how can avoid it?
views:
29answers:
1
Q:
how can avoid the background image for an application while it run in emulator/device in android?
+1
A:
It is unclear what you are asking.
But if you want to set a custom background for your application, you can use an Android theme to set a Drawable
for every screen in your app.
AndroidManifest.xml:
<application ... android:theme="@style/MyAppTheme" />
res/values/themes.xml:
<resources>
<style name="MyAppTheme" parent="android:Theme">
<item name="android:windowBackground">@drawable/custom_background</item>
</style>
</resources>
Christopher
2010-01-09 12:07:51