BetterTextInputLayout
MarcinOrlowski
22
Visit GitHub RepoWidgets

BetterTextInputLayout

BetterTextInputLayout is Android support library's TextInputLayout subclass providing following extensions:

  • adds methods to manipulate password visibility from code
  • comes with passwordToggleEnabled enabled by default

Methods

  • showPassword()
  • hidePassword()
  • togglePassword()

See demo app for usage example.

Installation

Edit your master gradle.build file and add maven { url 'https://jitpack.io' } to your current repositories block content (if you use other jitpack hosted libraries, then this step can be skipped):

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

Next, edit your module's build.gradle and the following dependency:

compile 'com.github.MarcinOrlowski:bettertextinputlayout:<VERSION>'

For recent value of <VERSION> consult library releases or jitpack badge: Release

Author

  • Marcin Orlowski <mail(#)marcinorlowski.com>
Become a better Android Developer
Millions of developers are learning at MindOrks

Online Training Program

Featured Blogs

Our Team

MindOrks is Certainly one of the best online blog to stay on top of all the Android development news, coding and design patterns. Finally a blog I can count on to keep myself updated with latest and greatest things happening in Android world.

Vipul Shah
Android Developer
Microsoft

Become Pro in Android by watching videos

OUR LEARNERS WORK AT