Questions tagged as 'button'

1
answer

Error in findViewById statement on Android

I'm new to Android and I'm having a hard time programming. This part of the code always has the error in R of findViewById . When putting the mouse on the error appears the information Cannot Revolve simble "R" , and just give...
asked by 22.05.2018 / 19:09
1
answer

How do I set the size of a button in centimeters?

I need to put a button with height and width in centimeters, where the size is maintained if it is accessed at different screen resolutions. It is possible? If so, how?     
asked by 02.09.2015 / 18:42
3
answers

How to put two buttons side by side

I do not understand as much about HTML and CSS as I would like and need to make a small change on a site where I'm limited, so I did it here. <div> <div> <a class="button" href="(LINK)" style="float: right; border:...
asked by 16.03.2018 / 15:56
1
answer

How to make CRUD buttons in datatables?

I am doing server-side activation and want to know how to make some buttons from a basic CRUD, in the last row, type like this: Mycode<scripttype="text/javascript" language="javascript" class="init"> $(document).ready(function() {...
asked by 29.06.2017 / 20:56
1
answer

Opening an activity and returning it saving the status of main

After many searches I came across the following situation: I'm on my Main Activity and would like to open another Activity (passing parameters to Activity2 ), then use the button back on the toolbar and return to the main. Problems:Iamu...
asked by 21.01.2017 / 13:05
1
answer

Button with glyphicon-remove with size problem

Please see this demo link: link I'm trying to center the "X" inside the red button. Code: <button id="del_photo" type="button" style="width:20px;height:20px" class="btn btn-danger btn-sm" title="Excluir"> <span class="glyp...
asked by 24.11.2016 / 21:20
1
answer

Grab a button in Splinter (python)

For most buttons that I try to grab using Splinter, the commands that are on this site ( link ) suffice. However, for this particular button, I do not find a way to grab it. <button type="submit">Vote</button> How do I do if...
asked by 13.11.2016 / 20:56
1
answer

Passing and Catching the CommandParameter of a Xamarin Forms Button

How to pass a value that is in a Binding by the CommandParameter of a button that is within a ListView to ViewModel ? The button is accessing Command right, but I do not know if this is how CommandParamete...
asked by 27.12.2016 / 19:15
1
answer

Disabling ActionLink CLICK event

I have the following link in my view: @Html.ActionLink(" ", "Editar", new { id = item.ID }, new { @id = "btnEditar" }) And while loading the page, I have to block this link, depending on the user's profile. I'm trying to disable link click...
asked by 29.08.2016 / 19:34
2
answers

Change value of variable after click button in PHP

Well, I need the $i to change value to $i++ with each click on the "Go" button. That is, I click the button and "1" will appear, when I click again "2" will appear, and so on. How can I do it? <form method="post"> &...
asked by 16.08.2015 / 16:52