CHAPTER 9: Android Graphic Design: Making Your UI Designs Visual 315
Once you click on the tools sub-folder, as is shown in Figure 9-4, you will see a draw9patch.bat
Windows Batch File. This is what we’ll need to launch to run the Draw 9-patch software utility.
Right-click on the draw9patch file and select the Run as administrator menu option, as is shown
in Figure 9-5. This will launch Windows 8.1 DOS terminal software, which is needed to run .bat
batch files. Since this DOS batch file is executing the draw9patch batch file, it will subsequently
launch the Draw 9-patch application from the tools folder. Please don’t ask me why Android is using
three-decades’ old DOS technology, because I have absolutely no idea, but this Draw 9-patch tool
certainly looks like it used to run under DOS, meaning it is extremely ancient technology!
Figure 9-4. Locate the draw9patch Windows Batch File in an adt-bundle folder, /sdk sub-folder, /tools sub-folder
Figure 9-5. Right-click on the draw9patch Windows Batch File and select the Run as administrator option to run