Compare commits
1 commit
0071cc8679
...
07f57d5c7f
Author | SHA1 | Date | |
---|---|---|---|
07f57d5c7f |
1 changed files with 9 additions and 6 deletions
|
@ -3,7 +3,10 @@ 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
|
||||
|
@ -53,12 +56,12 @@ class EuiccMemoryResetFragment : DialogFragment(), EuiccChannelFragmentMarker {
|
|||
}
|
||||
|
||||
private val editText by lazy {
|
||||
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
|
||||
EditText(requireContext()).apply {
|
||||
isLongClickable = false
|
||||
typeface = Typeface.MONOSPACE
|
||||
hint = Editable.Factory.getInstance()
|
||||
.newEditable(getString(R.string.euicc_memory_reset_hint_text, confirmText))
|
||||
}
|
||||
}
|
||||
|
||||
private inline val alertDialog: AlertDialog
|
||||
|
|
Loading…
Add table
Reference in a new issue