Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
F

Frisson

> 开发工具
Open source

Provide Funky cuts on image (The Perfect Header for Profile UI)

397 stars0 likes1 views
WebsiteGitHub

About

Provide Funky cuts on image (The Perfect Header for Profile UI)

Frisson

Provide Funky cuts on image (The Perfect Header for Profile UI)

[Demo App - IS Library]

Overview

Frisson provide following features:

  • Funky Cuts: Provide Funky cuts on the bottom of the view.
  • Customizable: custom settings of cuts
  • Gradient : Add gradient on the view.

Usage

Step 1. Add the JitPack repository to your build file

groovy
allprojects {
        repositories {
            ...
            maven { url "https://jitpack.io" }
        }
    }

Step 2. Add the dependency

groovy
dependencies {
  compile 'com.github.IntruderShanky:Frisson:2.1.1'
 }

Implementation

XML Implementation:

xml
  

Implementation with [Glide]

java
Glide.with(context)
                .load(URL)
                .asBitmap()
                .into(new SimpleTarget(SimpleTarget.SIZE_ORIGINAL, SimpleTarget.SIZE_ORIGINAL) {
                    @Override
                    public void onResourceReady(Bitmap bitmap, GlideAnimation anim) {
                        frissonView.setBitmap(bitmap);
                    }
                });

Attributes

Image ScaleType

xml
frisson:scaleType="centerCrop"
frisson:scaleType="fitXY"

Image Drawable Resource

xml
frisson:src="@drawable/your_image"

Background Tint Color

xml
frisson:tintColor="@color/your_color"

Alpha Value (Ranges from 0 to 255) Default Value: 50

xml
frisson:alphaValue="value"

Auto Tint (Pick automatically tint color from image)

xml
frisson:autoTint="true"

Tide Height (Height of waves)

xml
frisson:tideHeight="50dp"

Tide Count (No. of Tides)

xml
frisson:tideCount="3"

Gradient Type

xml
frisson:gradientType="linear"
frisson:gradientType="radial"

Gradient Color

xml
frisson:gradient_endColor="#cc000000"
frisson:gradient_startColor="#00000000"

Gradient Angle (Works with Linear type Gradient)

xml
frisson:gradientAngle="180"

Java Implementation:

java
FrissonView frissonView = (FrissonView) findViewById(R.id.frisson_view);

// to set image from resources        
frissonView.setImageSource(R.drawable.your_image);

// to set bitmap
frissonView.setBitmap(bitmap);

// to set the background color (color should have some alpha val)
frissonView.setColorTint(Color.GREEN);

Licence

…

[Glide]: https://github.com/bumptech/glide [Demo App - IS Library]: https://play.google.com/store/apps/details?id=com.intrusoft.islibrarydemo

Issues· 3 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Javafunky-cutsprofile-uitideswave-view

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category开发工具
PricingOpen source

> Related tools

V
VS Code
流行的开源代码编辑器
G
Git
分布式版本控制系统
V
Vite
下一代前端构建工具