1
위도와 경도를 나타 내기 위해 TextEdit
에 숫자와 산술 연산자를 입력하고 싶습니다. 따라서 숫자, 소수점 및 더하기 및 빼기 연산자 (+/-)가 필요합니다.입력 방법 안드로이드에서 숫자와 Arithmatic 문자
<EditText
android:id="@+id/dia_latitude"
style="@style/Heading"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="5dp"
android:inputType="number" />
나는 두개의 xml 속성을 | 예 : android : inputType = "numberSigned | numberDecimal" –