Search code examples
androidandroid-layoutnine-patch

Android: draw9path doesn't not work on Emulator


I 'm using Android draw9path for an image that I will set for background.

after I process picture on software (default tools of android SDK) an put it in drawable-hdpi folder, and put it in background by:

android:background="@drawable/background".

I test successfully on graphical view, but when I run on Emulator, Android Emulator acts as normal image.

Who can help me solve this issue, please.

thanks :)


Solution

  • I think you didn't create p pitch image properly.

    save the file like filename.9.png