문제

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