Home

Awesome

FloatingLabel

FloatingLabel Allows you to create a blow kind of EditText.

To explain the concept well I have taken below image from http://dribbble.com/shots/1254439--GIF-Float-Label-Form-Interaction

Animation Example

Floating Lable project is in initial mode, where a few customization is provided like changing Text color of EditText and Its Lable

<com.hardik.floatinglabel.FloatingLabelView
        android:id="@+id/label1"
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        floatview:floatHintText="Whatever hint you want to display"
        floatview:textColor="@color/blue"
        floatview:textTypeface="some_custome_font.ttf"/>

Features

Float Hint Text

	floatview:floatHintText="@string/app_name"

Float Hint Text Color

	floatview:floatHintTextColorFocused="@color/blue"
        floatview:floatHintTextColorUnFocused="@color/green"

Float Hint Text Style

	floatview:floatHintTextStyle="bold"

Float Hint Text Gravity

	floatview:floatHintTextGravity="right"

Float Hint Text Size

	floatview:floatHintTextSize="20"

Float Hint Text Custom Typeface

	floatview:floatHintTextTypeface="Ithornet.ttf"

Float Hint Text Background

	floatview:floatHintTextBackground="@drawable/label_bg"

Actual Text

	floatview:text="Label 1"

Actual Text Color

	floatview:textColor="@color/red"

Actual Text Style

	floatview:textStyle="bold"

Actual Text Gravity

	floatview:textGravity="right"

Actual Text Size

	floatview:textSize="20"

Actual Text Custom Typeface

	floatview:textTypeface="Ithornet.ttf"

Actual Text Background

	floatview:textBackground="@drawable/edt_bg"

Actual Text As Password

	floatview:isPassword="true"