Releases: QmDeve/AndroidLiquidGlassView
Releases · QmDeve/AndroidLiquidGlassView
v1.0.1
v1.0.0
v1.0.0-alpha11
What's Changed
Update: Add touch effect feature with iOS-style visuals @sbaiahmed1 #4
- Implemented glow effect and touch animations in LiquidGlassView.
- Introduced
TouchEffectActivityto showcase the touch effect. - Updated LiquidGlassView to support dynamic touch animations.
- Adjusted spring animations for smoother scaling and tilting.
- Added relevant XML layout and integrated new activity in the main menu.
Update: All obsolete methods have been removed @QmDeve #5
setCornerRadiusDpsetCornerRadiusPxsetRefractionHeightDpsetRefractionHeightPxsetRefractionOffsetDpsetRefractionOffsetPxsetDraggable
Update: Change LiquidGlassView inheritance from FrameLayout to ViewGroup @QmDeve #5
- Change base class from
FrameLayouttoViewGroupfor more layout flexibility - Implement required
onLayout()andonMeasure()methods - Maintain all existing functionality including liquid glass effects and touch interactions
- Update view removal logic to use
removeView()instead of parent reference
Fix the refractive dividing line problem when small rounded corners (0-10) @QmDeve #5
- Fix: Fix refraction artifacts appearing at small corner radii (0-10).
- Fix: Smooth out refraction gradients for sharp corners to remove dividing lines.
- Update: Decouple refraction bevel from geometric radius to fix corner artifacts.
v1.0.0-alpha10
Update Log:
- The
setDraggablemethod is marked asdeprecatedand will be removed in future versions - Add
setDraggableEnabledmethod. - The default value of DraggableEnabled is changed to false
- Add
setElasticEnabledmethod - The elastic effect of liquid glass is more elastic
v1.0.0-alpha09
Added liquidness to LiquidGlassView:
- using new
LiquidTrackerto apply liquidness - using
VelocityTrackerfor velocity computation - using
DynamicAnimationfor physics-based motion
v1.0.0-alpha08
minSdkchanged from 26 to 24
v1.0.0-alpha07
- The maximum limit of the radius of the rounded corner is changed to half of the height of the view
v1.0.0-alpha06
- Fixed parameter sharing error:When using multiple
LiquidGlassViewcomponents in a layout, they now maintain independent settings instead of affecting each other
v0.0.1-alpha05
Update
v0.0.1-alpha04
- The bug where the blur radius cannot be set to 0 has been fixed
- The bug that causes slight flickering when some equipment dynamically adjusts parameters has been fixed