I'm currently working on a game and have designed a custom keyboard as a relative layout. The keyboard is displayed fine on mdpi and hdpi screens, but on xhdpi even with a provided resource it's not being displayed properly. This is my keyboard in xml:
And this is how it looks on an hdpi screen:
And this is how it looks on an ldpi screen(exactly the same thing happens on xhdpi):
As you can see the first 5 letters in each row are resized and the others are normal, I can't figure it out and I've tried.
EDIT:
styles.xml - http://pastebin.com/6FPnybzP
FontImageButton class - http://pastebin.com/FgeG1aJ9
Try to add to your your buttons
android:minHeight="0dp"
android:minWidth="0dp"
Hope this helps.