{"id":13645494,"url":"https://github.com/dynamitechetan/FogView_Library","last_synced_at":"2025-04-21T14:31:16.084Z","repository":{"id":86924909,"uuid":"62394415","full_name":"dynamitechetan/FogView_Library","owner":"dynamitechetan","description":"FogView is a android library that can show fog on any layout and the fog removes when user rubs it.","archived":false,"fork":false,"pushed_at":"2016-08-09T05:44:20.000Z","size":1820,"stargazers_count":630,"open_issues_count":1,"forks_count":83,"subscribers_count":14,"default_branch":"master","last_synced_at":"2024-10-30T21:02:05.758Z","etag":null,"topics":["android","android-library","custom-view","fog","rub","scratch"],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dynamitechetan.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-07-01T13:20:42.000Z","updated_at":"2024-08-27T14:43:35.000Z","dependencies_parsed_at":"2023-05-29T20:15:06.704Z","dependency_job_id":null,"html_url":"https://github.com/dynamitechetan/FogView_Library","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/dynamitechetan%2FFogView_Library","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dynamitechetan%2FFogView_Library/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dynamitechetan%2FFogView_Library/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dynamitechetan%2FFogView_Library/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dynamitechetan","download_url":"https://codeload.github.com/dynamitechetan/FogView_Library/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223868253,"owners_count":17217059,"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-library","custom-view","fog","rub","scratch"],"created_at":"2024-08-02T01:02:35.899Z","updated_at":"2025-04-21T14:31:16.050Z","avatar_url":"https://github.com/dynamitechetan.png","language":"Java","readme":"# Fog View Android Library\n[![Android Arsenal](https://img.shields.io/badge/Android%20Arsenal-Fog%20View%20Android%20Library-brightgreen.svg?style=flat)](http://android-arsenal.com/details/1/3833)\n[![License](https://img.shields.io/badge/License-Apache%202-blue.svg)](http://www.apache.org/licenses/LICENSE-2.0.html)\n[![API](https://img.shields.io/badge/API-8%2B-brightred.svg)](https://github.com/dynamitechetan/FogView_Library)\n#### Min SDK 8 (Android 2.2–2.2.3 Froyo)\n## Screnshots\n\n![Screenshot](screenshots/screen1.gif)    ![Screenshot](screenshots/screen2.gif)\n\n\n## How to use\n\nIf you want use this library, you can download project and import it into your workspace and add the project as a library in your android project settings.\n\nOr you can use the gradle dependency, you have to add these lines in your build.gradle file:\n# Method 1\n```xml\nrepositories {\n        jcenter()\n}\n\ndependencies {\n    compile 'com.dynamitechetan.fogviewlibrary:FogViewLibrary:1.0.0'\n    \n}\n```\nIf the above code didn't worked try using Method 2\n# Method 2\n```xml\nrepositories {\n\tmaven {\n            url 'https://dl.bintray.com/dynamitechetan/maven'\n        }\n}\n\ndependencies {\n    compile 'com.dynamitechetan.fogviewlibrary:FogViewLibrary:1.0.0@aar'\n    \n}\n```\n# or Using Maven:\n```xml\n\u003cdependency\u003e\n\u003cgroupId\u003ecom.dynamitechetan.fogviewlibrary\u003c/groupId\u003e\n\u003cartifactId\u003eFogViewLibrary\u003c/artifactId\u003e\n\u003cversion\u003e1.0.0\u003c/version\u003e\n\u003ctype\u003epom\u003c/type\u003e \n\u003c/dependency\u003e\n```\n\n\n## BASIC USAGE\n```xml\n \u003ccom.dynamitechetan.fogviewlibrary.FogView\n        android:id=\"@+id/RubFog\"\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"match_parent\"\n  /\u003e\n```\n\nThe FogView have some custom attributes, to use them , you must add this line in your xml file in the first component:\n\n```xml\n\u003cRelativeLayout xmlns:android=\"http://schemas.android.com/apk/res/android\"\n    xmlns:fog=\"http://schemas.android.com/apk/res-auto\"\n    android:layout_width=\"match_parent\"\n    android:layout_height=\"match_parent\"\n    \u003e\n\u003c/RelativeLayout\u003e\n```\n\n## USING A CUSTOM FOG IMAGE\n\n```xml\n \u003ccom.dynamitechetan.fogviewlibrary.FogView\n        android:id=\"@+id/RubFog\"\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"match_parent\"\n\t\tfog:fog_image=\"@drawable/my_fog_image\"\n  /\u003e\n```\n### Two fog images are provided with the library, to use them:\n```xml\n        fog:fog_image=\"@drawable/fog\"\n```\nor\nuse this for a denser fog image\n```xml\n        fog:fog_image=\"@drawable/fog_dense\"\n```\n\n## USING A CUSTOM STROKE WIDTH\nDefault Stroke Width is 75\n```xml\n        fog:stroke_width=\"100\"\n```\n\n\n## License\nCopyright (c) 2016 Chetan Kaushik\n\nLicensed under the [Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0.html)\n","funding_links":[],"categories":["其他"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdynamitechetan%2FFogView_Library","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdynamitechetan%2FFogView_Library","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdynamitechetan%2FFogView_Library/lists"}