質問

If I run an application on my Motorola Xoom tablet, there is an image in the background. If I run the same application on the emulator the background in my application is just black. Do you have an idea where I can get this image, which is in the background of Xoom applications?

I need it, because I took a number of screenshots of the app in the emulator for documentation purposes and it doesn't look very good with the black background.

役に立ちましたか?

解決

This image is the window background. The default window background is specified using a state list. As the image used for this is stretched - a cheap operation with hardware accelerated drawing but more expensive in software - the state list specifies this background for the android:state_accelerated case. Since the emulator does not currently support hardware accelerated drawing it gets the fallback of solid black instead.

他のヒント

Just for completion, here is the image I was searching for:

Here is the image

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top