AnimatedExpandableEditText

Additional

Language
Java
Version
N/A
Created
Oct 9, 2017
Updated
Oct 18, 2017
Owner
OpenCraft
Contributors
searchy2
gcherubini
2
Activity
Badge
Generate
Download
Source code
APK file

Blurb

AnimatedExpandableEditText

A simple cool animated edit text with a expandable animation for Android

Installation:

  1. Add it in your root build.gradle at the end of repositories:
allprojects {
  repositories {
    ...
    maven { url 'https://jitpack.io' }
  }
}
  1. Add the dependency
dependencies {
  compile 'com.github.OpenCraft:AnimatedExpandableEditText:-SNAPSHOT'
}

Usage:

Start using the expandable edit text adding the component below inside your layout file:

<com.gcherubini.animatedexpandableedittext.AnimatedExpandableEditText
  android:layout_width="match_parent"
  android:layout_height="wrap_content" />

Customizing:

Create your own res/values/dimens.xml and res/values/integers.xml files in order to override default behavioural configurations:

<dimen name="animated_expandable_edit_text_expanded_height">35dp</dimen>
<integer name="animated_expanded_edit_text_animation_duration_milliseconds">400</integer>