Posts by Natan Felipe • 66 points
8 posts
-
1
votes2
answers117
viewsA: Edittext.gettext on a null Object Reference
Dude, I’m finding it strange the edittext being instantiated at the click of the button (Edittext name... name = findBiewById(...)). The conventional is to instantiate each view in onCreate. Another…
-
0
votes3
answers662
viewsA: Use the Textwatcher to handle the Edittext field on android but it shows $ 12,50 as it would be without the "R$"?
As it was commented there is no need for this Textwatcher if you do not want the R$. But for further clarification the Locale and the getCurrencyInstance method have great relevance to the R…
androidanswered Natan Felipe 66 -
0
votes2
answers68
viewsA: Placing sub-items in the CSS3 menu
i made some adjustments to your css: I informed you that any read that has a ul and that is with focus, I make ul visible: .menu ul li:hover > ul{visibility: visible;} and to leave aligned I go…
css3answered Natan Felipe 66 -
1
votes1
answer683
viewsA: How to make a button record data from a form with click events
You have to grab your button and use the setOnClickListener method and there you call the method responsible for saving the data, this way: botao.setOnClickListener(new View.OnClickListener() {…
androidanswered Natan Felipe 66 -
0
votes2
answers456
viewsA: How to set a background color and borders for my button beyond the states pressed and not pressed on the button with?
To add the edge on the button has a tag called Stroke and for there to be only the bottom edge, you need to negate the top, right and left attributes of the item tag. Drawable would look like this:…
-
1
votes1
answer79
viewsA: Populando Spinner
You can be populating according to the spinner dishes according to the selection of the restaurants spinner through the setOnItemSelectedListener. spnRestaurante.setOnItemSelectedListener(new…
-
1
votes2
answers534
viewsA: Guidance from Recyclerview
Friend, make the following changes to your Recyclerview, disregarding the first line of the block: LinearLayoutManager layout_manager = new LinearLayoutManager(getContext());…
-
1
votes2
answers436
viewsA: Recyclerview is behind/hidden from Toolbar/Actionbar
Opa, you are using as parent view the Relative layout? If you are using the parent view of Relativelayout, you add the layout_below property in Swiperefreshlayout.…