All Projects → Bakumon → Eclipseloading

Bakumon / Eclipseloading

Licence: mit
🌞 日食加载动画

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Eclipseloading

Fiftyshadesof
An elegant context-care loading placeholder for Android
Stars: ✭ 1,110 (+873.68%)
Mutual labels:  view, loader, loading
Mkloader
Beautiful and smooth custom loading views
Stars: ✭ 1,377 (+1107.89%)
Mutual labels:  view, loader, loading
Materialimageloading
Material image loading implementation
Stars: ✭ 396 (+247.37%)
Mutual labels:  view, loading
Zloading
[Android] 这是一个自定义Loading View库。暂停更新
Stars: ✭ 552 (+384.21%)
Mutual labels:  view, loading
Statefullayout
Android layout to show template for loading, empty, error etc. states
Stars: ✭ 813 (+613.16%)
Mutual labels:  loader, loading
Waitme
jquery plugin for easy creating loading css3/images animations
Stars: ✭ 302 (+164.91%)
Mutual labels:  loader, loading
Ssspinnerbutton
Forget about typical stereotypic loading, It's time to change. SSSpinnerButton is an elegant button with a diffrent spinner animations.
Stars: ✭ 357 (+213.16%)
Mutual labels:  loader, loading
Vue Loading Overlay
Vue.js component for full screen loading indicator 🌀
Stars: ✭ 784 (+587.72%)
Mutual labels:  loader, loading
Ngx Skeleton Loader
Make beautiful, animated loading skeletons that automatically adapt to your Angular apps
Stars: ✭ 278 (+143.86%)
Mutual labels:  loader, loading
Loading
loading...正在加载中的动画效果
Stars: ✭ 36 (-68.42%)
Mutual labels:  loader, loading
Awloader
AWLoader is a UI Component that allows you to integrate loader that fits your needs within your app.
Stars: ✭ 11 (-90.35%)
Mutual labels:  loader, loading
Css Spinner
small, elegant pure css spinner for ajax or loading animation
Stars: ✭ 1,013 (+788.6%)
Mutual labels:  loader, loading
Loading Bar
Flexible, light weighted and super fast Progress Bar Library
Stars: ✭ 300 (+163.16%)
Mutual labels:  loader, loading
Ngx Ui Loader
Multiple Loaders / spinners and Progress bar for Angular 5, 6, 7 and 8+
Stars: ✭ 368 (+222.81%)
Mutual labels:  loader, loading
Rsup Progress
❤️ A simple progress bar with promises support
Stars: ✭ 290 (+154.39%)
Mutual labels:  loader, loading
Whirl
CSS loading animations with minimal effort!
Stars: ✭ 774 (+578.95%)
Mutual labels:  loader, loading
redux-global-loader
A Redux middleware for global loader
Stars: ✭ 13 (-88.6%)
Mutual labels:  loader, loading
ngx-smart-loader
Smart loader handler to manage loaders everywhere in Angular apps.
Stars: ✭ 28 (-75.44%)
Mutual labels:  loader, loading
Create Content Loader
✏️ Tool to create your own react-content-loader easily.
Stars: ✭ 937 (+721.93%)
Mutual labels:  loader, loading
Dotsloaderview
Simple dots loader view
Stars: ✭ 63 (-44.74%)
Mutual labels:  view, loader

EclipseLoading

🌞 日食加载动画

设计来自1982200-Solar-Eclipse

预览

eclipseloading.gif

思路

日食思路1: 先画好太阳,并在太阳右边紧贴着画一个和太阳一样大的白色圆,然后使用属性动画把白色圆往左移动,逐渐覆盖在太阳上,就形成了日食动画。

但是这个思路两个弊端:第一,白色圆的颜色必须和背景色一样。第二,白色圆和背景重复绘制了相同的区域。

日食思路2: 先画好太阳,用一个和太阳一样大圆形的 path 对太阳进行裁剪(裁剪掉 path 内的部分),然后通过属性动画向左移动 path 达到日食的效果。并且同时避免了上面两个问题。

使用

<me.bakumon.library.EclipseLoadingView
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"/>

设置太阳颜色

  1. 自定义属性
app:sunColor="@color/colorAccent"
  1. java 代码
eclipseLoadingView.setSunColor(sunColor);
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].