Posts by Willian Soares • 65 points
7 posts
-
2
votes4
answers5062
viewsA: Check empty variable in PHP
It has no problem to use empty(), but if(!$numer) also works. The good of empty() is that it validates if the variable in question is null, empty or false, which is good depending on your case.…
phpanswered Willian Soares 65 -
0
votes1
answer49
viewsQ: Change icon color in API 19 Kitkat
Since API 19(Kitkat) is still very popular, it is a good choice to support this version. However, it does not support several Eatures, such as backgroundTint and Imagetint. This puts me in several…
-
1
votes1
answer168
viewsQ: How to return to the top of an Activity?
Following the standards of Material design, by clicking on a button of a Bottom Navigation that is already active, Activity should roll to the top I have a Framelayout with Coordinatorlayout, which…
-
2
votes1
answer42
viewsA: Friendlychat - date in messages
First, you would have to edit the class FriendlyMessage and place an attribute that supports Date and Time information. The Class Calendar or Date are great for this. Here are more information for…
-
0
votes9
answers9696
viewsA: Is it right to use the <i> tag for icons and not italics?
The ideal would be to put all the formatting in the CSS and leave only the basics in the HTML. Then italics would only be font:Italic And indicate icons.
-
1
votes5
answers76380
viewsA: How to pin a "horizontal menu" to the top of the window when scrolling the page?
In fact, with HTML 5 and CSS 3 you don’t have to do any JQUERY or anything like that. Twitter Bootstrap has a navbar of this style. just use the expression "navbar-Fixed-top" in the object
-
0
votes2
answers252
viewsA: Slideshow with images from Urls
In the Twitter Bootstrap has exactly what you need. Take a look there. It’s self-explanatory.