Posts by A user • 1 point
2 posts
-
-1
votes3
answers1285
viewsA: Why new Alertdialog.Builder(getApplicationContext()). create() does not work?
As far as I know, there is no getApplicationContext() or shall not apply to AlertDialog.Builder. Try to use this minimized code made by me: AlertDialog.Builder(this) .create() .setTitle("titulo")…
-
0
votes2
answers3204
viewsA: Implement Numeric Keyboard
It’s very easy, just need to configure the input type of your Edittext in the XML file. <EditText android:inputType="number"/> Or in java: edittext1.setInputType(InputType.TYPE_CLASS_NUMBER);…