- EditText 光标位置(末尾)
EditText editLiqAmt = findViewById(R.id.edittext);
EditText editLiqAmt.setSelection(editLiqAmt.getText().length());//光标
- 使用自带水波纹效果
android:background="?android:attr/selectableItemBackground"
EditText editLiqAmt = findViewById(R.id.edittext);
EditText editLiqAmt.setSelection(editLiqAmt.getText().length());//光标
android:background="?android:attr/selectableItemBackground"