All Projects → agilie → RotatableAutofitEditText

agilie / RotatableAutofitEditText

Licence: MIT License
Extended EditText which allows to move, rotate and resize text at the same time

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to RotatableAutofitEditText

CustomEditText
Simple Custom EditText for Android like Instagram
Stars: ✭ 23 (-54.9%)
Mutual labels:  edittext, customview
Codeeditor
Code Editor Native Way
Stars: ✭ 155 (+203.92%)
Mutual labels:  edittext, customview
SuperShapeView
A smart custom view support shapes for ImageView, TextView ,EditView ,instead of shape.xml.(自定义形状控件,支持TextView,EditText)
Stars: ✭ 60 (+17.65%)
Mutual labels:  edittext, customview
EasyMoney-Widgets
The widgets (EditText and TextView) for support of money requirements like currency, number formatting, comma formatting etc.
Stars: ✭ 91 (+78.43%)
Mutual labels:  edittext
PaperView
PaperView 是一个自定义的View,它就像一张纸折叠和展开
Stars: ✭ 26 (-49.02%)
Mutual labels:  customview
AndroidJoyStickView
This library lets you create joystick with some customization for android
Stars: ✭ 45 (-11.76%)
Mutual labels:  customview
CustomFontView
Custom View classes for TextView, EditText & Buttons - to set custom fonts
Stars: ✭ 26 (-49.02%)
Mutual labels:  edittext
KodeEditor
A simple code editor with syntax highlighting and pinch to zoom
Stars: ✭ 60 (+17.65%)
Mutual labels:  edittext
textmatcher
A simple text watcher that matches specific targets like mention or hashtag in a string by defining rules
Stars: ✭ 67 (+31.37%)
Mutual labels:  edittext
VerifyBlocksView
Android view for providing blocks (Edit Texts) to achieve verification process.
Stars: ✭ 28 (-45.1%)
Mutual labels:  edittext
fastedit
安卓端高性能输入框。
Stars: ✭ 38 (-25.49%)
Mutual labels:  edittext
AutoFormatInputWatcher
This repository contains input watcher for auto formatting digits in edit text
Stars: ✭ 15 (-70.59%)
Mutual labels:  edittext
TagEditText
A simple Android Tag EditText
Stars: ✭ 14 (-72.55%)
Mutual labels:  edittext
FanLayout
可定制性超强的圆弧滑动组件
Stars: ✭ 28 (-45.1%)
Mutual labels:  rotate
pylovepdf
ilovepdf.com python API library
Stars: ✭ 52 (+1.96%)
Mutual labels:  rotate
ShaderView
ShaderView is an Android View that makes it easy to use GLSL shaders for your app. It's the modern way to use shaders for Android instead of RenderScript.
Stars: ✭ 53 (+3.92%)
Mutual labels:  customview
glsl-rotate
GLSL rotation functions with matrices: 2D and 3D (with X/Y/Z convenience functions).
Stars: ✭ 54 (+5.88%)
Mutual labels:  rotate
android-prefix-suffix-edit-text
EditText with support for non editable prefix and suffix.
Stars: ✭ 36 (-29.41%)
Mutual labels:  edittext
BlockEditText
Block EditText is a library provide an input view present in multiple block style that common use in TAC or credit card field.
Stars: ✭ 113 (+121.57%)
Mutual labels:  edittext
SIRIWaveView
Siri like wave view for android
Stars: ✭ 65 (+27.45%)
Mutual labels:  customview

RotatableAutofitEditText

Download

Screenshot1

What is RotatableAutofitEditText?

RotatableAutofitEditText is a lightweight open-source library that allows user to move, rotate, and resize text field at the same time. If you need such functionality in your project, we're happy to save some time for you so you can drink more beer with your friends :)

Usage

Gradle

Add dependency in your build.gradle file:

compile 'com.agilie:rotatable-autofit-edittext:1.2'

Maven

Add rependency in your .pom file:

<dependency>
  <groupId>com.agilie</groupId>
  <artifactId>rotatable-autofit-edittext</artifactId>
  <version>1.2</version>
  <type>pom</type>
</dependency>

How to use

Simply use RotatableAutofitEditText instead of familiar to all Android devs EditText component programmatically or in your xml files:

<com.agilie.RotatableAutofitEditText 
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:autofit="http://schemas.android.com/apk/res-auto"
    android:id="@+id/autoResizeEditText"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:background="@drawable/rounded_corners_white_transparent_50"
    android:gravity="center"
    android:hint="@string/hint_add_some_text"
    android:padding="16dp"
    android:textColor="@android:color/white"
    android:textColorHint="@android:color/darker_gray"
    autofit:clipBounds="true"
    autofit:maxTextSize="@dimen/autoresize_max_text_size"
    autofit:minTextSize="@dimen/autoresize_min_text_size"
    autofit:minWidth="@dimen/autoresize_min_width"
    autofit:movable="true"
    autofit:resizable="true"
    autofit:rotatable="true" />

Here's a list of available properties, feel free to customize them according to your wishes and requirements:

    maxTextSize     // sets maximum text size
    minTextSize     // sets minimum text size 
    minWidth        // sets minimum EditText width
    movable         // true if EditText must move in parent view
    resizable       // true if EditText can be resized with pinch
    rotatable       // true if EditText can be rotated
    clipBounds      // true if EditText must not move out of parent view bounds

Library also supports usage of different Typefaces as well.

Also you can clone this project and compile sample module to test our library in action.

Requirements

Android 3.0+ (API level 11+)

Troubleshooting

Problems? Check the Issues block to find the solution or create an new issue that we will fix asap.

Author

This library is open-sourced by Agilie Team [email protected]

Contributors

Contact us

If you have any questions, suggestions or just need a help with web or mobile development, please email us at
[email protected]
You can ask us anything from basic to complex questions.
We will continue publishing new open-source projects. Stay with us, more updates will follow!

License

The MIT License (MIT) Copyright © 2017 Agilie Team

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].