This occurs because you are calling two methods at same time i.e. Show Custom Dialogue and Screen3. Show keyboard
Try to do something like this
And then when the user will click the text box, the numeric keyboard will appear
And for this
I don’t know why but when textbox’s keyboard (Numeric keyboard) is shown, the Screen1’s keyboard (alpha-numeric keyboard) also appears beneath the Numeric keyboard. Hence when Numeric keyboard is dismissed, the alpha-numeric keyboard is also visible for fraction of second. I tried to resolve this but in vain.
I don’t know, may be I am missing something
I am also trying with using clock for synchronous and delay. but still none of the workout are leading to my expectation. i.e, when button clicked, custom dialog opens with focus and numeric keypad visible. when dialog dismissed, all the visibility to be normal. i.e, no jerk and no momentary display of any other keyboard apart from numeric type.