All Projects → fevziomurtekin → Rainlayout

fevziomurtekin / Rainlayout

Licence: Apache-2.0 license
Constraintlayout based rain-animation view developed backed by Kotlin Coroutines.

Programming Languages

kotlin
9241 projects

Projects that are alternatives of or similar to Rainlayout

raster
A micro server framework, support coroutine, and parallel-computing, used for building flatbuffers/thrift/protobuf/http protocol service.
Stars: ✭ 19 (-40.62%)
Mutual labels:  coroutine
flexboxes
CSS flexbox framework with pure flexbox grid ability
Stars: ✭ 27 (-15.62%)
Mutual labels:  layout
react-super-styled
Responsive JSX layouts with Styled Components
Stars: ✭ 77 (+140.63%)
Mutual labels:  layout
PandaDemo
Demo project for asynchronous render and Layout framework Panda
Stars: ✭ 15 (-53.12%)
Mutual labels:  layout
rain-geojson-sg
Straight-forward API server to convert rain area radar images (Singapore) to GeoJSON
Stars: ✭ 15 (-53.12%)
Mutual labels:  rain
MotionLayoutSpeedDial
All MotionLayout of SpeedDial - FloatingActionButton
Stars: ✭ 22 (-31.25%)
Mutual labels:  constraint-layout
Typography
C# Font Reader (TrueType / OpenType / OpenFont / CFF / woff / woff2) , Glyphs Layout and Rendering
Stars: ✭ 246 (+668.75%)
Mutual labels:  layout
examples
speedata Publisher examples
Stars: ✭ 25 (-21.87%)
Mutual labels:  layout
HorizontalTimesLayout
Layout to display time slots in horizontal 24 hour format
Stars: ✭ 31 (-3.12%)
Mutual labels:  layout
dynamic-motion
Provide additional functionality to Android MotionLayout.
Stars: ✭ 34 (+6.25%)
Mutual labels:  layout
Android-Starter-Kit
This is up-to-date android studio project for native android application, that is using modern tools and libraries.
Stars: ✭ 16 (-50%)
Mutual labels:  constraint-layout
form-bunch
Form-bunch is a component like plugin that make it easier to write form, you could add the most of components what you want to form-bunch for build various form.
Stars: ✭ 18 (-43.75%)
Mutual labels:  layout
standard-components
A specification for functional UI components
Stars: ✭ 52 (+62.5%)
Mutual labels:  layout
mvp-sample
Demonstrates how to implement MVP (Model View Presenter) pattern using Kotlin, RXJava, Retrofit, Dagger and DataBinding
Stars: ✭ 35 (+9.38%)
Mutual labels:  constraint-layout
lipgloss
Style definitions for nice terminal layouts 👄
Stars: ✭ 5,453 (+16940.63%)
Mutual labels:  layout
Cassowary Rs
A Rust implementation of the Cassowary constraint solving algorithm
Stars: ✭ 247 (+671.88%)
Mutual labels:  layout
ModernSimpleProfileUI
Design a Modern Simple Profile UI with Constraint Layout in Android Studio 3.1 Canary 6
Stars: ✭ 24 (-25%)
Mutual labels:  constraint-layout
how-to-css
howtocss.dev
Stars: ✭ 48 (+50%)
Mutual labels:  layout
pulldownlayout
PullDownLayout is a small library that allows you to implement a view that can be dragged down your layout. PullDownLayout can also be used to implement Pull-To-Dismiss feature for your activities and fragments.
Stars: ✭ 16 (-50%)
Mutual labels:  layout
rainmood
一个简单项目,只有一个页面。循环播放十首电影原声精选,背景乐为下雨声。
Stars: ✭ 12 (-62.5%)
Mutual labels:  rain

Rainlayout

Constraintlayout based rain-animation view developed backed by Kotlin Coroutines.


Android Arsenal

Demo

Setup

Gradle

allprojects {
  repositories {
    ...
    maven { url 'https://jitpack.io' }
  }
}
  
  .....

dependencies {
      implementation 'com.github.fevziomurtekin:Rainlayout:1.1'
   }
}

Layout

  <com.fevziomurtekin.widget.RainlayoutView
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:id="@+id/rainview"
        xmlns:app="http://schemas.android.com/apk/res-auto"
        android:background="@android:color/holo_orange_light"
        xmlns:android="http://schemas.android.com/apk/res/android"
        app:isColorful="true"
        app:dropPerSecond="1"
        app:durationOfDropTime="500"
        app:dropSrc="@drawable/umbrella"
        app:dropTintColor="@color/colorPrimary">


</com.fevziomurtekin.widget.RainlayoutView>

Attributes

Attribute Description
isColorful This attribute makes the drop colorful. You can choose true or false (by default false)
dropPerSecond This attribute determines how many drops per second. You can value the data type Int. (by default 100)
durationOfDropTime This attribute determines the number of seconds the drop will drop to the floor. You can value the data type Int-milisecond.(by default 500)
dropSrc This attribute change the view of the drop.
dropTintColor The attribute change the color of the drop (by default @android:color/white)

Warning : To Stop the animation in Activity / Fragment changes!

    override fun onStop() {
        super.onStop()
        rainview.animationClear()
    }

License

The Apache License 2.0 - see LICENSE for more details

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].