Input type not working as expected

Below code opens numeric keyboard only on some Samsung Devices