{"id":13350563,"url":"https://github.com/developer-shivam/Crescento","last_synced_at":"2025-03-12T09:32:49.419Z","repository":{"id":46679710,"uuid":"74023448","full_name":"developer-shivam/Crescento","owner":"developer-shivam","description":"Add curve at bottom of image views and relative layouts.","archived":false,"fork":false,"pushed_at":"2018-10-01T11:39:26.000Z","size":23908,"stargazers_count":1275,"open_issues_count":9,"forks_count":156,"subscribers_count":24,"default_branch":"master","last_synced_at":"2025-03-05T09:34:29.183Z","etag":null,"topics":["appcompat-support","curve","customview","imageview"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/developer-shivam.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-11-17T12:08:14.000Z","updated_at":"2025-01-30T13:35:28.000Z","dependencies_parsed_at":"2022-08-31T06:41:27.565Z","dependency_job_id":null,"html_url":"https://github.com/developer-shivam/Crescento","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/developer-shivam%2FCrescento","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/developer-shivam%2FCrescento/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/developer-shivam%2FCrescento/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/developer-shivam%2FCrescento/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/developer-shivam","download_url":"https://codeload.github.com/developer-shivam/Crescento/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243191633,"owners_count":20251089,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["appcompat-support","curve","customview","imageview"],"created_at":"2024-07-29T20:02:35.403Z","updated_at":"2025-03-12T09:32:48.228Z","avatar_url":"https://github.com/developer-shivam.png","language":"Java","readme":"Crescento\n=========\n\nAndroid 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**.\t\n\n[![API](https://img.shields.io/badge/API-11%2B-red.svg)](https://android-arsenal.com/api?level=11)\n[![Android Arsenal](https://img.shields.io/badge/Android%20Arsenal-Crescento-green.svg?style=true)](https://android-arsenal.com/details/1/4684)\n[![Android Weekly](https://img.shields.io/badge/Android%20Weekly-%23232-blue.svg)](http://androidweekly.net/issues/issue-232)\n[![AndroidDev Digest](https://img.shields.io/badge/AndroidDev%20Digest-%23119-yellow.svg)](https://www.androiddevdigest.com/digest-119/)\n\n![Sample Image 2][SampleOneNexus]\n\nOverview\n--------\n\n**Crescento** provides following advantages:\n\n* **Curve Bottom**: It adds a curve bottom as stated above. \n* **Tint**: It add tint on **CrescentoImageView** by using **attribute:tintColor**. It pick color automatically from the image if **tintMode** is set to **automatic**.\n* **Alpha**: Add transparency in tint by using **attribute:tintAlpha**. Varies from 0 to 255.\n* **Gradient** : Add gradient on the imageview.\n* **Gravity** : You can now add crescento to bottom of your layout. Arc will form on top.\n\n**[Sample Apk]** \n\nUse with **[KenBurnsView]**\n---------------------------------------\n\n![Sample Image 1][GifSample]\n\n```java\n\u003cdeveloper.shivam.library.CrescentoContainer android:id=\"@+id/crescentoContainer\"\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"300dp\"\n        android:elevation=\"20dp\"\n        android:scaleType=\"centerCrop\"\n        attribute:curvature=\"50dp\"\u003e\n\n        \u003ccom.flaviofaria.kenburnsview.KenBurnsView\n            android:layout_width=\"match_parent\"\n            android:layout_height=\"match_parent\"\n            android:src=\"@drawable/wallpaper2\" /\u003e\n\u003c/developer.shivam.library.CrescentoContainer\u003e\n```\n\nDonations\n---------\n\nThis 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!\n\n**PayPal**\n\n* **[Donate $5]**: Thank's for creating this project, here's a coffee (or some beer) for you!\n* **[Donate $10]**: Wow, I am stunned. Let me take you to the movies!\n* **[Donate $15]**: I really appreciate your work, let's grab some lunch!\n* **[Donate $25]**: That's some awesome stuff you did right there, dinner is on me!\n* **[Donate $50]**: I really really want to support this project, great job!\n* **[Donate $100]**: You are the man! This project saved me hours (if not days) of struggle and hard work, simply awesome!\n* **[Donate $2799]**: Go buddy, buy Macbook Pro for yourself!\nOf course, you can also choose what you want to donate, all donations are awesome!\n\nDemo\n----\n\nHere is a very good example of how to use `Crescento`. **Zsolt Szilvai** has made a very good design and I've illustrated using crescento.\n\nhttps://material.uplabs.com/posts/cinema-application-interface\n\n![Sample of Zsolt Szilvai's design][SampleTwo]\n\nGradle Integration\n------------------\n\nIf you are using gradle then add these lines in build.gradle file at project level.\n```java\nallprojects {\n    repositories {\n        ...\n        maven { url \"https://jitpack.io\" }\n    }\n}\n    \n```\n\nAdd below lines in build.gradle at app level.\n```java\ncompile 'com.github.developer-shivam:Crescento:1.2.1'\n```\n\nBasic Usage\n-----------\n\n*For a working implementation, see `/app` folder*\n\n**ImageView**\n\n```xml\n\u003cdeveloper.shivam.crescento.ImageView android:id=\"@+id/crescentoImageView\"\n    android:layout_width=\"match_parent\"\n    android:layout_height=\"300dp\"\n    android:elevation=\"20dp\"\n    android:scaleType=\"centerCrop\"\n    attribute:gravity=\"top\"\n    attribute:curvature=\"50dp\"\n    attribute:crescentoTintMode=\"manual\"\n    attribute:crescentoTintColor=\"#FFFFFF\"\n    attribute:tintAlpha=\"50\" /\u003e\n```\n\n**Container**\n\n```xml\n\u003cdeveloper.shivam.crescento.Container android:id=\"@+id/crescentoContainer\"\n    android:layout_width=\"match_parent\"\n    android:layout_height=\"300dp\"\n    android:elevation=\"20dp\"\n    attribute:curvature=\"50dp\"\u003e\n\n    \u003c!-- Your code here --\u003e\n\n\u003c/developer.shivam.library.CrescentoContainer\u003e\n```\n\nAttributes\n----------\n\n* **curvature**: To change the size of curve.\n* **curvatureDirection** : To change the direction of curvature. Whether **inward** or **outward**.\n* **tintColor**: To add tint on image view.\n* **tintMode**: To add tint **manually** or **automatically**. If **automatically** it will pick color from image you have set.\n* **tintAlpha**: To set the amount of tint. 0 for 100% transparent and 255 for opaque.\n* **gradientDirection** : To set the direction of gradient. Supported direction are **TOP_TO_BOTTOM**, **BOTTOM_TO_TOP**, **LEFT_TO_RIGHT** and **RIGHT_TO_LEFT**.\n* **gradientStartColor** : gradient start color.\n* **gradientEndColor** : gradient end color.\n* **gravity** : To set gravity. **TOP** or **BOTTOM**.\n \nConnect With Me\n-----------\n\nShivam Satija (droidsergeant)\n\n\u003ca href=\"https://plus.google.com/108004024169425288075\"\u003e\n  \u003cimg alt=\"Connect me on Google+\" src=\"/art/gplus.png\" /\u003e\n\u003c/a\u003e\n\u003ca href=\"https://www.facebook.com/developerShivam\"\u003e\n  \u003cimg alt=\"Connect me on Facebook\" src=\"/art/fb.png\" width=\"64\" height=\"64\" /\u003e\n\u003c/a\u003e\n\u003ca href=\"https://in.linkedin.com/in/developershivam\"\u003e\n  \u003cimg alt=\"Connect me on LinkedIn\" src=\"/art/linkedin.png\" /\u003e\n\u003c/a\u003e \n\nQuestion / Contact Me / Hire Me\n---------------------\nPlease feel free to ping me at **dr.droid27@gmail.com**. Expected package would be **6 lpa**.\n\nLicense\n-------\n\n```\nMIT License\n\nCopyright (c) 2016 Shivam Satija\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n```\n\n[Facebook]:             /art/fb.png\n[Google+]:              /art/gplus.png\n[LinkedIn]:             /art/linkedin.png\n[SampleOne]:\t\t \t/art/sample1_resize.png\n[SampleTwo]:\t\t\t/art/sample2.png\n[SampleOneNexus]: \t \t/art/sample_image.jpg\n[GifSample]:         \t/art/sample2.gif\n[GifSample2]:\t\t \t/art/sample3.gif\n[Donate $5]: \t\thttps://www.paypal.me/developerShivam/5\n[Donate $10]:  \t\thttps://www.paypal.me/developerShivam/10\n[Donate $15]:  \t\thttps://www.paypal.me/developerShivam/15\n[Donate $25]:  \t\thttps://www.paypal.me/developerShivam/25\n[Donate $50]: \t\thttps://www.paypal.me/developerShivam/50\n[Donate $100]: \t\thttps://www.paypal.me/developerShivam/100\n[Donate $2799]: \thttps://www.paypal.me/developerShivam/2799\n[Sample Apk]:\t\thttps://github.com/developer-shivam/crescento/blob/master/demo.apk\n[KenBurnsView]:\t\thttps://github.com/flavioarfaria/KenBurnsView\n","funding_links":["https://www.paypal.me/developerShivam/5","https://www.paypal.me/developerShivam/10","https://www.paypal.me/developerShivam/15","https://www.paypal.me/developerShivam/25","https://www.paypal.me/developerShivam/50","https://www.paypal.me/developerShivam/100","https://www.paypal.me/developerShivam/2799"],"categories":["其他"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeveloper-shivam%2FCrescento","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeveloper-shivam%2FCrescento","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeveloper-shivam%2FCrescento/lists"}