Posts by Lucas Fernando • 79 points
8 posts
-
0
votes1
answer1848
viewsQ: What’s the best way to present only two houses in a java float
I am creating a simple application in android studio, where I make a division and present its result in an Edittext, however I would like to present only two decimal places, which is the best way to…
-
1
votes1
answer52
viewsQ: Sqlite Database is not entering values
I am creating a simple application that involves the Sqlite database and throughout the development my insert function in the table has stopped working. Through the debug I could notice that it is…
-
0
votes1
answer1146
viewsQ: Problems trying to change a nav_header_main.xml text view
I am working for the first time with Navigation Drawer Activity, and would like to change (by java) the text that appears in the nav_header_main.xml menu In red is the text I want to change. Below…
-
1
votes1
answer47
viewsQ: How to view and maintain an Sqlite database
Hello, I have recently started to study the Sqlite database and I would like to know if there is a way to view my tables and the database structure itself in full, equal to pgAdmin and Mysql…
-
1
votes1
answer54
viewsQ: How to prevent a Checkbox from receiving click events?
I want to create a list where each item has a purely informative checkbox, so that when the user accesses this item, the checkbox will be marked. But after a test implementation, I noticed that when…
-
2
votes1
answer496
viewsQ: How to find out if an Imageview has an informed photo
Hello, I want to create a condition that checks whether all the fields on the screen were informed by the user or not. If any have not been informed, I would like to present a Toast showing error.…
-
1
votes2
answers1458
viewsQ: How to hide the keyboard when the user presses a button?
I would like my application to force the closure of the mobile keyboard whenever the user presses a button (which is above and next to Edit).
-
0
votes1
answer1054
viewsQ: Separate strings by semicolon but also store the semicolon
I am using the split to separate strings by space, enter and semicolon, but when it is the semicolon I need to store it in an array position as well. How to do this? Current Code: String[]…