Transparent background image for Form – Smooth edge shape for the Form

You can use Layered Windows: Using a layered window can significantly improve performance and visual effects for a window that has a complex shape, animates its shape, or wishes to use alpha blending effects. The system automatically composes and repaints layered windows and the windows of underlying applications. As a result, layered windows are rendered … Read more

Draw semi transparent overlay image all over the windows form having some controls

This is going to require another form that you display on top of the existing one. Its Opacity property can create the intended effect. Add a new class to your project and paste the code shown below. Call the Close() method to remove the effect again. using System; using System.Drawing; using System.Windows.Forms; using System.Runtime.InteropServices; class … Read more

How do I create a transparent Activity on Android?

Add the following style in your res/values/styles.xml file (if you don’t have one, create it.) Here’s a complete file: <?xml version=”1.0″ encoding=”utf-8″?> <resources> <style name=”Theme.Transparent” parent=”android:Theme”> <item name=”android:windowIsTranslucent”>true</item> <item name=”android:windowBackground”>@android:color/transparent</item> <item name=”android:windowContentOverlay”>@null</item> <item name=”android:windowNoTitle”>true</item> <item name=”android:windowIsFloating”>true</item> <item name=”android:backgroundDimEnabled”>false</item> </style> </resources> (The value @color/transparent is the color value #00000000 which I put in the res/values/color.xml file. … Read more