<commit_before>Android Floating Label Widgets
==============================

A set of input widgets with a hint label that floats when input is not empty.

## Demo

A demo of the widget is worth a thousand words. You can download it for free on Google Play.

<a href="https://play.google.com/store/apps/details?id=com.marvinlabs.widget.floatinglabel.demo">
  <img alt="Demo on Google Play"
         src="http://developer.android.com/images/brand/en_generic_rgb_wo_60.png" />
</a>

We also have a small video showing it (just click the image below)

[![demo video](http://img.youtube.com/vi/hpZD9gJcRg0/0.jpg)](http://youtu.be/hpZD9gJcRg0)

## Usage

### Including the library

The easiest way to get the library included in your project is by using Gradle. Simply add the 
following line to your dependencies block:

```groovy
dependencies {
    compile 'com.marvinlabs:android-floatinglabel-widgets:1.1.0@aar'
}
```
    
Of course, you can replace the version number by whichever version you need (you can have a look at 
this repository's tags to know which is the latest).

### Getting a floating label widget in your fragment/activity

#### EditText

To include a floating label EditText in your layout, simply use the following XML code snippet:<commit_msg>Correct readme version number for Gradle<commit_after>Android Floating Label Widgets
==============================

A set of input widgets with a hint label that floats when input is not empty.

## Demo

A demo of the widget is worth a thousand words. You can download it for free on Google Play.

<a href="https://play.google.com/store/apps/details?id=com.marvinlabs.widget.floatinglabel.demo">
  <img alt="Demo on Google Play"
         src="http://developer.android.com/images/brand/en_generic_rgb_wo_60.png" />
</a>

We also have a small video showing it (just click the image below)

[![demo video](http://img.youtube.com/vi/hpZD9gJcRg0/0.jpg)](http://youtu.be/hpZD9gJcRg0)

## Usage

### Including the library

The easiest way to get the library included in your project is by using Gradle. Simply add the 
following line to your dependencies block:

```groovy
dependencies {
    compile 'com.marvinlabs:android-floatinglabel-widgets:1.2.0@aar'
}
```
    
Of course, you can replace the version number by whichever version you need (you can have a look at 
this repository's tags to know which is the latest).

### Getting a floating label widget in your fragment/activity

#### EditText

To include a floating label EditText in your layout, simply use the following XML code snippet:
{'fraction_non_alphanumeric': 0.11202506854680767, 'fraction_numerical': 0.007833920877399139, 'mean_word_length': 4.320833333333334, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2784157', 'n_tokens_mistral': 789, 'n_tokens_neox': 751, 'n_words': 302}