# FogView_Library **Repository Path**: studvc/FogView_Library ## Basic Information - **Project Name**: FogView_Library - **Description**: FogView is a android library that can show fog on any layout and the fog removes when user rubs it. - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-01-05 - **Last Updated**: 2025-05-01 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Fog View Android Library [![Android Arsenal](https://img.shields.io/badge/Android%20Arsenal-Fog%20View%20Android%20Library-brightgreen.svg?style=flat)](http://android-arsenal.com/details/1/3833) [![License](https://img.shields.io/badge/License-Apache%202-blue.svg)](http://www.apache.org/licenses/LICENSE-2.0.html) [![API](https://img.shields.io/badge/API-8%2B-brightred.svg)](https://github.com/dynamitechetan/FogView_Library) #### Min SDK 8 (Android 2.2–2.2.3 Froyo) ## Screnshots ![Screenshot](screenshots/screen1.gif) ![Screenshot](screenshots/screen2.gif) ## How to use If 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. Or you can use the gradle dependency, you have to add these lines in your build.gradle file: # Method 1 ```xml repositories { jcenter() } dependencies { compile 'com.dynamitechetan.fogviewlibrary:FogViewLibrary:1.0.0' } ``` If the above code didn't worked try using Method 2 # Method 2 ```xml repositories { maven { url 'https://dl.bintray.com/dynamitechetan/maven' } } dependencies { compile 'com.dynamitechetan.fogviewlibrary:FogViewLibrary:1.0.0@aar' } ``` # or Using Maven: ```xml com.dynamitechetan.fogviewlibrary FogViewLibrary 1.0.0 pom ``` ## BASIC USAGE ```xml ``` The FogView have some custom attributes, to use them , you must add this line in your xml file in the first component: ```xml ``` ## USING A CUSTOM FOG IMAGE ```xml ``` ### Two fog images are provided with the library, to use them: ```xml fog:fog_image="@drawable/fog" ``` or use this for a denser fog image ```xml fog:fog_image="@drawable/fog_dense" ``` ## USING A CUSTOM STROKE WIDTH Default Stroke Width is 75 ```xml fog:stroke_width="100" ``` ## License Copyright (c) 2016 Chetan Kaushik Licensed under the [Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0.html)