Left padding of MiniKeyboard textEditBox

I replaced the background of the MinKeyboard textEditBox using the backgroundUri property. When I do this, the text of the textbox is completely left justified. There is no more padding on the left side of the textfield. If I replace the backgroundUri, how do I ensure there is left side padding?

Did you try setting TextEditBox width to something less than the keyboard / background image width?

I just tried and the text does get smaller and is centered justified compared to the keyboard but so does the textfield’s background.

So I want the textfield background to keep the same width but the textfield to have a narrower width or have padding around its left and right sides.

yeah that’s a pain, don’t see any way to distinguish the text from the background; you could maybe position a separate fake background (poster) over it and maybe get it to work?

I personally made my own text box.. since then though; I simply add spaces to text I want to pad. It’s just easier.

Came here to say, using a 9 patch image and adding content padding solves this issue.

https://romannurik.github.io/AndroidAssetStudio/nine-patches.html

Using this link, just drag n drop your image, then set Stretch Region to Auto Stretch. Click on Content Padding next and drag left/right side to where you want it. Save and use the appropriate size XHDPI for me.