Image Based Slider Squared left Side

That’s correct. Technically this is the size of the corners of your nine patch (because corners are not deformed)

1 Like

That makes sense. So if i had a ninepatch image that had only corners it could resize easily until it was being bounded by the corner sizes.
So if my corners are 10px tall the minimum would be 20px

otherwise i would see deformation.

So i only need to declare a ninepatch and then nothing else and it will automatically resize right?

Yes but I would tend to go for 21 to keep the resizable part of the nine patch.

1 Like

if i have 20 it would not resize?
This is because it is even, so it cannot scale easily…?

It is to keep not only edges but spaces for the borders as well.

Usually, it should even be at least 2*2 to ease the rendering : here is the doc I often used as a ref: Create resizable bitmaps (9-Patch files)  |  Android Developers

1 Like