I've create a theme n res/values/theme.xml:
<?xml version="1.0" encoding="utf-8"?>
<resources>
    <style name="Theme.Test"
parent="android:Theme.NoTitleBar.Fullscreen">
        <item name="android:windowBackground">@drawable/
background_test</item>
    </style>
</resources>

In res/drawable/background_test.xml I specify a bitmap:
<bitmap xmlns:android="http://schemas.android.com/apk/res/android";
    android:src="@drawable/bg_test"
    android:gravity="center"/>

The problem is that the drawable doesn't display correctly on
emulators with different screen resolutions. It's as if it needs to be
scaled but that isn't happening. Is there something else I need
(layoutParam?) or code to get this to work as expected?

Ted

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to