All Projects → hanks-zyh → Lineheightedittext

hanks-zyh / Lineheightedittext

Licence: apache-2.0
Fix edittext lineHeight and cursor length when set lineSpacingExtra or lineSpacingMultiplier

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Lineheightedittext

Rxmarkdown
📠Markdown for Android, supports TextView && EditText (Live Preview), supports code high light.
Stars: ✭ 714 (+273.82%)
Mutual labels:  edittext
Validator
A tool to validate text inside TextInputLayout
Stars: ✭ 117 (-38.74%)
Mutual labels:  edittext
Codeeditor
Code Editor Native Way
Stars: ✭ 155 (-18.85%)
Mutual labels:  edittext
Textinputview
Permanent hint for EditText
Stars: ✭ 26 (-86.39%)
Mutual labels:  edittext
Verifyedittext
带下划线的验证码输入框
Stars: ✭ 103 (-46.07%)
Mutual labels:  edittext
Bsearchedit
EditText搜索结果下拉框、自动or回调模式、可diy、使用超简便 (EditText search results drop-down box, auto or callback mode, diy, easy to use)
Stars: ✭ 122 (-36.13%)
Mutual labels:  edittext
Maskara
A simple way to format text fields without getting affected by input filters
Stars: ✭ 515 (+169.63%)
Mutual labels:  edittext
Validator
A tiny library for easily validating TextInputLayouts in Android
Stars: ✭ 169 (-11.52%)
Mutual labels:  edittext
Android Complexify
An Android library which makes checking the quality of user's password a breeze.
Stars: ✭ 111 (-41.88%)
Mutual labels:  edittext
Toggleedittextview
Easily switch between EditText and TextView seamlessly.
Stars: ✭ 146 (-23.56%)
Mutual labels:  edittext
Splitedittext
🔢 SplitEditText 是一个灵活的分割编辑框。常常应用于验证码输入 、密码输入等场景。
Stars: ✭ 33 (-82.72%)
Mutual labels:  edittext
Currencyedittext
💰 A library to dynamically format your EditTexts to take currency inputs
Stars: ✭ 74 (-61.26%)
Mutual labels:  edittext
Xrichtext
一个Android富文本类库,支持图文混排,支持编辑和预览,支持插入和删除图片。
Stars: ✭ 1,639 (+758.12%)
Mutual labels:  edittext
Textfieldboxes
Material Design text field that comes in a box, based on (OLD) Google Material Design guidelines.
Stars: ✭ 760 (+297.91%)
Mutual labels:  edittext
Pinedittextfield
Android library for pin edit text
Stars: ✭ 164 (-14.14%)
Mutual labels:  edittext
Gsyricktext
类似微博的emoji表情、@人、话题等的EdiText,优化了编辑框中的光标点击和删除处理。TextView支持emoji表情、话题、链接、电话和@某人特殊显示的文本。
Stars: ✭ 651 (+240.84%)
Mutual labels:  edittext
Sscustomedittextoutlineborder
Same as an Outlined text fields presented in Material Design page but with some dynamic changes
Stars: ✭ 119 (-37.7%)
Mutual labels:  edittext
Richtexteditor
Rich text editor lib for android. (Img support) - 富文本编辑器(支持图片)
Stars: ✭ 172 (-9.95%)
Mutual labels:  edittext
Fastandrutils
android快速开发工具类
Stars: ✭ 165 (-13.61%)
Mutual labels:  edittext
Sharpview
安卓带有尖角气泡的控件(TextView,ImageView,EditText,Layout),支持渐变色,圆角等自定义属性
Stars: ✭ 137 (-28.27%)
Mutual labels:  edittext

LineHeightEditText

Fix edittext lineHeight and cursor effect when set lineSpacingExtra or lineSpacingMultiplier

EditText vs LineHeightEditText

EditText vs LineHeightEditText

Usage

compile 'com.hanks:lineheightedittext-library:1.0'
<com.hanks.lineheightedittext.LineHeightEditText
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:lineSpacingExtra="16dp"
    android:text="Hello World!\nHello World!\nHello World!"
    android:textSize="18sp"
    app:cursorColor="#ff0000"
    app:cursorHeight="21dp"
    app:cursorWidth="2dp"/>

License

Copyright 2017 hanks

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
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].