Questions tagged as 'button'

2
answers

Create button quit using onClick

I have a problem with a button on android. I need to create an exit button, but when the button is selected an error appears. This is the Dashboard class: public class Dashboard extends Activity { @Override protected void onCreate(Bundle s...
asked by 24.10.2016 / 00:30
0
answers

Link timer to a button

Hello, I'm starting to program in C ++ now and I'm developing a college project, it's a periodic table. We think of using a button for each element (118 in total). My goal is to animate the button so that when the mouse goes over it double in si...
asked by 10.09.2016 / 18:35
1
answer

Insert button dynamically in RelativeLayout

I have a ListView and I want to add a button on the side of each list item, but it has to be dynamically: item_listview.xml <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertic...
asked by 30.06.2016 / 14:46
0
answers

How to generate multiple buttons with the same variable and pick them up separately

Hello, I'm going to put the important part of the code here and then I'll explain what I want to do. Main: public static JButton sala; public static int contagemTurmas = 0; botaoSalvar.addActionListener(new ActionListener() {...
asked by 16.05.2016 / 16:50
1
answer

Button with cookie and location

At the top of my page is the cookie: <?php setcookie("agenda","2016");?> At the bottom of the page, without using form, I have the following button: <button class="button button1" onclick="location.href='escolha_sala....
asked by 10.04.2016 / 19:45
1
answer

How to customize the attach file button in aspx

I'm having trouble changing the text of the file attachment button. My button is with the text like this: Iwantedtochangethetextof"Browse ..." Would? I'm doing it in asp.net. Follow the upload code: <asp:Label ID="Label2" runat="serv...
asked by 14.04.2016 / 15:41
0
answers

Button in pricing-table Codeigniter

I have a code that shows pricing-table in my View. Each one has a button in javascript that when it clicks on it needs to open another View where it has the details of each pricing-table. How can I make each button to click appear different writ...
asked by 28.07.2015 / 14:54
1
answer

Remove "flashing screen" effect at the push of a button! [closed]

I'm doing a project - with Arduino - along with controls in a web HTML page, that's all right. However, when you press a button on the web application, the page is reloaded, giving a "flicker" effect to the screen, how do I get that effect...
asked by 22.08.2018 / 01:18
1
answer

Fit image inside button

Does anyone know how I fit the image to the size of the button without it being cut? Button:<Buttonandroid:id="@+id/funcionario" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginLeft...
asked by 18.02.2018 / 14:18
2
answers

Make buttons disappear based on login

I have the problem in changing the toolbar buttons (BarButton Items) depending on whether the user is logged in or not. TableViewController: - (void)viewDidLoad { [super viewDidLoad]; User *userObj = [[User alloc] init]; if([user...
asked by 24.02.2016 / 21:05