I'm trying to set the image as the background of the Sherlock action bar, but even if it is 720 x 112 px, it seems that the image is not stretched. The white part is still part of the action panel, since the triangle is installed in the correct position, and the button on the right has different fields at the top and bottom.
Do I need to do this 9patch image? Not sure why this is not working.
I set the background using getSupportActionBar().setBackgroundDrawable(getResources().getDrawable(R.drawable.topbar));
Thanks for the help!

source share