Questions tagged [background]

Background typically refers to the rendering behind a container element's contents - usually on a web page, Windows form or other UI presentation medium.

In CSS, the background property is a shorthand property for setting the individual background property values in a single place in the style sheet. This includes the image, color, tiling and position.

In Windows Presentation Foundation (WPF), the background attribute can be defined for any visual UI object. It should be noted that WPF applications use a background thread for handling rendering and repainting.

Desktop applications such as those written in .NET and Java may have colors or images used to fill the window of a particular frame or form.

For information about background threading, see the multithreading wiki.

14810 questions
4
votes
1 answer

Receiving push notifications in background iOS

I'm working on an app that receives push notifications from Zenpush service. I managed to set up both app and account on Zenpush to sent and receive notifications. When the app is active (opened) and I receive notification - everything is OK. I…
Kolineal
  • 465
  • 5
  • 12
4
votes
2 answers

CSS Active Class won't be respected in browser?

I'm trying to make a navigation of buttons. When one button is clicked, that anchor tag changes its background color to show that it is active. I'm using the background property with gradients but when I apply the active class to a link, the…
Rambo8000
  • 323
  • 1
  • 12
  • 23
4
votes
1 answer

Send data to server from android device when app gets in background

Currently i can only send the data to the server when my app (activity) is in foreground. This happens at least in 4.1.3 because the android SO pauses the app or stops it. I need to send data all the time even if the activity is in background. What…
4
votes
1 answer

Background Upload too slow using NSURLSession in iOS

I am trying to upload a huge video file using NSURLSession background upload task. I break the file into chunks of 256Kb and upload them. When the app is in foreground the upload of chunks happen real quick (5 seconds for 256Kb). But when the app is…
user2643583
  • 101
  • 1
  • 1
  • 4
4
votes
3 answers

Why are both divs the same color? Only 1 is defined as green

I have two separate divs, why is the background color the same lime color for both? I want the first div white. Here's the HTML:
4
votes
0 answers

Using background-size: cover with iOs

I am trying to get background-size: cover; to work on iOS devices, but having no luck at all. Has anyone had any luck doing this? I turned it off for iPhone using background-attachment: scroll; but wanted it to use the fixed attachment property at…
Tom Rogers
  • 719
  • 1
  • 7
  • 10
4
votes
2 answers

Resuming an app running in background after a phone call ios

I have an ios app that continues to play music when it moves into background. Now, if there is a phone call, answered or not, the app does not resume to play music. For two days i ve been reading posts about this problem here.None of them solved my…
Abhishek Arora
  • 395
  • 2
  • 12
4
votes
2 answers

get background color from textview without using ColorDrawable (API 11)

How can i get the backround color of a textview using only API 9? I basicly want to do this but only using API 9 int intID = (ColorDrawable) textView.getBackground().getColor();
4
votes
3 answers

jQuery background-image animation

How do I animate between two PNG images in jQuery? Is this possible? Something like the CSS 3 transition when you transit between one color to another, but I need an image to an image transition.
Tower
  • 98,741
  • 129
  • 357
  • 507
4
votes
2 answers

Bash: How to run a command from env var and show its value in the process name

There are several commands I want to always run in the background. to do so, I added a function to my .bashrc file that runs a command with its arguments in the background, and created some aliases for the commands I want. Here's a snippet from my…
YMI
  • 165
  • 1
  • 10
4
votes
9 answers

how to set the background image fit to browser using html

I have made a simple login page and set an image as background but it is not fitting to browser screen.I am using html for this purpose what should I do fit the image to browser screen.Kindly please describe in detail. <%@ page language="java"…
Make
  • 422
  • 2
  • 6
  • 17
4
votes
2 answers

Set Background of RelativeLayout with downloaded Image with Universal Image Loader

I would like to set an image (downloaded from internet) as my Relative Layout's background with transparent attribute. Below is what I am having in my layout.xml file:
4
votes
1 answer

Custom background color for a ProgressDialog

I have a progressDialog, that works, but doesn't fit my extetical needs: I'd like to make it like this: What I tried: 1 - Theming (with both a style only and a style + theme methods), as explained here The result was AWFUL (I got an extra border…
Phantômaxx
  • 37,901
  • 21
  • 84
  • 115
4
votes
1 answer

How do I set the component background to a specific color in JGraphX?

I want to make the background of a JGraphX graph component (https://github.com/jgraph/jgraphx) a specific color all over. I tried the standard call for any Swing component: graphComponent.setBackground(Color.BLACK); but this has no effect. I tried…
user3062529
  • 87
  • 1
  • 8
4
votes
1 answer

css responsive background image map

I'm trying to make responsive image map from background. It doesn't have to be very precise so I was looking for solution with css image map. I found example that suits my needs but image is placed inside a div and I want it to be full screen…
th3rion
  • 183
  • 1
  • 7