You can go to
realme UI 2.0 & above versions: Settings > Additional / System settings > Keyboard & input method > Keyboard location, select Raised keyboard and enable Input method quick switch.
realme R & Go & S & T & U Edition: not support
When using an input method, click the keyboard icon in the lower right corner to switch to the current input method quickly.