{"id":13392975,"url":"https://github.com/alexandrehtrb/IridescentView","last_synced_at":"2025-03-13T19:31:17.807Z","repository":{"id":57732304,"uuid":"134422439","full_name":"alexandrehtrb/IridescentView","owner":"alexandrehtrb","description":"A custom View for Android Java / Xamarin.Android that creates an iridescent effect on top of images.","archived":false,"fork":false,"pushed_at":"2024-05-02T14:33:22.000Z","size":13814,"stargazers_count":21,"open_issues_count":0,"forks_count":7,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-28T11:26:25.319Z","etag":null,"topics":["accelerometer","android","android-java","gamer","gradient","holographic","iridescence","rainbow","stickers","xamarin","xamarin-android"],"latest_commit_sha":null,"homepage":"","language":"C#","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/alexandrehtrb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2018-05-22T13:51:11.000Z","updated_at":"2024-07-16T01:57:46.000Z","dependencies_parsed_at":"2024-10-25T09:23:32.729Z","dependency_job_id":"aee42deb-c4ae-4fd7-9426-00764aacbb6b","html_url":"https://github.com/alexandrehtrb/IridescentView","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexandrehtrb%2FIridescentView","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexandrehtrb%2FIridescentView/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexandrehtrb%2FIridescentView/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexandrehtrb%2FIridescentView/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alexandrehtrb","download_url":"https://codeload.github.com/alexandrehtrb/IridescentView/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243469138,"owners_count":20295694,"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":["accelerometer","android","android-java","gamer","gradient","holographic","iridescence","rainbow","stickers","xamarin","xamarin-android"],"created_at":"2024-07-30T17:00:40.431Z","updated_at":"2025-03-13T19:31:17.795Z","avatar_url":"https://github.com/alexandrehtrb.png","language":"C#","funding_links":[],"categories":["Uncategorized","Index","UI"],"sub_categories":["Uncategorized"],"readme":"# IridescentView\n\n[Ler em português](README_pt.md)\n\nhttps://github.com/alexandrehtrb/IridescentView/assets/27026741/fbc5220f-5533-4ddc-9238-d2edb383b4d5\n\n![IridescentGlobe](iridescent_globe.jpg)\n\nThe IridescentView is a custom ImageView that applies an iridescent effect on images, according to the device's rotation. The rotation is acquired by the accelerometer and used for the calculation of the effect.\n\nThe component is available for Android Java and Xamarin.Android.\n\n## To use in Android Java\n\nIn the Gradle scripts, the Maven Central repository must be declared:\n\n```kt\nallprojects {\n    repositories {\n        google()\n        jcenter()\n        mavenCentral()\n        // other Maven repositories\n    }\n}\n```\n\nIn the Gradle script of the module in which you want to use the View, include the dependency inside the `dependencies` block:\n\n```kt\nimplementation(\"io.github.alexandrehtrb:iridescentview:1.0.0\")\n```\n\nTo use the View in a XML layout, add like below:\n\n```xml\n\u003cbr.alexandrehtrb.iridescentview.IridescentView\n    android:id=\"@+id/iridescent_star\"\n    android:layout_height=\"wrap_content\"\n    android:layout_width=\"wrap_content\"\n    android:layout_centerInParent=\"true\"\n    android:src=\"@drawable/black_star\"/\u003e\n ```\n\nThe minimum Android API is API 11 (Android 3.0 Honeycomb).\n\n## To use in Xamarin.Android\n\nTo add the component in your project, install the [NuGet package](https://www.nuget.org/packages/Br.AlexandreHtrb.IridescentView/):\n\n```\nInstall-Package Br.AlexandreHtrb.IridescentView -Version 1.0.0\n```\n\nTo use the View in a AXML layout, add like below:\n\n```xml\n\u003c!-- The complete name of the class is different in Xamarin.Android --\u003e\n\u003cBr.AlexandreHtrb.IridescentView.IridescentView\n    android:id=\"@+id/iridescent_star\"\n    android:layout_height=\"wrap_content\"\n    android:layout_width=\"wrap_content\"\n    android:layout_centerInParent=\"true\"\n    android:src=\"@drawable/black_star\"/\u003e\n```\n\nThe minimum Android API is API 28 (Android 9.0 Pie).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexandrehtrb%2FIridescentView","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falexandrehtrb%2FIridescentView","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexandrehtrb%2FIridescentView/lists"}