Posts by Bruno Romualdo • 1,890 points
83 posts
-
1
votes2
answers189
viewsA: Downgrade project version in android studio from 6.0 to 5.0
Change the minSdkVersion 23 to 21.
-
0
votes2
answers206
viewsA: Dropdown pushes div down
Hello Vanessa welcome to Stack Overflow. First your code is not working here because it has some errors (I don’t know if it occurred when you pasted the code to demonstrate). Be very careful to…
-
0
votes1
answer175
viewsQ: How to expect the answer of an asynchronous function (Javascript/Cordova)?
I am developing a Cordova app and I am using the Sqlite plugin to make queries in the database. But as the functions of querys are asynchronous I have a problem to create a multidimensional array.…
-
1
votes1
answer58
viewsA: Css3 is not working on Cordova
The syntax of @media-querie is wrong, the class has to stay inside it and not outside: @media screen and(max-width: 1200px){ #backgroundIndex { background: red; } } @media screen and(max-width:…
-
2
votes2
answers583
viewsA: Error onclick Javascript
You are using: document.getElementById("txtNumeros").value; // pegar o elemento por id to get the value of the input, but its input is not with the id txtNumeros and yes with the attribute name:…
-
3
votes1
answer99
viewsQ: "For" 'lagando' interface
I have a JSON I’m using to generate an HTML in a app Cordova as follows: function gerarLista(lista) { strHtml = ""; for(item in lista) { strHtml += '<div class="item">'; strHtml += '<div…
-
0
votes1
answer30
viewsQ: Websockets on windows server
All right, guys, I have already given a good read in several web tutorials related to WebSockets, I thought it was very cool and wanted to do some chat tests for learning. The problem is that in all…
-
8
votes2
answers3945
viewsQ: Javascript usage of ${variable}
I was reading this article on AJAX when I came across this way of using a variable inside a string: let cep = document.getElementById('cep').value;…
-
5
votes3
answers254
viewsA: Search id of relative element of relative
To catch a parent element of more than one level above use the .parents() jquery. But a tag a cannot encompass another tag a, in your case need to take the Parent #oDeCima and use the function…
jqueryanswered Bruno Romualdo 1,890 -
5
votes4
answers720
viewsA: Change comma per point
Welcome to Stackoverflow @Moises ;) In your function you are just taking the value of the input document.calcform.visor.value, transforming him novoValor = valor.replace(",",".") and attributing it…
javascriptanswered Bruno Romualdo 1,890 -
3
votes2
answers65
viewsA: Insert variable in jquery Animate value
Make sure to pick up the position of the element after it has been rendered, see the example: <head> ... estilos e tudo mais <script> var top = $("div").offset().top; // vai retornar 0,…
-
1
votes3
answers228
viewsA: How to move a cursor as user type?
Hello @Matthew Welcome to Stackoverflow ;) Your 'problem' can be solved in a very simple way with css and the javascript used only to pick up the value of the input: $(function() {…
-
2
votes2
answers39
viewsA: Ternary operator returns error 500
Ta wrong order buddy, operator is like this: condição ? resultado_verdadeiro : resultado_falso you put the ? in place of :.
phpanswered Bruno Romualdo 1,890 -
1
votes1
answer193
viewsA: Consult real-time database inserts
I also have this problem, so during some researches I found a feature called Triggers(Trigger) in the MySql. My idea is to create another table with a Trigger that records the change…
-
3
votes1
answer118
viewsA: How to mark a radio input when clicking a DIV?
Enclose your image with a label and attribute it to the same id of radio that already solves your problem: <input name="teste" type="radio" id="test1" /> <label for="test1"> <img…
-
-1
votes3
answers1292
viewsA: How can I manipulate CSS from parent element to clicked element?
Use the parent() jquery selector with class 'mae' (.col-lg-6) what you say, and the focus() instead of click() since these are inputs: $('.tel, .email, .nome').focus(function(){…
-
1
votes1
answer276
viewsA: Friendly url does not accept bar after link
If your link to the css is being looking relative to the file so: href="css/seu_arquivo.css" And your files are in the root folder of the directory (probably httpdocs or something like that) so the…
htaccessanswered Bruno Romualdo 1,890 -
1
votes2
answers79
viewsA: Data html with jquery
The @DVD answer already answers your question. But as this is a very broad and discussed subject (including I am very interested in a standard solution) I will leave an alternative that I hope will…
-
1
votes2
answers293
viewsA: Height of total div proportional to content
What does that is position: absolute that takes the normal flow element from the page. To solve without the position: absolute do so: First in your class .boxSlide leave her with the height: auto to…
css3answered Bruno Romualdo 1,890 -
1
votes1
answer79
viewsQ: Animation Transform "blurring" svg while animating
I’m having a problem making an animation where I have one circle in svg and I need to make it go up to cover the entire screen, like a FAB which transforms into a div, I’ve done an animation of this…
-
1
votes3
answers401
viewsA: Materializecss: image without margin
Friend to class row of Materialize by default has a margin-bottom of 20px , to solve this just create a class with the name .no-margin and leave her with margin: 0 !important;, so whenever you want…
-
1
votes2
answers247
viewsA: How to change the color of a div Parent relative to the size of the Childs
Use css to do this. let your divs from within the class .timeline with position: relative div.timeline > div { position: relative; } and with a pseudo elemento ::after or ::before Voce can make a…
-
1
votes2
answers105
viewsA: Dynamic height in 'product cart'
Wouldn’t it be better if you rethought your logic to make it easier? So the code is doing too much unnecessary calculation, see an example: Create a div to encompass the products and the subtotal…
-
3
votes2
answers303
viewsA: Download attribute, new line in text file
Change the \n for %0D%0A that will already work. Source: response in Stackoverflow.…
-
0
votes1
answer803
viewsQ: Calling Javascript function from Java (Webview android)
I am with a simple doubt to understand but I have not found solution.I have a Webview in my MainActivity where is loaded a responsive Website that I created, in this Website I have a shopping cart…
-
0
votes1
answer662
viewsQ: Auto complete Chrome bringing wrong fields as login
I have a problem with a criminal record. When registering the browser asks if it wants to save the user and password, the problem is that it saves a field nothing see as user but the password it…
-
1
votes1
answer333
viewsQ: css variables with values coming from the database
I’m developing a website where I saw myself in need to bring the style(colors) of the database elements. This would be a piece of cake if it were a page because (by relaxo) could write the css in…
-
0
votes0
answers746
viewsQ: Sending SMS via Website
I am developing a delivery website where I would like when the customer finalizes the order, to send an SMS to his mobile phone. There would be some way (free of charge, but it can be paid for too)…
-
1
votes3
answers1368
viewsA: How to make a burger menu open from right to left?
With just a few changes in your css you can do this: Just put a right:0 (for the menu to be on the right) and then the position:fixed (the side scrollbar is not displayed): nav { width: 250px;…
-
5
votes1
answer88
viewsA: Divs with alternating colors
In css I think it would be easier, you’re trying to make the famous zebra list right? (correct me if I’m wrong). suaClasse:nth-child(even) { background: #CCC; } suaClasse:nth-child(odd) {…
jqueryanswered Bruno Romualdo 1,890 -
4
votes3
answers368
viewsA: How to align the text in front of another element?
In his css add a height to their li thus: .etapas ul li{ height:30px; } And in the classes .redondo and .redondoativo put a float:left. To finish leave your class .textoEtapas thus: .textoEtapas{…
cssanswered Bruno Romualdo 1,890 -
1
votes1
answer1846
viewsQ: Mask url path on IIS server
I’m having a question in which I need but show a path in the url that is more user friendly, like this: http://hexatasistemas.com.br/sites/mercedita/efetuarlogin.asp I wish instead of showing all…
-
2
votes1
answer139
viewsQ: Take view position on the screen and apply in another view
I’m trying to make a transition effect when I open a DialogFragment but for that I need the photo(CircleImageView) of DialogFragment is in the same place as the photo of Activity which opens it. If…
-
2
votes2
answers154
viewsA: Toolbar stands in front
Try to add your toolbar inside the scrollView, so it will also go up when you scroll: <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"…
-
0
votes1
answer178
viewsQ: Notify current Activity which background function has finished running Android
I have a class that looks for a list of clients in the background with a AsyncTask. She can be called any Activity, and returns nothing, just looks for the list of customers that comes in json and…
-
4
votes1
answer105
viewsA: Typing box
in the briefcase drawable create a new xml file with this code: <?xml version="1.0" encoding="UTF-8"?> <shape android:shape="rectangle"…
-
2
votes1
answer59
viewsA: Menu Jquery does not open!
Looking at the source code of the page I did not find the link to Jquery. Do the following: Before your code <script type="text/javascript"> ...sua função </script> add reference to your…
-
4
votes1
answer358
viewsA: Dependencies Gradle with error
In his Build.gradle (Aplicação) pick up the line maven: buildscript { repositories { jcenter() } repositories { maven { // Essa linha url "https://jitpack.io" // Essa linha } // Essa linha } } And…
androidanswered Bruno Romualdo 1,890 -
3
votes2
answers1390
viewsA: How do I place a Circular image inside an Android Fragment?
In my case I only managed to use a make one ImageView round using an external library, in my case the Circleimageview. Just add dependency on Gradle: compile 'de.hdodenhof:circleimageview:2.0.0' And…
-
1
votes2
answers771
viewsA: Back button without action bar
Try the following: Wrap your Toolbar with the AppBarLayout <android.support.design.widget.AppBarLayout android:layout_width="match_parent" android:layout_height="wrap_content"…
androidanswered Bruno Romualdo 1,890 -
3
votes5
answers12363
viewsA: One component on top of the other
The android already has a layout that makes your children overlap, is the FrameLayout, replace the RelativeLayout for his sake: <FrameLayout ... // width, height e tudo do RelativeLayout aqui>…
-
6
votes1
answer246
viewsA: How to handle (String) value with jquery?
Try to use the split("/"): $("#teste").change(function () { var valor = this.value.split("/"); $("#nome").val(valor[0]); $("#idade").val(valor[1]); });…
jqueryanswered Bruno Romualdo 1,890 -
0
votes2
answers146
viewsA: Fixed Div with Fadein Effect
There is no way to apply the effect fadeIn in a visible element, it serves to "show" an invisible element(display:none or opacity:0) with the effect of fade(increasing the opacity of the element).…
-
4
votes1
answer3874
viewsA: Change the edittext and selection color in edittext
Try this, add these styles to your style.xml: <style name="StyledTilEditTextTheme"> <item name="colorControlNormal">#e6ffffff</item> // Cor padrão da linha <item…
-
2
votes2
answers582
viewsA: Change Toolbar Back Button Color
I believe there’s no way to change his color, but to use another image instead since he’s a drawable. For this create an image of your preference (with the color you want) and add in the folder…
-
2
votes3
answers1366
viewsA: How to install an APK remotely? (how Googleplay updates apps)
Install the application automatically in the background I believe it is not possible, because the device would need to be rooted. But you can show a screen asking if the person wants to download the…
androidanswered Bruno Romualdo 1,890 -
1
votes2
answers579
viewsA: removing li using jquery
The trick is to leave the element with display:none when the screen is small. Use @media-queries css for this: @media only screen and (max-width: 1024px) { tamanho da tela em que você quer que o…
-
1
votes1
answer23
viewsA: import android.content. *
Using Android Studio? If it is, it leaves the gray line because you haven’t used the class yet Intent in your code, leave the import how you are and try to write your code normally. If you get an…
androidanswered Bruno Romualdo 1,890 -
5
votes1
answer386
viewsA: Problem while doing method that checks which button was clicked
This code you posted does not have a click function, it is running all this when the OnCreateView() is started. Try to do so: In your class, right after the extends Cronograma, add implements…
androidanswered Bruno Romualdo 1,890 -
2
votes2
answers601
viewsA: Script for side menu
You can try using the materialize, it is fully responsive and with options to create that responsive menu you want. For example, you could make two menus (one for large screens and one for small…