background

Change background color of android menu

Hi guys, i'm trying to change the standard light grey in a light green. Seems that there is not a simple way to do this (trough theme for example) but i'ìve found this link: http://tinyurl.com/342dgn3. The author seems desapper, someone can help me to integrare this code? I don't understard where i need to implement the LayouyInflater f...

Rails: how does background file upload work?

Uploading a file in a REQUEST/RESPONSE cycle for large files is not a nice experiences for the user, because the application seems to hang during the file upload. Even more critical is that the user can abort the upload, and need to re-start the upload process later. How can I do the upload process in the background? There are some exa...

Android TextView's Background Not Moving When TextView.Padding Changes

I have a TextView that I created in the main.xml. In my app.java I am dynamically positioning that TextView based on where the user taps the screen. The problem I am having is that when I call myTextView.setPadding(100,100,0,0), it moves the actual Text of the TextView, but does not move the Colored Background of the TextView. Ideas? ...

Drawable from mdpi loading instead of hdpi

Hi, I have set up my project with different drawable directories (ldpi, mdpi and hdpi). I have a background png with two different resolutions: 320x480 in drawable-mdpi folder, and 480x800 in drawable-hdpi. Both have the same filename. When I try to load the background as a style in the manifest (using android:windowBackground in the sty...

iPhone: Parsing multiple XML with NSXMLParser in background disturbing each other

I have a strange issue, when it comes to parsing XML with NSXMLParser on the iPhone. When starting the app, I want to preload 4 table-views, that are populated by RSS-Feeds in the background. When I init the table-views one-by-one, than loading, parsing and displaying all works like a charm. But when I try to init all view at once (at t...

Row image changes in listview in android?

Hi, I am developing an android application where I need to manipulate the background image of the rows in listview on certain conditions. Initially when the listview is loaded all works properly. But when I scroll down to the listview and come up again the background image changes. Can someone tell me the reason why its happening so? H...

html transparent background

I want to create a webpage with transparent background, a table and some text. I have seen posts related to this, but due to my lack of familiarity with css, I somehow cant get my code to work. I just want a transparent background, while this code is making everything transparent. Can someone kindly help. <html> <head><style type="text/...

jQuery - Can I animate css properties? Background-image particularly

I know I can fade in and out divs and elements, but can I animate properties as well? I thought about this just now when changing background-image property of a certain div. And thought it'd be cool if the background image was faded in as well ;) Here's the code I'm using to replace background image. But can it be animated? var origina...

How do I effectively fake a div's background color using an image in the body element?

I want to get something like the following: The dark grey is the sidebar but I want to apply that color into the body element as an image which repeats itself vertically but at the same time doesn't cover the footer (light gray). (this is the easiest way I found to stretch the color (dark gray) until the bottom.) Part of my CSS: bo...

iPhone developing FOR jailbroken devices (not USING jailbroken devices!)

I would like to dig into developing for jailbroken devices, just to test what the device could do. I would like, for instance, to alter the ipod music based on geo-location, so i have to program a new daemon that runs in background and fetch gps informations at regular interlavs and then make something with them. Longitude, longitude, f...

Is it possible to make a background image repeat vertically. But, also horizontally only to the right side using CSS?

So basically we have an background image (red) and we want it to repeat as the following with CSS: So I don't want it to repeat to the upper and left side. (sorry I suck at ASCII Art) ...

UILabel background color not updating in UITableView

I'm having a perplexing problem with a simple UILabel I put on a cell in a UITableView. I enter a separate view after tapping on a row, like many UITableViews. In there, I update the cell so that when I return to the rows, it should be updated, with this: MyTableViewCell* cell = (MyTableViewCell*) [mTableView cellForRowAtI...

CSS background with 2 colors which expand themselves to their sides?

The following page has white (left) and dark gray (right) background. I checked the CSS and it has a white background image and color: #FFF. I can't figure out how did he archived that. How to do that? http://www.voceantica.com/ (If you enlarge the web browser both colors enlarge themselves too.) ...

Visual Studio 2010 - WPF - Background-Image scaling problems

Hi. I experienced a Problem in Visual Studio 2010 and i dont know if its a bug or i just did somehting wrong. I have 6 Images(Icons) that all have the same size (50x60px), are of same type(png), made with same program(gimp), saved with same options. I want to use these icons as backgrounds for buttons. But the Images are scaled differe...

How to make WebBrowser control with transparent background?

Hi all. I try to make my WebBrowser control transparent, so if the HTML loaded into it has no background, the underlying window should be visible. I`ve broke my head trying different ways. There is a transparent background in Microsoft Sidebar application. In gadget`s HTML <g:background> tag can be used, but this tag is not available i...

How to be notified when a script's background job completes?

My question is very similar to this one except that my background process was started from a script. I could be doing something wrong but when I try this simple example: #!/bin/bash set -mb # enable job control and notification sleep 5 & I never receive notification when the sleep background command finishes. However, if I execute t...

UINavigationBar Background Image Problem

i have set my navigationbar background with this code in my App delegate: @implementation UINavigationBar (UINavigationBarCategory) - (void)drawRect:(CGRect)rect { UIImage *backgroundImage = [UIImage imageNamed: @"Nav-rightpane.png"]; CGContextDrawImage(UIGraphicsGetCurrentContext(), CGRectMake(0, 0, sel...

Background processing in Rails

A certain function in my controller takes a lot of time to process (heavy db work) . So when my user clicks on "submit" on the form he has to wait for the process to complete which is quite long. Is there any way that on "submitting", the user is redirected to the next view without any delay while the processing continues in the back-end...

Creating a Mac OS application that interacts with all text fields

What would be the first step to creating an application for Mac OS X that would take user interaction from any text field in the system? A couple examples of apps that do this are TextExpander and Typinator. What I want to do would be using similar functions to access Text fields throughout the computer during user input to give other a...

Blackberry app that periodically sends GPS to webserver?

I want to create a background app on a Blackberry that starts when the phone boots and sends gps locations to a webserver periodically. Is this possible without the BES server? I am most likely targeting OS 4.5. Any gotchas I should know about? thanks Nick ...