• Stars
    star
    459
  • Rank 95,377 (Top 2 %)
  • Language
    Java
  • Created over 8 years ago
  • Updated about 8 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A beautiful weather app: DynamicBackground (clear, rainy, foggy, etc), AqiView, DailyForecastView, HourlyForecastView and more. 一款精致的天气APP,动态天气背景(10*2种天气效果,每种区分白天和夜间)、一周天气曲线图、24H曲线图、空气质量/风速/日出日落图等。

Weather (Android app)

A beautiful weather app: DynamicBackground (clear, rainy, foggy, etc), AqiView, DailyForecastView, HourlyForecastView and more.

一款精致的天气APP,动态天气背景(10*2种天气效果,每种区分白天和夜间)、一周天气曲线图、24H曲线图、空气质量/风速/日出日落图等。

Screenshot

Weather

GIF (size:28M)

Weather.gif

Sample APK

Weather.apk

Features 特性

  • Dynamic Weather Background | 动态天气背景:多达10*2种天气效果(区分白天和夜间),60FPS的SurfaceView,切换时平滑渐变
  • Custom Weather Views | 天气相关自定义View:一周天气曲线图、24H曲线图、空气质量/风速/日出日落图等
  • Custom ViewPager/PagerTitleStrip/EdgeEffect | 自定义的ViewPager/PagerTitleStrip/EdgeEffect:改写support中ViewPager,配套阻尼弹性越界效果(EdgeEffect)和标题指示器(PagerTitleStrip)
  • Sunny PullRefreshLayout | 为刷新天气而生的下拉刷新:based on baoyongzhang/android-PullRefreshLayout(基于support的SwipeRefreshLayout封装了下拉状态),自己写了个SunDrawable即下拉状态指示器
  • LabelSpinner | 多选项的设置菜单:说实话PopupMenu太不好用了

本项目开源的说明

  • 这个本是个差不多已完成的项目,写于2015年11月份,因为api接口和其他一些原因没有发布
  • 已删除了个人申请的天气api/定位geo转换的key以及一些和天气效果无关的代码,如什么通知栏、桌面小工具、位置管理之类的
  • 放到Github上,供大家,呃,不能说是学习吧,在自定义View方面还是值得一看的
  • 天气数据由和风天气提供,Github上的这个内置了3个样例数据,用来模拟效果
  • 项目的icon是flyme天气的,天气状态图标也是flyme天气的(有改动),font数字和英文字体取自MIUI(有改动),动态天气背景颜色从iOS天气取色
  • 最后,能看懂这行字的都知道下面的License只是个很礼貌的摆设

Developed By

License

Copyright 2016 Mixiaoxiao

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

More Repositories

1

Arduino-HomeKit-ESP8266

Native Apple HomeKit accessory implementation for the ESP8266 Arduino core.
C
1,515
star
2

ESP8266-IR-HOMEKIT

原生HomeKit红外空调遥控
355
star
3

Arduino-HomeKit-ESP32

[Deprecated] Native Apple HomeKit accessory implementation for the ESP32 Arduino core.
C
226
star
4

SmoothCompoundButton

Android CompoundButtons (Switch, CheckBox, RadioButton) in Material Design, works on Android 4.0+(SDK 14). SmoothCompoundButton 是全套Material风格的Switch、CheckBox和RadioButton组件,纯Java代码(非贴图)像素级复刻了Material动画与阴影效果,支持Android 4.0+。基本实现了在不同Android版本上与Material风格一致的效果,体验优于官方AppCompat,可能是目前最好的Material风格CompoundButton组件之一。
Java
144
star
5

OverScroll-Everywhere

Add the over-scroll feature to any scrollable view: RecyclerView, ScrollView, WebView, ListView, GridView, etc. Support both fling and drag over-scroll,and easy to customize the over-scroll style. 为任意可滑动的View定制越界效果(over-scroll),同时支持滑动惯性越界与拖动越界,方便地定制与扩展不同的越界风格。实现iOS弹性越界效果、微信“网页由xxx.com提供”的WebView效果、MIUI8的越界拉伸放大效果。
Java
112
star
6

FastScroll-Everywhere

Add the fast-scroll feature to any scrollable view: RecyclerView, ScrollView, WebView, ListView, GridView, etc. 为任意可滑动的View添加快速滑动,是的,任意。
Java
85
star
7

9GAG

9GAG-Android (unofficial), Android Design.
Java
71
star
8

Arduino-HomeKit-ESP

Arduino library version of espressif's official esp-homekit-sdk.
C
56
star
9

SplitLayout

Android SplitLayout, which splits the available space between two child views by dragging the center handle. 安卓分栏布局,包含2个子View,支持横向或纵向分栏,可通过拖动中间的handle来动态分割两个子View所占空间。
Java
36
star
10

NotificationTextColorCompat

Fetch the default system notification text color (ContentTitleColor and ContentTextColor) for your custom RemoteViews. 获取系统默认的通知文字颜色(标题和内容文字颜色),适配自定义通知的RemoteViews中的文字。已测试兼容各种国产ROM。
Java
21
star
11

StatusBarColorCompat

Change the StatusBarColor dynamically, works on Android 4.4+. 简单优雅地动态改变状态栏颜色,支持安卓4.4+。
Java
18
star
12

ESP32-HOMEKIT-GATEWAY

ESP32-HOMEKIT-GATEWAY
9
star
13

mixiaoxiao.github.io

CSS
4
star
14

DataStateContainer

DataStateContainer是一个专为处理数据刷新/加载逻辑业务(如微博信息流)而生的ViewGroup。
Java
3
star
15

ActionMenu

A lite library to show an action-menubar like the menus(copy, select all, paste) for UILabel in iOS.
Java
3
star
16

PathScroller

A Scroller that can compute the "value - time" by a Path. 一个依据Path来映射“数值-时间”关系的Scroller,可轻松实现速率变化复杂的Scroll效果。
Java
2
star
17

ZoneAssistiveTouch_TranslationProject

ZoneAssistiveTouch TranslationProject
2
star