Questions tagged [transparent]

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

See this wiki article for more info. The tag should be used for the general subject of transparency in images.

See also: , ,

1825 questions
962
votes
23 answers

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
  • 73,009
  • 94
  • 197
  • 273
512
votes
19 answers

How to have a transparent ImageButton: Android

This is what I tried to get a…
Namratha
  • 15,910
  • 25
  • 86
  • 123
201
votes
6 answers

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 this link. Here the text box background color is…
Mistu4u
  • 4,475
  • 13
  • 44
  • 80
168
votes
23 answers

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
jptsetung
  • 8,668
  • 3
  • 38
  • 49
127
votes
2 answers

Transparent background with three.js

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 I change it to be transparent? The code: var…
Robert Bue
  • 1,394
  • 2
  • 9
  • 13
105
votes
8 answers

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 'tap-to-dismiss' feature, I want the user to be…
Gautam
  • 3,918
  • 3
  • 29
  • 37
86
votes
10 answers

Transparent circle with border

I am trying to create a circle with only a border using XML in android:
Anirudh
  • 1,800
  • 3
  • 18
  • 33
85
votes
7 answers

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
  • 869
  • 1
  • 9
  • 9
72
votes
8 answers

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
59
votes
3 answers

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, behind it ? Can I attach a css property or a…
user345311
  • 601
  • 1
  • 5
  • 5
54
votes
8 answers

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's my test code: (void)drawRect:(CGRect)rect { …
Jim B
  • 2,197
  • 6
  • 23
  • 26
51
votes
8 answers

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 like in iOS. The status bar color can be easily…
CZX
  • 1,557
  • 11
  • 19
47
votes
14 answers

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 XML code:
iTurki
  • 15,656
  • 19
  • 82
  • 128
46
votes
8 answers

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 work out as BackColor would not accept transparent…
Prix
  • 18,774
  • 14
  • 65
  • 127
45
votes
1 answer

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
  • 14,800
  • 17
  • 52
  • 98
1
2 3
99 100