Set 9patch padding equals to split

This commit is contained in:
fgnm
2021-08-13 17:21:23 +02:00
parent a2947163f0
commit 812080fc42
2 changed files with 1 additions and 1 deletions
Binary file not shown.
@@ -159,7 +159,7 @@ public class ImageUtils {
} catch (IOException e) {
}
int[] pad = {0, 0, 0, 0};
int[] pad = splits.clone();
region.names = new String[] {"split", "pad"};
region.values = new int[][] {splits, pad};
return extractNinePatch(img, region);