如果您想使用有符号十进制数而不是将两个Xml 属性 android:inputType="numberDecimal" 和 android:inputType="numberSigned" . 你的 EditText 声明将是这样的:
確定! 回上一頁