package net.studymongolian.mongollibrary;

import android.content.Context;
import android.util.AttributeSet;


public class KeyKeyboardChooser extends KeyImage {

    private static final char ELLIPSIS = '…';

    public KeyKeyboardChooser(Context context) {
        super(context);
        init();
    }

    public KeyKeyboardChooser(Context context, AttributeSet attrs) {
        super(context, attrs);
        init();
    }

    public KeyKeyboardChooser(Context context, AttributeSet attrs, int defStyleAttr) {
        super(context, attrs, defStyleAttr);
        init();
    }

    private void init() {
        setSubText(ELLIPSIS);
        setIsRotatedSubText(false);
    }

    @Override
    protected void onActionUp(int xPosition) {
        if (getIsShowingPopup())
            chooseAnotherKeyboard(xPosition);
        else
            clickKeyboardKey();
    }

}

@@ -201,16 +201,80 @@
 S = '%E2%80%A6';
+%0A    private static final float ELLIPSIS_SIZE_MULTIPLIER = 1.5f;
 %0A%0A    pu
@@ -932,10 +932,191 @@
 %0A    %7D%0A%0A
+    @Override%0A    public void setSubTextSize(float subTextSize) %7B%0A        float scaledSize = subTextSize * ELLIPSIS_SIZE_MULTIPLIER;%0A        super.setSubTextSize(scaledSize);%0A    %7D%0A
 %7D%0A

increase size of KeyKeyboardChooser ellipsis