Set 9patch padding equals to split
This commit is contained in:
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);
|
||||
|
||||
Reference in New Issue
Block a user