나는 이러한 재료 필드 image을 가지고,하지만 난 당신이 자바를 사용하여 원하는 위치로 커서를 이동할 수 있습니다 힌트머티리얼 edittext에서 힌트를 이동하지 않고 커서를 이동하는 방법은 무엇입니까?
<android.support.design.widget.TextInputLayout
android:id="@+id/layout_password"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textColorHint="@color/colorTextGray"
app:passwordToggleEnabled = "true"
app:passwordToggleTint="@color/color_ic_visibility"
app:passwordToggleDrawable="@drawable/ic_visibility">
<EditText
android:id="@+id/password"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="45dp"
android:backgroundTint="@color/colorNotSelected"
android:hint="Пароль"
android:inputType="textPassword"
android:textColor="@color/colorTextGray"
android:fontFamily="sans-serif" />
</android.support.design.widget.TextInputLayout>
당신이 안드로이드를 추가하는 시도 했습니까? –
예. 그러나 그 후에 떠있는 라벨도 움직입니다. 커서 만 바꿔야합니다. – Antony