Questions tagged [imagebutton]

An image button is a button that displays an image, regardless of platform

An image button is a button that displays an image, regardless of platform

1801 questions
0
votes
1 answer

several imagebuttons in one onClicklistener on Android

Goal: Be able to hit buttons so the picture changes and stays at that image. The problem is that im not albe to change the picture on imagebutton9. When i hit imagebutton9 it changes the picture on imagebutton1. So the question is do anyone…
bjotta
  • 29
  • 1
  • 8
0
votes
1 answer

How to make an Image Button continually clickable in android

I am developing an application that contains a favorite feature. When the user clicks an image button, it should change its background resource and does something depending on its current background resource. The problem is that I need the button to…
0
votes
2 answers

ImageButton OnMouseOver Call C# function

I have a problem with an Image Button and its onmouseover action. In my ASPX file I have something like: ...
manveruPL
  • 57
  • 2
  • 11
0
votes
0 answers

android: long loading time for background of imagebutton

I am designing an app of which there is an index page that link to several content layouts, and each layout has an imagebutton in the middle of the screen. The code for the ImageButton is as follows:
pearmak
  • 4,979
  • 15
  • 64
  • 122
0
votes
0 answers

Some problems on making a automatic slide ImageButton

I have do some research on the web but I can't find the method for solving this problem. I want to make a button that will automatically slide from the current one to the new one (eg. ImageButton1 --> ImageButton2). I would like it to be slide from…
21.kaw
  • 583
  • 2
  • 7
  • 18
0
votes
1 answer

Android: Buttons in Footer not clickable with map fragment

I am having a footer layout included in my map layout. The footer has 3 ImageButtons. I tried everything to figure out to catch the clicks but without success. I only need the footer to be working in this activity so i dont see it necessary creating…
SunnySonic
  • 1,318
  • 11
  • 37
0
votes
5 answers

Null pointer dynamic Image Button creation in a different Activity

I'm trying to Make an Image Button OnClick create another dynamic ImageButton in real time to a Layout on a seperate activity, but the layout where the new button creates keeps turning up null with a nullpointerexception error and the app crashes,…
ToeKnee
  • 47
  • 1
  • 10
0
votes
2 answers

OnCreate ImageButton Onclick

I'm trying to get an ImageButton to create another ImageButton in a different layout from an OnClick. My logcat takes me to an error on this line, but provides no further feedback: ImageButton adab = (ImageButton)findViewById(R.id.abbutton); My…
ToeKnee
  • 47
  • 1
  • 10
0
votes
5 answers

How to add an image to custom button

I have very simple questions, How to add an image in custom button?
vik
  • 33
  • 1
  • 8
0
votes
1 answer

ImageButton Conditional Compilation is turned off

On my markup, I am using image button to update a record on the db. This has always worked till now. Now, users get the following error: Conditional Compilation is turned off It says line 1 charachter 33. I have no idea what this means. Markup…
Chidi Okeh
  • 1,537
  • 8
  • 28
  • 50
0
votes
1 answer

Can we use state_selected and state_pressed feature in Android xmlLayout for an ImageButton?

This is in reference to the question asked in the following link Android ImageButton with a selected state? How will we use this as a selector? if we have 4 background images eg: select_all_up.png, select_all_down.png deselect_all_up.png,…
Kailas
  • 7,350
  • 3
  • 47
  • 63
0
votes
1 answer

make alt for imageButton in yii

i want to put alt for the imageButton. this is my code: CHtml::imageButton($src.'flag.png', array('width'=>'40px', 'height'=>'40px','name'=>'fjfhjf' ,'alt'=>'dfffffffff'));
Mohammad
  • 3,449
  • 6
  • 48
  • 75
0
votes
0 answers

How to add an ImgButton in ListGridRecord and set it to DataSourceField?

I have a DataSource class that extends com.smartgwt.client.data.DataSource. I have several DataSourceTextFields in it that show some Strings, and I need to also show an image button in one of the columns. The problem is that if I add another field…
Bubolina
  • 141
  • 2
  • 16
0
votes
2 answers

Unable to click ImageButton

I have a following layout in main_view.xml which contains a ImageButton in it, button when i click/touch the button the ButtonListener function never gets called.
Maven
  • 14,587
  • 42
  • 113
  • 174
0
votes
1 answer

Dijit button show icon but not label programatically

I'm relatively new to Dojo and trying to get the hang of dijits. After consulting the docs for Dojo's dijit/form/Button widget here: http://dojotoolkit.org/reference-guide/1.9/dijit/form/Button.html I attempted to create a button showing only an…
Mack
  • 2,614
  • 2
  • 21
  • 33