awesome-repositories.com
博客
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目关于排名机制媒体报道MCP 服务器
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
lihangleo2 avatar

lihangleo2/ShadowLayout

0
View on GitHub↗
3,737 星标·425 分支·Java·MIT·3 次浏览

ShadowLayout

ShadowLayout is an Android UI component styling library used to create depth effects and interactive state transitions within mobile layouts. It provides a system for implementing complex visual effects such as custom shadows, rounded corners, and borders for views without requiring custom XML shape files.

The project features a custom shadow engine that allows for adjustable blur, offset, and spread settings to simulate depth. It includes tools for precise corner radius control and geometric border rendering for both solid and dashed outlines.

The library provides a set of interactive components, including buttons with built-in loading states and social interaction toggles. These elements support dynamic styling where background colors, text content, and animations update automatically based on pressed or selected interaction states.

Features

  • Custom Shadow Engines - Ships a custom shadow engine that calculates offsets, blur radii, and spreads to create high-fidelity depth effects.
  • Geometric Border Rendering - Generates solid or dashed outlines by drawing geometric paths based on thickness and color attributes.
  • Shadow Implementation for Custom Views - Adds depth to Android layouts using adjustable blur, offset, and spread settings for a modern card-like appearance.
  • Android Component Styling - Provides a comprehensive system for customizing the visual appearance of Android UI elements including shadows, corners, and borders.
  • Shadow Effects - Provides utilities for configuring color, blur, and offset to create visual depth for wrapped views.
  • Programmatic Border Drawing - Implements solid or dashed lines around views using adjustable thickness and color settings.
  • Non-Uniform Corner Radii - Implements independent curvature control for each corner to synchronize background clipping and shadow masks.
  • Interactive Button Components - Building buttons with built-in loading states, follow-toggle animations, and dynamic background color transitions for better user feedback.
  • State-Driven Backgrounds - Implements background colors and shapes that switch in real time based on view selection and press states.
  • Android Styling Frameworks - Implements a framework for defining state-based backgrounds and styles directly within Android layouts.
  • View Inflation Attributes - Provides a system for configuring visual properties of child views through custom XML attributes during the inflation process.
  • Loading State Buttons - Implements buttons that display a loading state during activity transitions or state resets.
  • Social Interaction Buttons - Provides social interaction buttons with checkmark animations and toggle states to manage following status.
  • Interaction-Triggered Backgrounds - Implements background color transitions triggered by pressed or selected states using custom selectors.
  • View Background Stylings - Applies colors, images, or gradients to view backgrounds that react to interaction modes.
  • State-Aware Text Binding - Links text content and color properties to the interaction state of the parent layout for automatic updates.
  • Text Attribute Styling Systems - Maps selection states to native text rendering attributes to automatically update content and color.

Star 历史

lihangleo2/shadowlayout 的 Star 历史图表lihangleo2/shadowlayout 的 Star 历史图表

AI 搜索

探索更多 awesome 仓库

用简单的语言描述您的需求 —— AI 将根据相关性为您从数千个精选开源项目中进行排序。

Start searching with AI

ShadowLayout 的开源替代方案

相似的开源项目,按与 ShadowLayout 的功能重合度排序。
  • attackondobby/ios-core-animation-advanced-techniquesAttackOnDobby 的头像

    AttackOnDobby/iOS-Core-Animation-Advanced-Techniques

    4,489在 GitHub 上查看↗

    This project is a technical guide and implementation library for advanced visual effects and hardware-accelerated animations using the Core Animation framework on iOS. It provides a comprehensive reference for creating high-performance motion graphics, custom graphic rendering, and the construction of 3D engines using perspective transforms and Z-axis manipulation. The collection distinguishes itself through a deep focus on GPU rendering optimization and graphics performance. It covers advanced strategies to maintain high frame rates, such as reducing offscreen rendering via shadow path optim

    在 GitHub 上查看↗4,489
  • chokcoco/css-inspirationchokcoco 的头像

    chokcoco/CSS-Inspiration

    10,866在 GitHub 上查看↗

    This project is a curated collection of galleries and component libraries that demonstrate pure CSS visual effects, 3D transforms, animation patterns, and layout solutions. It serves as a visual catalog of interactive UI elements and graphics built exclusively with HTML and CSS. The collection distinguishes itself by implementing complex interactivity, such as state management and animation triggers, using only CSS pseudo-classes and keyframes without any JavaScript. It also features a system for generative art and algorithmic patterns, as well as spatial 3D constructions using perspective an

    CSS
    在 GitHub 上查看↗10,866
  • javanoober/backgroundlibraryJavaNoober 的头像

    JavaNoober/BackgroundLibrary

    3,887在 GitHub 上查看↗

    BackgroundLibrary is an Android UI styling framework and programmatic drawable generator. It provides a system for defining user interface components, backgrounds, and state-to-visual mappings through layout attributes and fluent code builders. The library enables the creation of complex background shapes, gradients, and strokes programmatically, removing the need for static XML resource files. It includes a view state manager that maps user interaction events, such as pressed or focused states, to specific visual changes in colors or strokes at runtime. The framework covers a broad range of

    Javaandroiddrawableselector
    在 GitHub 上查看↗3,887
  • rengwuxian/materialedittextrengwuxian 的头像

    rengwuxian/MaterialEditText

    6,080在 GitHub 上查看↗

    MaterialEditText is an Android UI component library and mobile form input framework used to create text fields that implement Material Design standards. It provides a collection of input components featuring floating labels, error states, and themed visual styles. The library enables the rendering of text fields with animated labels and integrated helper text. It supports the addition of design icons and allows for the customization of colors and typefaces for primary, error, and helper text. The framework includes capabilities for mobile input validation, such as enforcing minimum and maxim

    Java
    在 GitHub 上查看↗6,080
查看 ShadowLayout 的所有 19 个替代方案→

常见问题解答

lihangleo2/shadowlayout 是做什么的?

ShadowLayout is an Android UI component styling library used to create depth effects and interactive state transitions within mobile layouts. It provides a system for implementing complex visual effects such as custom shadows, rounded corners, and borders for views without requiring custom XML shape files.

lihangleo2/shadowlayout 的主要功能有哪些?

lihangleo2/shadowlayout 的主要功能包括:Custom Shadow Engines, Geometric Border Rendering, Shadow Implementation for Custom Views, Android Component Styling, Shadow Effects, Programmatic Border Drawing, Non-Uniform Corner Radii, Interactive Button Components。

lihangleo2/shadowlayout 有哪些开源替代品?

lihangleo2/shadowlayout 的开源替代品包括: attackondobby/ios-core-animation-advanced-techniques — This project is a technical guide and implementation library for advanced visual effects and hardware-accelerated… chokcoco/css-inspiration — This project is a curated collection of galleries and component libraries that demonstrate pure CSS visual effects, 3D… rengwuxian/materialedittext — MaterialEditText is an Android UI component library and mobile form input framework used to create text fields that… javanoober/backgroundlibrary — BackgroundLibrary is an Android UI styling framework and programmatic drawable generator. It provides a system for… aryaxt/ios-rich-text-editor — This library provides a toolkit for implementing rich text editing within native iOS applications. It functions as a… danielzeller/depth-lib-android- — Depth-LIB-Android- is a view depth library and layout framework for Android that provides tools for adding spatial…