Properly allows setting of input type on android.