Questions tagged [transparent]

A GUI (often web) technique for trapping user actions across multiple elements by using an overlaying, but transparent, GUI object.

transparent
Filter by
Sorted by
Tagged with
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?
UMAR-MOBITSOLUTIONS's user avatar
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/...
Namratha's user avatar
  • 16.7k
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 ...
Mistu4u's user avatar
  • 5,252
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="...
jptsetung's user avatar
  • 9,086
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 ...
Robert Bue's user avatar
  • 1,834
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 '...
Gautam's user avatar
  • 4,016
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=...
Anirudh's user avatar
  • 2,080
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(...
Peter's user avatar
  • 919
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
Cristiana Chavez's user avatar
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 ...
CZX's user avatar
  • 2,007
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, ...
user345311's user avatar
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'...
Jim B's user avatar
  • 2,267
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 ...
Prix's user avatar
  • 19.5k
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 ...
iTurki's user avatar
  • 16.4k
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 ...
Riccardo's user avatar
  • 1,329
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,...
brianjcohen's user avatar
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
Thew's user avatar
  • 15.9k
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 ...
android developer's user avatar
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 ...
kmiklas's user avatar
  • 13.3k
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 ...
TrolliOlli's user avatar
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?
user avatar
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 ...
jack's user avatar
  • 17.6k
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>. ...
Bojangles's user avatar
  • 100k
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 ...
MarkTraceur's user avatar
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-...
MattL922's user avatar
  • 621
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 ...
corgrath's user avatar
  • 12k
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 ...
mattbasta's user avatar
  • 13.6k
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 ...
bricklore's user avatar
  • 4,145
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 ...
gpretty's user avatar
  • 271
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="...
afollestad's user avatar
  • 2,935
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,...
karlphillip's user avatar
  • 92.7k
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. ...
greatergoodguy's user avatar
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: ...
KaiZ's user avatar
  • 391
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 ...
blazingkin's user avatar
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 ...
rekt0x's user avatar
  • 503
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 ...
Paul Johnson's user avatar
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. ...
shirha's user avatar
  • 473
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)...
user270520's user avatar
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 ...
diablo1234's user avatar
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();...
Yellos's user avatar
  • 1,657
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.
Dd H's user avatar
  • 331
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 ...
SteD's user avatar
  • 14k
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 ...
Devdroid's user avatar
  • 941
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....
user1244109's user avatar
  • 2,186
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 ...
Igr's user avatar
  • 1,015
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 ...
user avatar
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 ...
Boyan Hristov's user avatar
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://...
Nabeel K's user avatar
  • 6,058
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 ...
alxsimo's user avatar
  • 567
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-...
jbeard4's user avatar
  • 12.8k

1
2 3 4 5
39