I created button with some shadow using a style:
<style name="test">
<item name="android:shadowColor">#FFFFFF</item>
<item name="android:shadowRadius">1</item>
<item name="android:shadowDx">1</item>
<item name="android:shadowDy">1</item>
</style>
This applies a white shadow on the button's text in its normal state. I was just...
I'd like to create a list of buttons that depend on device supported parameters ; for example, if the device's camera supports setting white balance and antibanding, then 2 corresponding buttons are displayed to allow the user to changes these settings; but if I run the same App on a device that supports only setting for white balance, t...
want a horizontal field manager to act as a button.. changing background image onfocus..
http://i52.tinypic.com/2cgzqe0.jpg
setbackground image for HorizontalFieldManager and it should change onfoucs(select) and it should act as a button to push some other screen...
under that HorizontalFieldManager i want to add an image and labels t...
Hi,
I am trying to do a very simple task here, I would like to be able to click a button on a page and have it take me to another page. I have tried window.location.href, and a bunch of other things and it does nothing. I have tried different platforms and different browsers, all with the same result.
I know that it can call a functio...
I have to copy and paste the values of input type="button" (ie value="1.25", value="3.50") from a lot of pages. Is it possible using jquery or greasemonkey?
<td>
<input type="button" onmouseout="btnGiocataOut(this)" onmouseover="btnGiocataOver(this)" onclick="aggiungiScommessa(6659, 12, 22, 1, 125)" value="1.25" class="ris">
</td>
...
I have an html "button" which is really just this:
<div onClick="window.location.href=somePage.htm">
<img src="img.png"/>
</div>
Works fine in desktop Safari. And it works in mobile Safari... however when I tap the "button" in mobile safari I don't see the little gray outline box indicating exactly what I'm tapping. How can I ge...
The user will input their Id number then the accounts tied to this Id number will be presented(radio buttons) . They could have 1 or even 10 accounts returned(radio buttons). I need to have them
update their account to a Y, N. The account Id is what makes up the radio groups. Now I need to know who to loop through these radio buttons to ...
Hi,
I want to use a Button in my android app but I want to customize how it looks. However, I want the highlight and selected colors of the button to be the same as the default colors (i.e. the dark and light orange gradients, or whatever the theme color supplies).
Is there anyway to get the default highlight/selected drawables and to ...
i am new to iPhone and cocos2d in general,
i m reading tutorials and tried to come up with application that contains a menu
i m using cocos2d menu items
the problem is that i found while testing my applications that the buttons respond to clicks on some area around the button (not only the button sprite rectangle boundary), and while ...
I'm using a customized <img> element as a button on my site (with onclick for the form submit). The reason being I want the element to display one image when the button is up and another for when the button is down. I'm using onmousedown and onmouseup for that.
This is an AJAX-based site, and the submit is also AJAX-y. It is safe to ass...
Is there a way to get a button to work that is under a mask in Flash CS5?
...
I am compulsive and like visually clean designs.
Theres a pop up in my app that tells the user that there's an error.
I made a clear button over the entire pop up (about 200x100 px) so the user can just touch the notification to dismiss it.
But i'm afraid the user might not know that you can just touch the pop up to dissmiss and woul...
How can I use a value from the reading function in the button1_Click function?
public void reading(object sender, EventArgs e)
{
DialogResult reading_from_folder = new DialogResult();
reading_from_folder = folderBrowserDialog1.ShowDialog();
if (reading_from_folder == DialogResult.OK)
{
string[] files_in_folder = Direc...
Hi
I want to fire a button using a JavaScript, I founded several references on the web, but on the implementation I have an issue. I will use it for several buttons, the result if I press the real button is that I can "get" the information of what button was pressed using asp request("submit"), but if the JavaScript fires the button, the...
Hi,
I am trying to think of the best way to make a button/anchor for switching languages in my website.
I need a button that when clicked, will changes a global variable lang, and refresh the page (so the new variable will be updated).
Can you advice me what's the best solution, thanks
By the way I am using python with Google AppEngin...
i am using python, and appengine, and i am trying to fix a specific button.
let's say this is the code :
<FORM action="http://blabla" method="post">
<P>
<LABEL for="firstname">First name: </LABEL>
<INPUT type="text" id="firstname"><BR>
<LABEL for="lastname">Last name: </LABEL>
<INPUT type="text" ...
Hello,
First of all I am completely new to animation on android but would like to include it in my next application. The application will be as follows:
For example, I will be having 2 layers, each one containing their own data.
Layer 1 will contain data 1
Layer 2 will contain data 2
And layer 1 will be superimposed on layer 2; that...
I have a submit image button:
<input id="sbutton" type="image" value=" " />
Styled like that:
#sbutton {
text-indent: -99999px;
border: 0;
background-image: url('submit.png');
width: 201px;
height: 37px;
}
It works perfect in Opera in Firefox the button size is about 10x10px (wtf? :)) and in Safari...
i have been trying to set a image on a button using the following code but it doesn't seem to work...i think what i am doing wrong is the path of the image i am using but i tried different paths and it wont work...i have copied my image to the drawable folder in res folder...what am i doing wrong here??
final Button next = (Button) find...
Hi,
I am trying to put in an icon (a scaled image) as part of a button that also contains some text. I am programming in J2ME for the Nokia SDK (S60 device) and using Eclipse.
The code is as follows:
but = new Button("Some text");
Image img = null;
try {
img = Image.createImage("/flower.png");
} catch(IOException e) {
e1.printStackTr...