Questions tagged [transparent]
A GUI (often web) technique for trapping user actions across multiple elements by using an overlaying, but transparent, GUI object.
transparent
1,923
questions
1020
votes
24
answers
516k
views
How do I create a transparent Activity on Android?
I want to create a transparent Activity on top of another activity.
How can I achieve this?
549
votes
23
answers
331k
views
How to have a transparent ImageButton: Android
<ImageButton android:id="@+id/previous"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/media_skip_backward"
android:background="@drawable/...
231
votes
7
answers
1.0m
views
How to make div background color transparent in CSS
I'm not using CSS3. So I can't use opacity or filter attributes. Without using these attributes how can I make the background-color transparent of a div? It should be kind of the text box example in ...
174
votes
23
answers
140k
views
Android WebView style background-color:transparent ignored on android 2.2
I'm struggling to create a WebView with transparent background.
webView.setBackgroundColor(0x00FFFFFF);
webView.setBackgroundDrawable(myDrawable);
Then I load a html page with
<body style="...
169
votes
3
answers
136k
views
Transparent background with three.js [duplicate]
The code work, but I'm having a problem setting transparent background to the canvas with three.js. I use:
Background.renderer.setClearColor(0xffffff, 0);
But then the background gets black. How do ...
106
votes
8
answers
74k
views
How do you create a transparent demo screen for an Android app?
I'm trying to create a semi-transparent demo screen that is launched only when a user first installs my application. Here's an example from the Pulse News app:
Galaxy Nexus
Nexus One
Instead of a '...
101
votes
11
answers
113k
views
Transparent circle with border
I am trying to create a circle with only a border using XML in android:
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape=...
90
votes
7
answers
147k
views
How to set transparent background for Image Button in code?
I can set ImageButton background transparent in layout.xml using:
android:background="@android:color/transparent"
How I can acomplish same thing using java code?
Something like ib.setBackgroundColor(...
74
votes
8
answers
48k
views
How to make a ActionBar like Google Play that fades in when scrolling
How to make transparent or translucent ActionBar like Google Play that fades in or out when scrolling using windowActionBarOverlay?
Check the following screenshots
64
votes
12
answers
19k
views
How to make flutter app draw behind android navigation bar and make navigation bar fully transparent?
I would like to make my Flutter app take up the entire screen in Android while still showing both the status bar and the navigation bar, with both of them transparent, to achieve the full screen look ...
63
votes
4
answers
84k
views
Transparent Iframe Body
I need to have a (crossdomain) iframe with dynamic width and height.
My question is,
Can I create an iframe with 100% size and a transparent background that will show the parent of this iframe, ...
57
votes
8
answers
49k
views
Setting A CGContext Transparent Background
I am still struggling with drawing a line with CGContext. I have actually go to line to draw, but now I need the background of the Rect to be transparent so the existing background shows thru. Here'...
54
votes
8
answers
141k
views
Transparent background on winforms?
I wanted to make my windows form transparent so removed the borders, controls and everything leaving only the forms box, then I tried to the BackColor and TransparencyKey to transparent but it didnt ...
53
votes
15
answers
138k
views
Android Transparent TextView?
Simply, how to make a TextView transparent? (Not full transparency)
I searched the docs and the StackNetwork and couldn't find it?
I guess there is something like this.
Thanks.
UPDATE
This is the ...
52
votes
10
answers
157k
views
PPT to PNG with transparent background
I have a PowerPoint .ppt file and I have to create an image for every slide.
I'm trying to use the integrated PowerPoint "export as .png".
It works but the images have all a opaque background, I need ...
51
votes
5
answers
128k
views
Iframe transparent background
My app has a modal dialog with an iframe inside it. I've written my jQuery code such that when the dialog opens, it sets the appropriate 'src' attribute of the iframe so the content loads up. However,...
45
votes
1
answer
57k
views
IFrame background transparent in IE
So i have this iFrame with the class .transparentbg:
.transparantbg{
background-color: transparent;
}
This works fine in Chrome, but not in IE...
Help please?
Greetings
44
votes
2
answers
30k
views
Create a transparent dialog on top of activity
Background
I'm trying to put a layer on top of the current activity which would have explanation of what is going on on the current screen, similar to what occurs on contact+ app .
I know there are ...
42
votes
7
answers
139k
views
How to present a modal atop the current view in Swift
(Xcode6, iOS8, Swift, iPad)
I am trying to create a classic Web-like modal view, where the outside of the dialog box is "grayed-out." To accomplish this, I've set the alpha value of the ...
41
votes
8
answers
26k
views
Programmatically make a color more transparent
I'm working on a simple bar graph application that uses a static array of colors for divvying out bar colors. I would like the functionality to either draw bars normally, or slightly transparent.
Is ...
41
votes
12
answers
66k
views
How do I animate a background color to transparent in jQuery?
I can animate from transparent to color, but when I tell jquery to animate the backgroundColor: 'transparent' it just changes to white. Any idea how to fix this?
32
votes
5
answers
56k
views
How to get alpha value of a PNG image with PIL?
How to detect if a PNG image has transparent alpha channel or not using PIL?
img = Image.open('example.png', 'r')
has_alpha = img.mode == 'RGBA'
With above code we know whether a PNG image has alpha ...
32
votes
3
answers
41k
views
Make overlay background click-through-able [duplicate]
Is there a way, in CSS, I can make an element click-through-able. I have an absolutely positioned <div> covering a link. I'd like to be able to click the link through the overlay <div>. ...
32
votes
1
answer
24k
views
Transparent PNG in PIL turns out not to be transparent
I have been hitting my head against the wall for a while with this, so maybe someone out there can help.
I'm using PIL to open a PNG with transparent background and some random black scribbles, and ...
31
votes
6
answers
27k
views
Why is SVG stroke-width : 1 making lines transparent?
I'm creating stock charts with svg and I'm having a problem when I set the stroke-width of my path elements to 1. Instead of making the lines more narrow, it just makes it the same size as stroke-...
29
votes
2
answers
82k
views
How to make a color transparent in a BufferedImage and save as PNG
I have been searching the web for this, but I havent found any decent help.
I have a BufferedImage, which I have read in with ImageIO. Now I would like to make a certain color in that image to ...
28
votes
5
answers
28k
views
Android OpenGL ES Transparent Background
I'm building an Android app that takes advantage of OpenGL. As it stands, the background for the GLSurfaceView is dynamically generated by my code and loaded in as a texture and drawn with ...
28
votes
2
answers
31k
views
Transparent status bar - before Android 4.4 (KitKat)
I know in Android 4.4 KitKat (API 19) it's possible to make the status bar transparent.
But for example, Go Launcher Ex and others have an option to make it transparent, and it's working on pre ...
27
votes
5
answers
31k
views
Clicking through a transparent .png
First off, I would like to say that myspace is a pain. But, musicians love it, and I can make some money doing layouts for them. I overlayed a layer of .png's over myspace's original look, but need to ...
27
votes
8
answers
20k
views
Android 4.4 — Translucent status/navigation bars — fitsSystemWindows/clipToPadding don't work through fragment transactions
When using the translucent status and navigation bars from the new Android 4.4 KitKat APIs, setting fitsSystemWindows="true" and clipToPadding="false" to a ListView works initially. fitsSystemWindows="...
26
votes
4
answers
24k
views
How to make a transparent window with Qt Quick?
Is there a way to make the window of a qml application transparent?
I'm looking for a detailed description on how to draw simple shapes with qml while making the window of the application transparent,...
25
votes
11
answers
43k
views
Android Dialog - Rounded Corners and Transparency
I'm trying to make a custom android dialog with rounded corners. My current attempts have given me this result.
As you can see, the corners are rounded, but it leaves the white corner still intact.
...
23
votes
8
answers
109k
views
How can I make my website's background transparent without making the content (images & text) transparent too?
I'm doing a website for a school project, and I'm currently having a small problem... I can't make the body's background transparent without it also affecting the content in it.
Here's my HTML code:
...
23
votes
1
answer
36k
views
Drawing Transparent Images In Java Graphics2D
I want to draw a PARTIALLY transparent image on top of another (Making shadows over things). I am currently using java's Graphics2D class to render, I've been told to set the composite to ...
23
votes
5
answers
15k
views
Android Image Dialog/Popup same size as image and no border
At the moment I am working on a file browser. Everything works fine with one exception:
If the user clicks on an image (jpg, png, bmp, ..), I want the image to be displayed in a dialog or in a popup ...
22
votes
2
answers
34k
views
Is there a way to create transparent windows with Tkinter?
I'm trying, ultimately, to create "oddly-shaped windows" with Python using the Tkinter module. But for now I will settle for being able to make the background transparent while keeping child widgets ...
22
votes
2
answers
9k
views
How to fill transparent area left by resize in Gimp 2.8
when I do a canvas resize of an image, it leaves a new transparent area. I would like to fill that area with a color but Gimp 2.8 won't allow me to select it to fill it. I must be missing a step. ...
21
votes
3
answers
31k
views
setting transparent background for UILabel for iphone application
I have a UILabel in UITableView. Here is the code i have written in cellForRowAtIndexPath
UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier];
if (cell == nil)...
21
votes
5
answers
47k
views
Making UIView transparent
I want to add a UIView to my UIViewController but I want it to be transparent until I decide to create an Oval inside the UIView.
Until I create the oval, I can set my view's alpha to 0 but when I ...
21
votes
2
answers
7k
views
AChartEngine transparent background
I have a problem. I'm making a graph with AChartEngine and I would like to have the background of the whole graph to be transparent:
XYMultipleSeriesRenderer renderer = new XYMultipleSeriesRenderer();...
20
votes
2
answers
19k
views
How to make scatter plots with semitransparent points in Gnuplot?
How can I plot an image with partially transparent scatter points, just like in the picture below, with Gnuplot? The problem is that I don’t know how to set the points to be transparent.
20
votes
2
answers
31k
views
Make certain area of bitmap transparent on touch
My idea is to overlap 2 images on top of each other and upon onTouch, the top image should be made transparent on that touched radius, thus exposing the bottom image.
This is how I overlay the 2 ...
19
votes
1
answer
23k
views
Transparent AppBarLayout and CollapsingToolbarLayout
I would like to achive the following layout:
Map as a base layout
Transparent window above inside a CollapsingToolbarLayout
RecyclerView for content
I included an example of how this should look ...
18
votes
2
answers
48k
views
How to make navigation bar transparent in iOS 7? [duplicate]
Is there a way to make the bar of a navigation controller totally transparent?
What i've tried:
[self.navigationController.navigationBar setBackgroundColor:[UIColor clearColor]];
[self....
18
votes
5
answers
37k
views
Save buffered image with transparent background
I'm saving the image of a signature as a .jpg picture. I use graphic2d to paint on the image every pixel of the signature (gotten with a signature tablet) and it works perfectly but I'm always gettin ...
18
votes
2
answers
49k
views
C# - Transparent Form
I currently have a Form with all the desired effects except one. The current form consists out of a menustrip at the top with a panel underneath which contains labels and pictureboxes. When the form ...
18
votes
3
answers
101k
views
Transparent Bootstrap Panel
I have picked this free bootstrap theme, and my problem is that I want to create transparent panels, but when I set opacity: 0.8; the text in the panel, of course, gets transparent, which is not ...
17
votes
4
answers
27k
views
Make Toolbar transparent
create_account.xml
<?xml version="1.0" encoding="utf-8"?>
<android.support.design.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://...
17
votes
3
answers
69k
views
Transparent LinearLayout on Android
I have the folowing layout:
I want to make transparent the transparent_layout but i can't do it.
Already tried settings the background programmatically with the color: Color.TRANSPARENT but it seems ...
17
votes
5
answers
35k
views
How to make Gtk+ window background transparent?
I'd like to make the background of a Gtk+ window transparent so that only the widgets in the window are visible. I found a few tutorials:
http://mikehearn.wordpress.com/2006/03/26/gtk-windows-with-...