Android :: Activity Should Be Transparent / But Has Black Background
Apr 22, 2010
My use case is writing an overlay controller activity for a landscape camera preview. I followed the instructions from a couple of tutorials for writing a transparent theme.When I start this activity from my root activity, the layout gets drawn correctly, but the background stays black. I tried to use @android:style/Theme.Translucent instead, but this Theme inherits the orientation from the calling activity (landscape) and thats not what I want.The application holding the camera preview is set to landscape view as it does not display the preview correctly in portrait orientation. (see old google bug report)What I wanted to do was to put an independent activity for user interaction interface in front of the camera surface holder (this activity should be set to 'portrait', or even better to 'sensor')
View 3 Replies
Jan 26, 2010
Why i get a Black screen with a translucent transparent background on my HTC Hero ? I used the code sample.It is OK with the emulators 1.5 and 2.1.Is there a way to have it on my Hero ?
View 3 Replies
View Related
May 1, 2014
I have a bunch of png images that I imported to my phone from my PC. I dumped them straight in my DCIM folder.
On the PC, these images have transparent backgrounds, however, when I view them using androids gallery app, the background is black. Similarly, when using these images as stickers for my text messaging app (Naver Line), the backgrounds will also show as black.odate.
View 3 Replies
View Related
Nov 19, 2010
i have set the background of an activity with a green gradient png image.This working fine almost always but some times during navigating to an activity its background is becoming black! i am not able to reproduce it with any specific operation, also not getting how to debug or fix it.
View 3 Replies
View Related
Aug 19, 2009
seems pretty straightforward.
CODE:..............
But doesn't work!
It scrunches the layout background as the background to each button, I want it to span all three buttons...
View 2 Replies
View Related
Jun 24, 2010
How can i make the background 50% transparent? Let's say the background of an AbsoluteLayout so it's dark but you can still see through it?
View 1 Replies
View Related
Nov 12, 2013
How to get rid of the bar at the bottom of the screen while using a transparent Nav Bar. I have been messing around with the SystemUI.apk, but I feel like it's more likely the GoogleHome launcher (which seems to just put some tweaks onto the stock launcher) or even the Launcher2.apk that is formatting the wallpaper like this. I am just staring to mess with coding, so I'm not sure where the formatting is happening.
I REALLY want to use the Google Home launcher and not just switch to a third party launcher like Nova. Nova launcher does get the wallpaper full screen with transparent nav bar, but it does not have the features that the Google Home launcher has.
View 1 Replies
View Related
Aug 19, 2009
I want to be able to specify an android:src, but I want android:background="" - complaints that string types are not allowed when compiling.
I basically want a button without any background (but that *does* have a 'src').
View 5 Replies
View Related
Sep 29, 2009
I am using a web view in which i am adding a image view..now i want to set the background of this image view transparent.i hv tried setting code...
View 1 Replies
View Related
Sep 24, 2010
In my android application i am using progress dialogue in my splashscreen.
I would like to see only the progressbar with loading message without the background.
Is there any way that i can change the background to transparent in android.
View 2 Replies
View Related
Jul 14, 2010
How can I set the Background for a button to a transparent Color, like transparent Blue for eg, instead of a solid blue? When I use button.setBackgroundColor(Color.BLUE) it sets it to a solid blue.
View 2 Replies
View Related
Oct 29, 2010
I have run into an requirement of my application that i cant find a way to do this.
I need my application to be fullscreen and no title bar (done), and this application will have a background image. However, all the activities/views of my application must be transparent/translucent so the application background will be visible all the time behind the information i am displaying.
Basically i would like to have this behavior
http://www.geeky-gadgets.com/wp-content/uploads/2010/05/amazon-kindle-android-app.jpg
supousing that the image you see is not the phone wallpaper, but the application background image. What would be the application configuration in the manifest file and what would be the configuration for eacy activity/view?
I also noticed that, i need to setup each activity to be fullscreen without title bar. Is there a way to do this globaly in the application so all activities will behave this way?
View 1 Replies
View Related
Jul 25, 2010
OK, So I want to set the background to a transparent image and change the color of the background on an event firing. I can set the background image to a resource in an xml file, and I can also change the color of a TextView on event firing, but for some reason I can't do both at the same time. Do I need to create a drawable or something? Also, how do I reference the top level LinearLayout. I'm programming using eclipse JEE Galileo with the ADT Plugin and the android sdk. O.S. android 2.1-update1 (eclair). My friend can do it in actionscript and I have to do it in java to beat him lol.
View 1 Replies
View Related
Jun 17, 2009
I believe I have found a graphics bug introduced in the 1.5 platform. I'm looking for some confirmation (or a description of what I'm doing wrong) before reporting it as a real bug.
I have a SurfaceView that fills the screen and on top of that I have a LinearLayout that wraps some other components that overlay the surface. These other components are not visible most of the time, and the LinearLayout has a transparent background so that the SurfaceView is unobstructed until the other components are made visible. Under 1.0 and 1.1 this all worked with a background of #00000000 for the LinearLayout. Now under 1.5 there is a black rectangle obstructing my surface unless I give the LinearLayout background some color. I can still keep the transparency so it is still invisible as it should be but it is strange that it can't be black and invisible anymore. My layout is below. The background of #00000001 works, but changing it to #00000000 results in a black rectangle. code...
View 2 Replies
View Related
Mar 3, 2009
I have problem with the List view scrolling. Here I have a list view contains more 50 items. I am setting the list view background as transparent. While scrolling the list view it is showing with black background. Can any one tell me how to remove this black portion?
View 3 Replies
View Related
Oct 6, 2010
I need to display image has background and transparent text at particular location of the image text,here my problem is it display well in some devices and not being proper alignment in larger screens,even i used separate resource file like layout,layout-large,layout-small but in some case it's not working well,i set. Code...
View 1 Replies
View Related
Jan 7, 2010
I'm using a ListView with a transparent background. It works fine in Android 1.5 & 1.6, but in Android 2.0 and later, the ListView background turns white while scrolling. I want it to stay transparent, just like in 1.5 & 1.6.
Does anyone know what's going on, or better yet, how I can get this working correctly?
View 2 Replies
View Related
Aug 30, 2011
Any good quotes widget with transparent background, which is free as-well.
View 1 Replies
View Related
Oct 6, 2010
I'm looking for a transparent background for the stock Weather widget(2.2). I found a few apks but they won't install. I found a couple .zips but they just for close, I think they are for 2.1.
View 4 Replies
View Related
Jul 28, 2010
I want to launch an Activity with a webView as its content from current Activity. This new activity needs to be transparent and webview should be in the center. I looked around the web but only solutions I found were using style xmls. I want to do it using pure code i.e. no xml declarations. if anybody has come across this then please shed some light.
View 1 Replies
View Related
Feb 1, 2010
I want to create transparent create on another activity.
How can I achieve this?
View 3 Replies
View Related
Mar 19, 2009
I have a 2D app. When the user presses a button, I need to quickly open a translucent 3D animation and overlay that on top of the 2D app. This is similar to the "Translucent GLSurfaceView" demo in APIDemo.
However, with APIDemo on G1, it takes about 100~200ms for the new Activity to come up. For me, this is too long. Is there any way to make it faster (to about 30~60ms).
My idea is to create a transparent Window object that contains a SurfaceView and hide it. When user presses button, the Window is shown.
View 2 Replies
View Related
Apr 20, 2010
I currently use Slidescreen as a glorified Google Reader app (i.e. turned off the facebook, twitter and stocks parts), because it presents the feeds beautifully in light grey text on a black background, which not only looks cool, but it saves on battery life on my Desire's AMOLED screen. Letting me swipe away feeds without clicking through (when I can see from the headline that I don't need to) is nice too.The downside is that Slidescreen seems to eat up quite a lot of power and battery, and there is no convenient way to refresh feeds (you either have it autocheck regularly, eating lots more power, or you have to click the menu button, then "home settings", then scroll down to "google reader", then "reload group" - hardly a simple process to do regularly).
Another nice thing that Slidescreen does is let you choose which Reader folders it syncs with, so it can just present you with feeds more suited to reading on a phone.Are there any other Google Reader apps (that use less cpu/battery than Slidescreen, otherwise I might as well stick with Slidescreen), but also offer white/grey text on a black background, and let you choose which of the feeds it syncs with?I've got Greed2, which is a very nice app, but it doesn't have either of the above features.
View 2 Replies
View Related
May 14, 2010
I have created a specific List which exists out of the following elements to create a scrollable list with every row containing a Image on the left side and some text on the right side.As long as the screen is shown statically (as in no movement) it will be shown correctly, but when I start scrolling through the list the background of the row-item (an "icon" as can be shown in the code) will be shown corretcly but the background of the "root" layout will become completely black when the scrolling stops the background will, most of the times, get back it's color.As I test I also added a TextView in that root-element with the same background, this one will detain it's color when the List is scrolled.
View 3 Replies
View Related
Oct 27, 2012
Current my eclipse start with signal and battery icon and "Hello world!", How to set to black background with "Hello world!" without icon ?
View 1 Replies
View Related
Jan 10, 2010
I created an application which enables the user to set whether he wants to receive notification while the application runs in background mode. If the notifications are enabled an activity should be started (the dialog should appear on the screen).
I tried to enabled it the following way:
CODE:...........
This is the method from main activity. When onPause() is executed isRunningInBackground is set true.
When I tried to debug it when the main application was running in the background the line
startActivity(intent) had no effect (the activity didn't appear).
Does anyone know how to midify the logic in order to start an activity from the main activity when the main activity is running in the background (after onPause() is called)?
View 1 Replies
View Related
May 14, 2010
The default progress wheel on Android doesn't display well when the background is white, it's barely visible. How can I fix this?
View 3 Replies
View Related
Sep 28, 2012
New app, modded to be inverted colors similar to the old app before it?? LG-P500
View 2 Replies
View Related
Sep 29, 2010
im running the new v5 bb and everything is great i just miss the black background i had on the mms before and was wondering if anyone had one that worked with bb to make it black again
View 3 Replies
View Related
Jul 28, 2010
Is there such a thing as a pure black background to help save battery life? Something like the menu black background. It's not an option when choosing a wallpaper.I've been searching around android market and have found nothing.If we make the image on our computer, would a black square work fine?
View 2 Replies
View Related