Compare commits
1 commit
07f57d5c7f
...
0071cc8679
Author | SHA1 | Date | |
---|---|---|---|
0071cc8679 |
1 changed files with 6 additions and 9 deletions
|
@ -3,10 +3,7 @@ package im.angry.openeuicc.ui
|
|||
import android.graphics.Typeface
|
||||
import android.os.Bundle
|
||||
import android.text.Editable
|
||||
import android.text.InputType
|
||||
import android.util.Log
|
||||
import android.view.View
|
||||
import android.view.inputmethod.EditorInfo
|
||||
import android.widget.EditText
|
||||
import android.widget.Toast
|
||||
import androidx.appcompat.app.AlertDialog
|
||||
|
@ -56,12 +53,12 @@ class EuiccMemoryResetFragment : DialogFragment(), EuiccChannelFragmentMarker {
|
|||
}
|
||||
|
||||
private val editText by lazy {
|
||||
EditText(requireContext()).apply {
|
||||
isLongClickable = false
|
||||
typeface = Typeface.MONOSPACE
|
||||
hint = Editable.Factory.getInstance()
|
||||
.newEditable(getString(R.string.euicc_memory_reset_hint_text, confirmText))
|
||||
}
|
||||
val edit = EditText(requireContext())
|
||||
edit.isLongClickable = false
|
||||
edit.typeface = Typeface.MONOSPACE
|
||||
edit.hint = Editable.Factory.getInstance()
|
||||
.newEditable(getString(R.string.euicc_memory_reset_hint_text, confirmText))
|
||||
edit
|
||||
}
|
||||
|
||||
private inline val alertDialog: AlertDialog
|
||||
|
|
Loading…
Add table
Reference in a new issue