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
2 answers

How to define background for p:menubar in Primefaces?

How to define background for in Primefaces
chows2603
  • 167
  • 1
  • 2
  • 12
4
votes
4 answers

Java Swing: change background color on mouse over

I've implemented a simple mouse listener where the background color changes whenever the mouse enters the component (a JPanel), and it reverts back whenever the mouse leaves. This has some problems: Sometimes the mouse moves so quick that the…
Miguel Ping
  • 18,082
  • 23
  • 88
  • 136
4
votes
4 answers

android change image button background

I cannot seem to change the background image of my image button. Heres the code i'm currently trying to use: ImageButton imgButton = (ImageButton)…
Welton122
  • 1,101
  • 2
  • 13
  • 28
4
votes
3 answers

onTouchListener overrides Custom background on Button view?

I have a button_animation.xml in my res/drawable folder for showing different button states (default, pressed, focused). I reference button_animation.xml in a button in my layout file. It works perfectly, except for when I set an onTouchListener on…
Jason
  • 49
  • 8
4
votes
3 answers

Need background image over another background image

I have not been successful in solving this so far, so i need help. What I am trying to do is have a background image fitting a tablet. Inside I have a table, as well as a top right logo, but now I am trying to have a logo that is transparent be on…
Sergio
  • 43
  • 1
  • 1
  • 5
4
votes
1 answer

Appcelerator Android Service background stops

I have a problem with appcelerator, regarding to android background service. The service starts, and when I press the home button, the service is still running, and also when I click the back button. But when I remove my app from the recent apps…
Hel00
  • 127
  • 1
  • 10
4
votes
1 answer

Disable app's background mode when audio works not activate

I'm using AudioUnit to handle the audio record and replay. And I add audio to UIBackgroundModes key in info.plist to keep it recording or playing when enter background. The problem is: when my app is not recording or playing audio, the app still…
JonnyHan
  • 97
  • 4
4
votes
1 answer

How to use code-behind to create StackPanel -> Border -> Background

I'm trying to set properties of a TreeViewItem -> StackPanel in c# like this question. It seems to make a lot of sense until I get to the part where I try to edit the Background in my Border. Borders have Background objects in them, but for the life…
Eric after dark
  • 1,768
  • 4
  • 31
  • 79
4
votes
2 answers

Background transparency in libgdx

How can I make background of screen transparent if I use libgdx in Android? The code I tried to use doesn't work. Gdx.gl.glClearColor( 0, 0, 0, 0 ); Gdx.gl.glClear( GL10.GL_COLOR_BUFFER_BIT | GL10.GL_DEPTH_BUFFER_BIT );
user1730694
  • 442
  • 4
  • 14
4
votes
2 answers

Modifying the color scheme for an Inno Setup Installer

I've been playing around with Inno Setup 5.3.6; trying to customize the installers colors. Mainly the banner that appears at the head of the installer. But as of yet i have no luck finding a way of doing this easily. After reading through the…
Max
  • 41
  • 1
  • 2
4
votes
3 answers

Is there a way to get to know if the user is on call while using my app?

Is it possible to identify whether the user is on a phone call while using an app. Here is the scenario: I get a call I accept the call Tap the home button Launch an app At this point can I tell this app that a call is going on in…
AJ.
  • 1,443
  • 7
  • 19
  • 31
4
votes
3 answers

Web Parallax Scrolling Background Image and Text

Fiddle of the issue: http://jsfiddle.net/Vy365/3/ I'm trying to create sections on a page that have a parallax scrolling effect. The main CSS I'm using to achieve this is background-attachment: fixed for the background image, and position: fixed for…
dougmacklin
  • 2,560
  • 10
  • 42
  • 69
4
votes
1 answer

LESS CSS background-image URL failed to load

Time for 3 hours I checked why LESS doesn't set the background image for the needed container. Please, if someone can tell me what's wrong in my script(I tried all the possibilities found on stackoverflow but nothing worked for me). This is my…
Pufi
  • 360
  • 1
  • 3
  • 14
4
votes
3 answers

Is it possible to run my service for indefinite time?

Can I run a background service Indefinitely ? Will android kill my service if i run it for indefinitely ? How Facebook android application keep running in background for a long time ?? please help me to know about it .
Sunil_raut27
  • 41
  • 1
  • 5
4
votes
2 answers

Make a Powershell function/task run in the background

I have a function that lets me write the file-path of files to a text file, depending on your input. That sounds confusing, but I don't know of a better way to put it, so here's the function: Function…
KdgDev
  • 14,299
  • 46
  • 120
  • 156