All Projects → paolorotolo → ViewGardiumLeviosa

paolorotolo / ViewGardiumLeviosa

Licence: Apache-2.0 License
Makes a view fluctuate.

Programming Languages

kotlin
9241 projects

Projects that are alternatives of or similar to ViewGardiumLeviosa

KoHighlights
KOHighlights is a utility for viewing KOReader's highlights and/or export them to simple text, csv or html files.
Stars: ✭ 62 (+181.82%)
Mutual labels:  view
MultiStateToggleButton
Android's ToggleButton offers only two states, MultiStateToggleButton fixes this by offering as many states depending on the number of drawable resources passed in.
Stars: ✭ 20 (-9.09%)
Mutual labels:  view
FatSidebar
Custom vertical button toolbar for macOS
Stars: ✭ 68 (+209.09%)
Mutual labels:  view
SlideTable
可以滑动 以表格形式展示数据
Stars: ✭ 14 (-36.36%)
Mutual labels:  view
SlideNavigation
🐢 类似‘今日头条顶部导航栏跟手势滑动’效果
Stars: ✭ 18 (-18.18%)
Mutual labels:  view
dynamic-utils
Utility functions to perform dynamic operations on Android.
Stars: ✭ 86 (+290.91%)
Mutual labels:  view
FastBanner
🔥快速轮播图,支持自定义布局和使用自有图片显示组件
Stars: ✭ 27 (+22.73%)
Mutual labels:  view
MessageView
MessageView helps you to create chat message view or a social media message view quickly like a typical chatting application or social post view Its a container view, so you can add any type of message or social post such as TextView or any customize TextView, ImageView, etc.
Stars: ✭ 21 (-4.55%)
Mutual labels:  view
react-native-responsive-image-view
React Native component for scaling an Image within the parent View
Stars: ✭ 152 (+590.91%)
Mutual labels:  view
auto-fill-edit-text
This custom EditText can suggest and fill text defined before.
Stars: ✭ 26 (+18.18%)
Mutual labels:  view
Animations
Beautiful animations from AOSP
Stars: ✭ 35 (+59.09%)
Mutual labels:  view
RegulatorView
Intelligent furniture remote control
Stars: ✭ 20 (-9.09%)
Mutual labels:  view
GraphView
Android GraphView is used to display data in graph structures.
Stars: ✭ 952 (+4227.27%)
Mutual labels:  view
contributer
Inject all types like views or a conductor controllers with @ContributesAndroidInjector
Stars: ✭ 39 (+77.27%)
Mutual labels:  view
FigmaConvertXib
FigmaConvertXib is a tool for exporting design elements from figma.com and generating files to a projects iOS .xib / Android .xml
Stars: ✭ 111 (+404.55%)
Mutual labels:  view
RoundProgressBar
一个自定义的圆形可颜色渐变的ProgressBar
Stars: ✭ 32 (+45.45%)
Mutual labels:  view
LetterView
一个可以选择字母完成单词的小控件
Stars: ✭ 40 (+81.82%)
Mutual labels:  view
Wifi-Cracker
Wifi Cracking
Stars: ✭ 128 (+481.82%)
Mutual labels:  andorid
sho
Experimental post-framework view library
Stars: ✭ 47 (+113.64%)
Mutual labels:  view
SBCardPopup
Card Popup UI for iOS
Stars: ✭ 66 (+200%)
Mutual labels:  view

ViewGardiumLeviosa

Makes a view fluctuate.

Import

  1. Add the JitPack repository to your build file

Add it in your root build.gradle at the end of repositories:

	allprojects {
		repositories {
			...
			maven { url 'https://jitpack.io' }
		}
	}
  1. Add the dependency
	dependencies {
	        implementation 'com.github.paolorotolo:viewgardiumleviosa:1.0.0'
	}

Usage

ViewGardiumLeviosa adds an extension method to your Views.

You can make the view fluctuate with:

view.startFluctuate()

If you want to customize the animation, you can specify the max delta and the duration of one animcaiton cycle:

val fluctuateDelta = -50
val fluctuateDuration = 500

view.startFluctuate(fluctuateDelta, fluctuateDuration)

Finally, to stop the animation, call:

view.stopFluctuate()
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].