Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Gradle (Android Studio) won't compile 9patches

I have a problem, I cannot compile this 9patch with Android Studio. It is from the Google Play Music application so it should work. I have made it an 9patch with the "draw9patch.bat" from the Androird SDK tools. But I only get this error: "Gradle: No marked region found along edge. - Found along top edge."

Any help would be estimated! Thanks in advance /Måns

like image 419
GuiceU Avatar asked Jul 11 '13 14:07

GuiceU


1 Answers

Try using the SDK tool draw9patch. That will allow you to quickly view the 9patch and add your missing sizer pixels (which the error indicates the top border sizing pixels are missing).

like image 63
ahodder Avatar answered Oct 06 '22 09:10

ahodder