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
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"/>
- Float Hint Text
- Float Hint Text Color
- Float Hint Text Style
- Float Hint Text Gravity
- Float Hint Text Size
- Float Hint Text Custom Typeface
- Float Hint Text Background
- Actual Text
- Actual Text Color
- Actual Text Style
- Actual Text Gravity
- Actual Text Size
- Actual Text Custom Typeface
- Actual Text Background
- Actual Text As Password
- Specifies the text for float hint label
floatview:floatHintText="@string/app_name"
- Specifies text color for float hint label both for focused mode and unfocused mode
floatview:floatHintTextColorFocused="@color/blue"
floatview:floatHintTextColorUnFocused="@color/green"
- Specifies the text style, bold,normal,italic
floatview:floatHintTextStyle="bold"
- Specifies gravity of text left,right,top,bottom
floatview:floatHintTextGravity="right"
- Specifies text size
floatview:floatHintTextSize="20"
- Specifies custom font. (It has to be in to the assets folder e.g. /assets/some_font.ttf)
floatview:floatHintTextTypeface="Ithornet.ttf"
- Specifies custom background. You can specify both color and drawable.
floatview:floatHintTextBackground="@drawable/label_bg"
- Specifies the text for editable text box
floatview:text="Label 1"
- Specifies text color for editable text box
floatview:textColor="@color/red"
- Specifies the text style, bold,normal,italic
floatview:textStyle="bold"
- Specifies gravity of text left,right,top,bottom
floatview:textGravity="right"
- Specifies text size
floatview:textSize="20"
- Specifies custom font. (It has to be in to the assets folder e.g. /assets/some_font.ttf)
floatview:textTypeface="Ithornet.ttf"
floatview:textBackground="@drawable/edt_bg"
floatview:isPassword="true"