{"id":26269728,"url":"https://github.com/atifsayings/circularimageview","last_synced_at":"2025-10-28T03:32:22.775Z","repository":{"id":144170912,"uuid":"179784953","full_name":"AtifSayings/CircularImageView","owner":"AtifSayings","description":"Library to show image in Circular Shape","archived":false,"fork":false,"pushed_at":"2023-09-17T12:17:03.000Z","size":2150,"stargazers_count":23,"open_issues_count":0,"forks_count":14,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-30T22:01:44.218Z","etag":null,"topics":["android-library","circular-imageview"],"latest_commit_sha":null,"homepage":"https://technifysoft.com/","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/AtifSayings.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"license.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-04-06T03:38:54.000Z","updated_at":"2024-03-27T06:13:33.000Z","dependencies_parsed_at":"2025-03-14T07:15:27.129Z","dependency_job_id":null,"html_url":"https://github.com/AtifSayings/CircularImageView","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/AtifSayings/CircularImageView","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AtifSayings%2FCircularImageView","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AtifSayings%2FCircularImageView/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AtifSayings%2FCircularImageView/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AtifSayings%2FCircularImageView/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AtifSayings","download_url":"https://codeload.github.com/AtifSayings/CircularImageView/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AtifSayings%2FCircularImageView/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261791519,"owners_count":23210135,"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":["android-library","circular-imageview"],"created_at":"2025-03-14T05:15:53.297Z","updated_at":"2025-10-28T03:32:22.725Z","avatar_url":"https://github.com/AtifSayings.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CircularImageView\n[![](https://jitpack.io/v/AtifSayings/CircularImageView.svg)](https://jitpack.io/#AtifSayings/CircularImageView)\n[![license](https://img.shields.io/github/license/DAVFoundation/captain-n3m0.svg?style=flat-square)](https://github.com/AtifSayings/CircularImageView/blob/master/license.txt)\n\nCircularImageView to show your images in Circular Shape.\n* min SDK 16 (Android Jellybean 4.1)\n* written in Java\n\nA lightweight and fully customizable library to show your images in Circular Form\n\n## Screenshots\n\u003cdiv align=\"center\"\u003e\n    \u003cimg src=\"https://github.com/mohammadatif/CircularImageView/blob/master/screenshots/screen1.png\" width=\"300px\"\u003c/img\u003e \n    \u003cimg src=\"https://github.com/mohammadatif/CircularImageView/blob/master/screenshots/screen2.png\" width=\"300px\"\u003c/img\u003e \n\u003c/div\u003e\n\n## Installation\n\nAdd this into your root build.gradle file:\n\n```java\nallprojects {\n\t\trepositories {\n\t\t\t...\n\t\t\tmaven { url 'https://jitpack.io' }\n\t\t}\n\t}\n```\n\nOR. In Newer Versions of Android Studio  settings.gradle file:\n\n```java\npluginManagement {\n    repositories {\n        gradlePluginPortal()\n        google()\n        mavenCentral()\n        maven { url 'https://jitpack.io' }\n        jcenter()\n    }\n}\ndependencyResolutionManagement {\n    repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)\n    repositories {\n        google()\n        mavenCentral()\n        maven { url 'https://jitpack.io' }\n        jcenter()\n    }\n}\n```\n\nOR. In Newer Versions of Android Studio with Kotlin DSL settings.gradle.kts file:\n\n```java\npluginManagement {\n    repositories {\n        gradlePluginPortal()\n        google()\n        mavenCentral()\n        maven { setUrl(\"https://jitpack.io\") }\n        jcenter()\n    }\n}\ndependencyResolutionManagement {\n    repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)\n    repositories {\n        google()\n        mavenCentral()\n        maven { setUrl(\"https://jitpack.io\") }\n        jcenter()\n    }\n}\n```\n\nAdd the dependency to your module build.gradle (Groovy):\n```java\ndependencies {\n\timplementation 'com.github.AtifSayings:CircularImageView:1.0.2'\n}\n```\nOR. Add the dependency to your module build.gradle (Kotlin):\n```java\ndependencies {\n\timplementation(\"com.github.AtifSayings:CircularImageView:1.0.2\")\n}\n```\n## Usage\n### Using XML Layout\n```xml\n\u003ccom.blogspot.atifsoftwares.circularimageview.CircularImageView\n        android:id=\"@+id/imageView\"\n        android:layout_width=\"200dp\"\n        android:layout_height=\"200dp\"\n        android:layout_centerHorizontal=\"true\"\n        android:src=\"@drawable/profile_pic\"\n        app:c_background_color=\"@color/colorPrimary\"\n        app:c_border=\"true\"\n        app:c_border_color=\"#4A97E4\"\n        app:c_border_width=\"5.5dp\"\n        app:c_shadow=\"true\"\n        app:c_shadow_color=\"#000\"\n        app:c_shadow_gravity=\"end\"\n        app:c_shadow_radius=\"5.5\" /\u003e\n```\n### Programatically\n```java\nCircularImageView circularImageView = findViewById(R.id.imageView);\ncircularImageView.setImageResource(R.drawable.profile_pic);\ncircularImageView.setBackgroundColor(getResources().getColor(R.color.colorPrimary));\ncircularImageView.setBorderWidth(5);\ncircularImageView.setBorderWidth(10);\ncircularImageView.setBorderColor(getResources().getColor(R.color.colorPrimaryDark));\ncircularImageView.setShadowGravity(CircularImageView.ShadowGravity.BOTTOM);\ncircularImageView.setShadowRadius(9);\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatifsayings%2Fcircularimageview","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fatifsayings%2Fcircularimageview","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatifsayings%2Fcircularimageview/lists"}