{"id":13645607,"url":"https://github.com/AhmadNemati/WindView","last_synced_at":"2025-04-21T14:32:00.920Z","repository":{"id":201615561,"uuid":"76894056","full_name":"AhmadNemati/WindView","owner":"AhmadNemati","description":"WindView is an Android Library to show Weather's Wind \u0026 pressure Status","archived":false,"fork":false,"pushed_at":"2018-08-11T05:44:38.000Z","size":14248,"stargazers_count":206,"open_issues_count":3,"forks_count":42,"subscribers_count":13,"default_branch":"master","last_synced_at":"2025-04-10T09:20:40.820Z","etag":null,"topics":["android","android-library","material-design","pressure","pressure-status","weather-wind","wind"],"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/AhmadNemati.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,"governance":null}},"created_at":"2016-12-19T20:16:14.000Z","updated_at":"2024-11-05T05:56:24.000Z","dependencies_parsed_at":null,"dependency_job_id":"8bc6c309-89b6-40b2-9abb-386a68c2da65","html_url":"https://github.com/AhmadNemati/WindView","commit_stats":null,"previous_names":["ahmadnemati/windview"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AhmadNemati%2FWindView","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AhmadNemati%2FWindView/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AhmadNemati%2FWindView/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AhmadNemati%2FWindView/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AhmadNemati","download_url":"https://codeload.github.com/AhmadNemati/WindView/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250070241,"owners_count":21369842,"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","material-design","pressure","pressure-status","weather-wind","wind"],"created_at":"2024-08-02T01:02:38.323Z","updated_at":"2025-04-21T14:31:59.913Z","avatar_url":"https://github.com/AhmadNemati.png","language":"Java","funding_links":[],"categories":["其他"],"sub_categories":[],"readme":"[![License Apache 2.0](https://img.shields.io/badge/License-Apache%202.0-blue.svg?style=true)](http://www.apache.org/licenses/LICENSE-2.0)\n![minSdkVersion 14](https://img.shields.io/badge/minSdkVersion-14-red.svg?style=true)\n![compileSdkVersion 25](https://img.shields.io/badge/compileSdkVersion-25-yellow.svg?style=true)\n[![Release](https://img.shields.io/github/release/jitpack/android-example.svg?label=Jitpack)](https://jitpack.io/#jitpack/android-example)\n[![Android Arsenal](https://img.shields.io/badge/Android%20Arsenal-WindView-brightgreen.svg?style=flat)](https://android-arsenal.com)\n# WindView\nWindView is an Android Library to show Weather's Wind \u0026 pressure Status\n\n# Screenshot\n![alt tag](https://raw.githubusercontent.com/AhmadNemati/WindView/master/art/screen.gif)\n\n# Demo\n\n - [**demo.apk**](https://raw.githubusercontent.com/AhmadNemati/WindView/master/app/demo.apk)\n\n\n\n# Setup\n# Step 1: Add it as a Dependency in Your Root's `build.gradle` File\n\n\n\n```gradle\nallprojects {\n\trepositories {\n\t\tmaven { url \"https://jitpack.io\" }\n\t}\n}\n```\n  -  add this to your app `build.gradle`:\n\n```gradle\ndependencies {\n\tcompile 'com.github.AhmadNemati:WindView:1.1.1'\n}\n```\n\n# Step 2: Add it to your Layout\n```xml\n  \u003ccom.github.ahmadnemati.wind.WindView\n            android:id=\"@+id/windview\"\n            android:layout_width=\"match_parent\"\n            android:layout_height=\"106dp\"\n            app:barometerTickSpacing=\"9dp\"\n            app:bigPoleX=\"38dp\"\n            app:labelFontSize=\"12sp\"\n            app:numericFontSize=\"25sp\"\n            app:poleBottomY=\"98dp\"\n            app:pressureLineY=\"73dp\"\n            app:pressureTextX=\"12dp\"\n            app:pressureTextY=\"4dp\"\n            app:smallPoleX=\"75dp\"\n            app:windTextX=\"10dp\"\n            app:windTextY=\"29dp\" /\u003e\n```\n\n# Step 3: Initialize WindView and Start it\n```java\n            WindView windView= (WindView) findViewById(R.id.windview);\n            windView.setPressure(20);\n            windView.setPressureUnit(\"in Hg\");\n            windView.setWindSpeed(1);\n            windView.setWindSpeedUnit(\" km/h\");\n            windView.setTrendType(TrendType.UP);\n            windView.start();\n```\n\n# Note\nGraphical implementations are based on Yahoo Weather Service\n# Developed By\n\n* Ahmad Nemati\n * [ahmadnemati.com](http://ahmadnemati.com) - \u003cnematiprog@gmail.com\u003e\n\n\n# License\n\n    Copyright 2016 Ahmad Nemati\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","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAhmadNemati%2FWindView","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FAhmadNemati%2FWindView","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAhmadNemati%2FWindView/lists"}