Hello,
I use the AlertDialog class in my application. By default, these alert dialogs have a transparent background. I'm trying to use an opaque background instead, very unsuccessfully. These are my styles:
<style name="MyOpaqueActivity" parent="@android:style/Theme.Dialog">
<item name="android:windowBackground">@drawable/my_backgr...
I'm writing an app and I want one of my activities to have a background,
I've read the android docs about supporting multiple resolutions etc,
but my designer is asking me what size the wallpapers should be and I do not want a lot of images for low,normal,high dpi in all the screen sizes.
What would be the most space efficient way to g...
hi everybody, im trying to make an android application that whenever a user conncects to a wifi, application sends an http request to my server, later on by using push notification server sends some msgs to the user. but in here i have a problems: how to make this application running in background and also it understand if phone is con...
I'm having difficulties starting the AudioQueue when my app is in the background with iOS4.0
The code works fine when the app is active, but fails with -12985 code when running in the background.
err = AudioQueueStart( queueObject, NULL );
if( err )
{
NSLog(@"AudioQueueStart failed with %d", err);
...
I want to set the GtkTexetView background colour to the window's default colour so that it looks like a GtkLabel. Take a look at these images, but please note that I want it for C and not PHP, and I use GNOME, not MS Windows.
...
Hey all,
I would like to know if it is possible to get 'leftover' calls to AsyncTask#onProgressUpdate after AsyncTask#onPostExecute has been called? I am setting text on the same TextView using both of them, and I don't want to set text such as "Done!" and then have it overwritten at a later point by text such as "Almost there - 90%"
...
Hi,
I'm using the Flip Plugin on a new site I'm making:
http://www.concept-it.be/padre (click on contact and then on the e-mail address).
As you can see the background of the div becomes gray after when the flip starts and it stay's like this. I don't mind having it like that when flipping but after the flip I want my backgroundimage ...
I would like to be able to change my webpage background image according to the screen resolution the user uses so:
if screen resolution is greater than or equal to 1200*600 then background = mybackground.jpg no-repeat or else. How can I do this?
...
Users of my Flex application report that sometimes the application is freezed when the browser window is minimized or they select another active tab over it. In this suspended state, the application receives no CPU share and all network connections it uses are closed. When the browser window is restored, the application is resumed. This ...
I am making a game for iphone/ipad, and don't want my background music to interfere with music the user might already be playing.
I know I can get the state of the iPod app using MPPlayerController, but how would my app figure out if something else, like Pandora, was playing background audio on iOS4?
...
I would like to know normally how they let a user choose the background color? For example, user chooses the background color to be red color, next time when the user runs the application again the background color will automatically become red color instead of the default color. Do they store the value in the database, so next time user...
I am unable to get the background picture to show in my pages. I am trying to do this in the master page using CSS.
I have a CSS which contains the following:
body {
background-image: url(../images/background.jpg) no-repeat;
background-attachment: fixed;
margin-top: 0px;
}
I know the CSS is being read because all other styl...
The documentation is rather poorly written when talking about playing audio in the background. It gives the impression that all you have to do to continue playing the audio that you are currently playing is to just add a key/value pair to the info.plist file and wallah, it's magic.
However, this is not the case. For instance, if I pla...
Please see this jsFiddle: http://jsfiddle.net/Wmq6f/
I have a textarea that has a background image, it is removed on 'focus' and restored on 'blur' but when the content is present in the textarea it should not show in either case, but I can't achieve that with this jQuery:
$('textarea').focus(function() {
var $this = $(this);
$.d...
Dear All,
I would like to access to the user selected color in a color pallete added to a Ribbon bar. By now I have created the Ribbon button, added it to the panel, added an event to handle the "click" on that button and overwritten the OnEraseBkgnd(CDC* pDC) in my view class.
I present some code snippets. I at this stage I am not abl...
I'd like to be able to use an image as my background in a relative layout, without it stretching. I don't want to just enter the images details into an XML file, as I want to use different images, with different sizes.
I've tried the following, but it just stretches the images (I know the left, top, right and bottom variables have the w...
How can I communicate with a process using anonymous pipes in Ruby?
The process in question is supposed to stay there and listen for commands from stdin. I'd also like to read it's output, which is separated by "\r\n".
Using Open3 from the standard library:
@stdin, @stdout, @stderr, @thr = Open3.popen3(cmd)
The problem with this is ...
I got the idea to create a purely code-driven striped image background when I saw Katy Perry's website:
http://www.katyperry.com/
Then I saw the animation of the rotating earth on FoWD's 404 page:
http://futureofwebdesign.com/404
I believe this same concept should be possible using html5, css3 and canvas. Here's what I'm thinking: Have...
Hello,
I am creating a navigation based application, and throughout my application, I want to maintain an image as background. Also, I want parallax scrolling for the background, i.e., when I scroll table view cells vertically, background image should scroll at a relatively slower speed. Also, my application has some images and text in ...
I'm using the follow code, to create a non-scaled, centred image as a background, in a relative layout:-
RelativeLayout explosionlayout = (RelativeLayout) findViewById (R.id.explosionlayout);
explosionlayout.setBackgroundColor(R.color.white);
Bitmap myBitmap = BitmapFactory.decodeResource(this.getResources(), R.drawable.bomb);
Bitm...