Table of Contents

Resource - Shadow

Total Launcher Shadow Guide: Drop Shadows, Elevation, and Depth

Shadow Resources in Total Launcher serve as essential visual anchors that introduce depth, layer elevation, and three-dimensional realism to custom Android themes. Applying drop shadows to text, icons, vector shapes, or window containers lifts interactive elements above static backgrounds, improving legibility and interface hierarchy. Because Total Launcher uses hardware-accelerated rendering, a user must master specific configuration constraints, such as canvas margin expansion and alpha floor preservation, to prevent edge clipping and invisible render artifacts. The following technical guide outlines proper shadow creation, parameter options, and core architectural rules.

Quick Start: The Two Rules of Drop Shadows

Total Launcher relies on Android's native rendering engine, which features specific behaviors. Use these two concepts when working with graphic objects:

To create a reliable drop shadow, follow these guidelines:

When a drop shadow is desired, avoid the following actions:

What is a Shadow Resource?

Total Launcher offers a “library” of user-created shadow presets for visual depth and separation from background objects. The library is viewed by navigating to the Main Menu > Launcher options > Resources > Shadow as shown in this dialog.

Common uses for shadow resources include:

The Built-in Shadow Library

Total Launcher offers no core library of shadows, only the space to store user-created shadow effects.

Customizing and Editing Shadows

Once a user selects a shadow, they can adjust its properties to fit the desired theme. Creation and modification happen via the Main Menu > Launcher options > Resources > Shape > Add icon

Shadow Add Dialog Element Descriptions
The Shadow Add dialog
• Label: - Enter a filename (no spaces/only underscore _ for separators) to ID when saved.

• Shadow color: - See a full review of TL's Color Picker here. See the discussion below for successful shadow color selection on different backgrounds.

• Shadow radius: - Controls the spread/softness of the shadow. “Radius” technically measures a distance (in pixels) the blur extends from the object's edge. (A technical review of “Radius” is here.) Visually, it determines how “fuzzy” the shadow appears.
» Low values (1-5): Tight, hard-edged shadow mimicking a harsh light source.
» High values (10+): Wide, soft-edged shadow mimicking a large, diffused light source.
⇒ Note: If Offset X/Y = 0, the shadow remains perfectly centered behind the object; a higher radius will make it “glow” out from all sides.

• Shadow offset X: - Controls the horizontal position of the shadow relative to the object. Positive values push the shadow to the right; negative values push the shadow to the left.

• Shadow offset Y: - Controls the vertical position of the shadow relative to the object. Positive values push the shadow down; negative values push it up.

Practical Applications

<do samples and include how to procedure> The following are methods to apply shadows in object design:

In modern UI design, light usually comes from directly above or slightly “front-and-top.” This means the X offset is often 0 (centered horizontally), and the Y offset is positive (pushing the shadow down). Below are suggested settings for the X/Y Offsets and radius if a user wants this style.

Style Offset X Offset Y Radius Appearance
Subtle Lift 0 2 4 Clean, professional, slightly elevated
Floating Card 0 8 12 High elevation, like a physical card held over the screen
Retro / Pop 4 4 2 Distinct, “sticker-like” sharp edge
Soft Glow 0 0 20 High-end “aura” effect (only works if radius is high).

Tips to Perfect Shadows and the Technical Reasoning Behind Each

Technical Note: The Gaussian Safety Buffer

While Rule 1 states that Margin must be ≥ (Radius + Offset), high-radius shadows require a “Safety Buffer”.

Design Tip: To test the shadows effectively, always set the Launcher wallpaper to the color recommended in the “Best Use On” column of the configuration tables. Testing a “Light Mode” shadow on a “Dark Mode” background will always result in a “Contrast Wall” failure.

UI Navigation Note: The Single Slot Background

When configuring a Graphic Object's Options (gear) menu, the Background property is a single-occupancy slot.

Performance Hits from Radius/Blur Use

< write this >

</WRAP>