I would like an ActionBar with a bottom line on my Android app. This line should look with about 4 colors:
To get this effect, I use 9patch, but instead of showing 4 colors, it replaces it with a gradient:
This is the 9Patch that I am using. You know where I am wrong because I do not understand why: /
Thank you for your help!
You need to use an image like this:
Try editing your 9-patch so that instead of blocks with a size of 1 pixel make them 3 wide, where only the middle pixel is marked as expandable. This can give you what you need.
, , , 9-, , . 9- , , .