Posts by João Pedro • 81 points
9 posts
-
0
votes3
answers189
viewsA: Internationalize the content of Meta Tags
What you should do is put the metatags in the same language as the site.. Even because google does a check of the conciseness of Keywords.. In other words, check if there really is a related…
htmlanswered João Pedro 81 -
2
votes1
answer381
viewsA: Check if GPS is enabled in all versions of Android?
public static boolean isLocationEnabled(Context context) { int locationMode = 0; String locationProviders; if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT){ try { locationMode =…
-
1
votes1
answer640
viewsA: Selection and deselection of items in a Listview - Android
To keep the color of the listview item by pressing it, include the following line in your listview layout: android:background="@drawable/bg_key" Then set bg_key.xml in the drawable folder to look…
-
1
votes2
answers475
viewsA: Hide / Show Menu
rootView = Inflater.inflate(R.menu.menu_delete, menu); rootView.setVisibility(View.GONE);
androidanswered João Pedro 81 -
0
votes3
answers131
viewsA: Why doesn’t the footer stay hidden and mess up the page
a { text-decoration: none; } ul li { list-style-type: none; } .text-center { text-align: center !important; } .menu { text-align: center; } .menu li { display: inline; } .menu li a { margin: 10px;…
-
0
votes3
answers128
viewsA: List with display inline does not work properly
ul{ display: flex; flex-direction: row; flex-wrap: wrap; justify-content: center; align-items: center; } ul li { list-style-type: none; } .corpo-1 h1 { color: #000; text-align: center; font-family:…
-
0
votes2
answers1127
viewsA: Text slide
I usually use this slide. Responsive and with plenty of features. http://bxslider.com/ $(document).ready(function(){ $('.bxslider').bxSlider(); }); <script…
-
-1
votes4
answers4452
viewsA: Navbar Collapse does not work!
Well the code is right... You should not be importing bootstrap and jquery. You even downloaded those files and put them in the work folder? I did this with your code and it worked.…
-
1
votes2
answers2311
viewsA: How to Make Dropdown Menu with Pop-up Effect
I don’t know if this is what you want. I usually use the bootstrap menu and it is also achieved by this effect. If you need help just say. $(function () { $(".menu2").hide(); $(".open").stop(true,…