Posts by felipe218 • 54 points
6 posts
-
0
votes1
answer545
viewsA: How to lower the icons a little more?
Have you thought about using the attribute "margin" instead of "padding". Would place .logo { margin-top: 100px; } for example. Another thing, you could see the option to remove the "style" tag from…
-
0
votes1
answer146
viewsQ: How to pass drawable file as parameter?
I have a problem that should be simple, I want to move to another Ctivity, a drawable as parameter. here is my Onclick function: img1.setOnClickListener(new View.OnClickListener(){ @Override public…
-
0
votes2
answers67
viewsQ: Problem in the printing of a vector
Guys I’m having a basic problem that I can’t understand the mistake: Prova Class: public class Prova { public static void main(String[] args) { Vetor lista = new Vetor(); Scanner scan = new…
-
0
votes1
answer2086
viewsQ: Number of repeats within an array
I’m trying to count how many times an element appears within an array. ` public static void main(String[] args) { Scanner scan = new Scanner(System.in); int[] array = new int[4]; int a; for(int i =…
-
1
votes1
answer2704
viewsQ: Android - How to set a selected item from a Spinner to a string?
I have a question in my code, I’m trying to take the value of Spinner and record it in the bank, but I can’t make the spinner have String value. In case he’s giving me error at the time of setText,…
-
1
votes1
answer97
viewsQ: How to run a javascript using href?
I would like to run the javascript below using href. But by clicking on the supposed link Log Out, nothing happens. If I hold the cursor over the link it shows me the destination as…