{"id":3494,"url":"https://github.com/team-supercharge/ShimmerLayout","last_synced_at":"2025-08-03T20:32:31.256Z","repository":{"id":41000504,"uuid":"91458860","full_name":"team-supercharge/ShimmerLayout","owner":"team-supercharge","description":"DEPRECATED - Memory efficient shimmering effect for Android applications by Supercharge.","archived":false,"fork":false,"pushed_at":"2020-03-26T09:56:57.000Z","size":647,"stargazers_count":2523,"open_issues_count":18,"forks_count":285,"subscribers_count":51,"default_branch":"master","last_synced_at":"2024-12-05T12:46:30.633Z","etag":null,"topics":["android","android-animation","android-application","animation","memory-efficiency","shimmer"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/team-supercharge.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.MD","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-05-16T13:00:37.000Z","updated_at":"2024-11-21T10:32:40.000Z","dependencies_parsed_at":"2022-07-16T01:16:28.442Z","dependency_job_id":null,"html_url":"https://github.com/team-supercharge/ShimmerLayout","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/team-supercharge%2FShimmerLayout","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/team-supercharge%2FShimmerLayout/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/team-supercharge%2FShimmerLayout/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/team-supercharge%2FShimmerLayout/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/team-supercharge","download_url":"https://codeload.github.com/team-supercharge/ShimmerLayout/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228389192,"owners_count":17912188,"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","android-animation","android-application","animation","memory-efficiency","shimmer"],"created_at":"2024-01-05T20:16:43.095Z","updated_at":"2024-12-07T05:30:33.597Z","avatar_url":"https://github.com/team-supercharge.png","language":"Java","readme":"[![Android Arsenal](https://img.shields.io/badge/Android%20Arsenal-ShimmerLayout-brightgreen.svg?style=flat)](https://android-arsenal.com/details/1/5767)\n[![Maven Central](https://maven-badges.herokuapp.com/maven-central/io.supercharge/shimmerlayout/badge.svg?style=flat)](https://maven-badges.herokuapp.com/maven-central/io.supercharge/shimmerlayout)\n[![Android Weekly](http://img.shields.io/badge/Android%20Weekly-%23266-2CB3E5.svg?style=flat)](http://androidweekly.net/issues/issue-266)\n[![API](https://img.shields.io/badge/API-14%2B-brightgreen.svg?style=flat)](https://android-arsenal.com/api?level=14)\n[![Build Status](https://travis-ci.org/team-supercharge/ShimmerLayout.svg?branch=master)](https://travis-ci.org/team-supercharge/ShimmerLayout)\n\n# DEPRECATED - ShimmerLayout\nAttention: This tool is now deprecated. Please switch to [Shimmer for Android](https://github.com/facebook/shimmer-android) or any other shimmer effect solution.\n\n`ShimmerLayout` can be used to add shimmer effect (like the one used at Facebook or at LinkedIn) to your Android application. Beside memory efficiency even animating a big layout, you can customize the behaviour and look of the animation. Check out the [**wiki**](https://github.com/team-supercharge/ShimmerLayout/wiki/Home) for attributes!\n\n\u003cp align=\"center\"\u003e\n\u003cimg src=\"/shimmerlayout.gif?raw=true\" width=\"300\" /\u003e\n\u003c/p\u003e\n\n# Download and usage\n\nGet the latest artifact via gradle\n```groovy\nimplementation 'io.supercharge:shimmerlayout:2.1.0'\n```\n\nCreate the layout on which you want to apply the effect and add as a child of a `ShimmerLayout`\n\n```xml\n\u003cio.supercharge.shimmerlayout.ShimmerLayout\n        android:id=\"@+id/shimmer_text\"\n        android:layout_width=\"wrap_content\"\n        android:layout_height=\"40dp\"\n        android:layout_gravity=\"center_horizontal\"\n        android:layout_marginTop=\"50dp\"\n        android:paddingLeft=\"30dp\"\n        android:paddingRight=\"30dp\"\n        app:shimmer_animation_duration=\"1200\"\u003e\n\n        \u003cTextView\n            android:layout_width=\"wrap_content\"\n            android:layout_height=\"match_parent\"\n            android:gravity=\"center\"\n            android:text=\"ShimmerLayout\"\n            android:textColor=\"@color/shimmer_background_color\"\n            android:textSize=\"26sp\"/\u003e\n    \u003c/io.supercharge.shimmerlayout.ShimmerLayout\u003e\n```\n\nLast, but not least you have to start it from your Java code\n```java\nShimmerLayout shimmerText = (ShimmerLayout) findViewById(R.id.shimmer_text);\nshimmerText.startShimmerAnimation();\n```\n# Further reading\n\n* [The development of ShimmerLayout](https://medium.com/supercharges-mobile-product-guide/shimmerlayout-26978ab53c28)  - In this article you can read why we created this library and the technologies we used.\n\n# License\n\n`ShimmerLayout` is opensource, contribution and feedback are welcome!\n\n[Apache Version 2.0](http://www.apache.org/licenses/LICENSE-2.0.html)\n\n\n```\nCopyright 2017 Supercharge\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n   http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n```\n# Author\n\n[veghtomi](https://github.com/veghtomi)   \n\n[![Supercharge](http://s23.postimg.org/gbpv7dwjr/unnamed.png)](http://supercharge.io/)\n","funding_links":[],"categories":["Libraries","Java","其他"],"sub_categories":["GUI"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fteam-supercharge%2FShimmerLayout","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fteam-supercharge%2FShimmerLayout","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fteam-supercharge%2FShimmerLayout/lists"}