RippleEditText

Additional

Language
Kotlin
Version
v2.0.0 (May 27, 2021)
Created
Oct 13, 2020
Updated
Aug 17, 2021
Owner
Minseo Park (Kiaorra)
Contributor
Minseo Park (Kiaorra)
1
Activity
Badge
Generate
Download
Source code

Blurb

RippleEditText

🔧Getting started

Step 1. Add the JitPack repository to your build file

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

Step 2. Add the dependency

dependencies {
        implementation 'com.github.Kiaorra:RippleEditText:2.0.0'
}

🤔How do I use RippleEditText?

<com.kiaorra.RippleEditText
    android:id="@+id/rippleEditText"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    app:layout_constraintBottom_toBottomOf="parent"
    app:layout_constraintTop_toTopOf="parent" />

Additional attributes

  • app:accentLineColor : Color of underline when editText is focused.
  • app:defaultLineColor : Color of underline when editText is not focused.
  • app:duration : Amount of time (in milliseconds) to display this frame.
  • app:interpolator : Sets the acceleration curve for the indeterminate animation. Defaults to a linear interpolation.
  • app:underlineWidth : Stroke width of the underline.

📃License

Copyright 2021 Kiaorra.

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.