{"id":13989566,"url":"https://github.com/AlbertGrobas/MovingImageView","last_synced_at":"2025-07-22T11:30:52.648Z","repository":{"id":19378278,"uuid":"22618888","full_name":"AlbertGrobas/MovingImageView","owner":"AlbertGrobas","description":"Custom ImageView for moving image around the screen (Android)","archived":false,"fork":false,"pushed_at":"2017-04-17T15:47:16.000Z","size":39642,"stargazers_count":820,"open_issues_count":7,"forks_count":144,"subscribers_count":29,"default_branch":"master","last_synced_at":"2024-11-29T08:39:17.360Z","etag":null,"topics":[],"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/AlbertGrobas.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":"2014-08-04T20:29:25.000Z","updated_at":"2024-10-05T17:09:41.000Z","dependencies_parsed_at":"2022-08-05T04:00:37.727Z","dependency_job_id":null,"html_url":"https://github.com/AlbertGrobas/MovingImageView","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/AlbertGrobas/MovingImageView","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlbertGrobas%2FMovingImageView","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlbertGrobas%2FMovingImageView/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlbertGrobas%2FMovingImageView/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlbertGrobas%2FMovingImageView/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AlbertGrobas","download_url":"https://codeload.github.com/AlbertGrobas/MovingImageView/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlbertGrobas%2FMovingImageView/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266483484,"owners_count":23936347,"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","status":"online","status_checked_at":"2025-07-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2024-08-09T13:01:45.365Z","updated_at":"2025-07-22T11:30:50.986Z","avatar_url":"https://github.com/AlbertGrobas.png","language":"Java","funding_links":[],"categories":["Java","Libs"],"sub_categories":["\u003cA NAME=\"Widget\"\u003e\u003c/A\u003eWidget"],"readme":"MovingImageView\n===============\n[![Android Arsenal](https://img.shields.io/badge/Android%20Arsenal-MovingImageView-brightgreen.svg?style=flat)](http://android-arsenal.com/details/1/1850)\n\nCreate a custom ImageView for moving image around the screen.\n\n![Demo Screenshot 1][1]\n![Demo Screenshot 2][2]\n\nUsage\n-----\n\nTo use MovingImageView, add the module into your project and start to build xml or java.\n\n### XML\n```xml\n    \u003cnet.grobas.view.MovingImageView\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"250dp\"\n        android:src=\"@drawable/image\"\n        app:miv_load_on_create=\"true\"\n        app:miv_max_relative_size=\"3\"\n        app:miv_min_relative_offset=\"0.2\"\n        app:miv_start_delay=\"1000\"\n        app:miv_repetitions=\"-1\"\n        app:miv_speed=\"100\" /\u003e\n```\n\n##### Properties:\n\n* `app:miv_load_on_create` (boolean)    -\u003e default true\n* `app:miv_max_relative_size`  (float)  -\u003e default 3.0f\n* `app:miv_min_relative_offset` (float) -\u003e default 0.2f\n* `app:miv_start_delay` (integer)       -\u003e default 0\n* `app:miv_repetitions` (integer)       -\u003e default -1\n* `app:miv_speed` (integer)             -\u003e default 50\n\n\n### JAVA\n\n```java\n    MovingImageView image = (MovingImageView) findViewById(R.id.image);\n    image.getMovingAnimator().setInterpolator(new BounceInterpolator());\n    image.getMovingAnimator().setSpeed(100);\n    image.getMovingAnimator().addCustomMovement().\n            addDiagonalMoveToDownRight().\n            addHorizontalMoveToLeft().\n            addDiagonalMoveToUpRight().\n            addVerticalMoveToDown().\n            addHorizontalMoveToLeft().\n            addVerticalMoveToUp().\n            start();\n```\n\nLicense\n-------\n\n    Copyright 2014 Albert Grobas\n\n    Licensed under the Apache License, Version 2.0 (the \"License\");\n    you may not use this file except in compliance with the License.\n    You may obtain a copy of the License at\n\n       http://www.apache.org/licenses/LICENSE-2.0\n\n    Unless required by applicable law or agreed to in writing, software\n    distributed under the License is distributed on an \"AS IS\" BASIS,\n    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n    See the License for the specific language governing permissions and\n    limitations under the License.\n\n\n\n[1]: ./art/sample01.gif\n[2]: ./art/sample02.gif\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAlbertGrobas%2FMovingImageView","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FAlbertGrobas%2FMovingImageView","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAlbertGrobas%2FMovingImageView/lists"}