I would like the textView to display the value of the variable I created in MainActivity "int numero = 0".
package genesysgeneration.a10;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.widget.Button;...
I need to retrieve a user-selected string in a TextView, but the method getSelectionStart returns the same value as getSelectionEnd.
Here's an example in the image below:
I performed the test on a Samsung Galaxy S7 Edge and an Asus...
I asked how to implement this class #
full screen
startingtyping
Asyoucansee,itisdecreasing,butwhatyouaretypingdoesnotappear,butitisthere.followscodefromthe"autocollapse" class link
**
* DO WHAT YOU WANT TO PUBLIC...
I am a beginner in development and have learned how to develop for Android with Android Studio 3.1.1. In one of the exercises I'm doing, it is necessary to retrieve which checkbox was checked and display in a textView, in the interface I center...
I use the Maskformatter lib to format Edittext fields. But now I'm getting a value from an int variable and I wanted to format it in the R $ currency value.
Example: In the variable containing 1000
Format: 10.00
Using the lib I can not bec...