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

Crescento

> 编程语言
Open source

Add curve at bottom of image views and relative layouts.

1.3K stars0 likes0 views
WebsiteGitHub

About

Add curve at bottom of image views and relative layouts.

Crescento

Android library that adds a curve at the below of image views and relative layouts. CrescentoImageView and CrescentoContainer are the image view and relative layout respectively. You can change the radius of curve with attribute:curvature. ![Sample Image 2][SampleOneNexus]

Overview

Crescento provides following advantages:

  • Curve Bottom: It adds a curve bottom as stated above.
  • Tint: It add tint on CrescentoImageView by using attribute:tintColor. It pick color automatically from the image if tintMode is set to automatic.
  • Alpha: Add transparency in tint by using attribute:tintAlpha. Varies from 0 to 255.
  • Gradient : Add gradient on the imageview.
  • Gravity : You can now add crescento to bottom of your layout. Arc will form on top.

[Sample Apk]

Use with [KenBurnsView]

![Sample Image 1][GifSample]

java

        

Donations

This project needs you! If you would like to support this project's further development, the creator of this project or the continuous maintenance of this project, feel free to donate. Your donation is highly appreciated (and I love food, coffee and beer). Thank you!

PayPal

  • [Donate $5]: Thank's for creating this project, here's a coffee (or some beer) for you!
  • [Donate $10]: Wow, I am stunned. Let me take you to the movies!
  • [Donate $15]: I really appreciate your work, let's grab some lunch!
  • [Donate $25]: That's some awesome stuff you did right there, dinner is on me!
  • [Donate $50]: I really really want to support this project, great job!
  • [Donate $100]: You are the man! This project saved me hours (if not days) of struggle and hard work, simply awesome!
  • [Donate $2799]: Go buddy, buy Macbook Pro for yourself! Of course, you can also choose what you want to donate, all donations are awesome!

Demo

Here is a very good example of how to use Crescento. Zsolt Szilvai has made a very good design and I've illustrated using crescento.

https://material.uplabs.com/posts/cinema-application-interface

![Sample of Zsolt Szilvai's design][SampleTwo]

Gradle Integration

If you are using gradle then add these lines in build.gradle file at project level.

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

Add below lines in build.gradle at app level.

java
compile 'com.github.developer-shivam:Crescento:1.2.1'

Basic Usage

For a working implementation, see /app folder

ImageView

xml

Container

xml

    

Attributes

  • curvature: To change the size of curve.
  • curvatureDirection : To change the direction of curvature. Whether inward or outward.
  • tintColor: To add tint on image view.
  • tintMode: To add tint manually or automatically. If automatically it will pick color from image you have set.
  • tintAlpha: To set the amount of tint. 0 for 100% transparent and 255 for opaque.
  • gradientDirection : To set the direction of gradient. Supported direction are TOP_TO_BOTTOM, BOTTOM_TO_TOP, LEFT_TO_RIGHT and RIGHT_TO_LEFT.
  • gradientStartColor : gradient start color.
  • gradientEndColor : gradient end color.
  • gravity : To set gravity. TOP or BOTTOM.

Connect With Me

Shivam Satija (droidsergeant)

Question / Contact Me / Hire Me

Please feel free to ping me at [email protected]. Expected package would be 6 lpa.

License

…

[SampleOne]: /art/sample1_resize.png [SampleTwo]: /art/sample2.png [SampleOneNexus]: /art/sample_image.jpg [GifSample]: /art/sample2.gif [GifSample2]: /art/sample3.gif [Donate $5]: https://www.paypal.me/developerShivam/5 [Donate $10]: https://www.paypal.me/developerShivam/10 [Donate $15]: https://www.paypal.me/developerShivam/15 [Donate $25]: https://www.paypal.me/developerShivam/25 [Donate $50]: https://www.paypal.me/developerShivam/50 [Donate $100]: https://www.paypal.me/developerShivam/100 [Donate $2799]: https://www.paypal.me/developerShivam/2799 [Sample Apk]: https://github.com/developer-shivam/crescento/blob/master/demo.apk [KenBurnsView]: https://github.com/flavioarfaria/KenBurnsView

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Javaappcompat-supportcurvecustomviewimageview

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言