All Projects → chuross → extra-textview

chuross / extra-textview

Licence: Apache-2.0 license
additional features for TextView

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to extra-textview

ToolTipPopupWordTV
ToolTipopupWordTV is an Open Source Android library that allows developers to easily open a popup with details by select a word from a textview.
Stars: ✭ 41 (+95.24%)
Mutual labels:  textview
Socially
Socially is a textView which is able to create separate clickable views according to your requirements.
Stars: ✭ 28 (+33.33%)
Mutual labels:  textview
KodeEditor
A simple code editor with syntax highlighting and pinch to zoom
Stars: ✭ 60 (+185.71%)
Mutual labels:  textview
FreeText
Android 字体 文字 特效 动画效果
Stars: ✭ 140 (+566.67%)
Mutual labels:  textview
LicenseTextView
Custom Lincese TextView for android
Stars: ✭ 31 (+47.62%)
Mutual labels:  textview
CheckableTextView
A simple and flexible Checked TextView or Checkable TextView
Stars: ✭ 108 (+414.29%)
Mutual labels:  textview
MaterialTextField
Android EditText designed to match Material.IO Design Guidelines of 2019. RTL supported.
Stars: ✭ 41 (+95.24%)
Mutual labels:  textview
FSAnimatedTextView
Animated Number Text View Library
Stars: ✭ 32 (+52.38%)
Mutual labels:  textview
TextViewPlus
an android library for setting custom font in xml layout
Stars: ✭ 27 (+28.57%)
Mutual labels:  textview
OutlineTextView
Android TextView with outline
Stars: ✭ 59 (+180.95%)
Mutual labels:  textview
TextViewSetWordSpace
Android设置TextView字间距
Stars: ✭ 18 (-14.29%)
Mutual labels:  textview
hat-view
Allow to put "hat" on TextView. Inspired by Telegram appbar title with Santa Claus hat 🎅🏻
Stars: ✭ 51 (+142.86%)
Mutual labels:  textview
Android-SGTextView
同时带字体描边 渐变 阴影的TextView - both have stroker, gradient and shadow TextView
Stars: ✭ 18 (-14.29%)
Mutual labels:  textview
android-material-design-in-practice
A project to demonstrate the latest material design principles with simple examples. It has additional examples on how to easily scale texts on different screen sizes without extra effort.
Stars: ✭ 67 (+219.05%)
Mutual labels:  textview
EasyMoney-Widgets
The widgets (EditText and TextView) for support of money requirements like currency, number formatting, comma formatting etc.
Stars: ✭ 91 (+333.33%)
Mutual labels:  textview
ProgressText
A text progress bar with animation effect, highly customized.
Stars: ✭ 13 (-38.1%)
Mutual labels:  textview
STTextView
📝 STTextView is a light-weight library that adds a placeholder to the UITextView.
Stars: ✭ 36 (+71.43%)
Mutual labels:  textview
FOTextLayout
实现文字横竖向切换,实现各种文字的排版,可以某种程度上替代UILabel。
Stars: ✭ 36 (+71.43%)
Mutual labels:  textview
react-native-highlighted-text
A React Native component to individually style texts inside a text
Stars: ✭ 18 (-14.29%)
Mutual labels:  textview
embedded-text
Multiline TextBox for the embedded-graphics Rust crate
Stars: ✭ 35 (+66.67%)
Mutual labels:  textview


ExtraTextView

additional functions for TextView.

2017-04-20 15 17 48

Usage

see sample

In your layout

<com.github.chuross.widget.ExtraTextView
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    app:ext_txt_drawable="@drawable/your_icon"
    app:ext_txt_drawableWidth="24dp"
    app:ext_txt_drawableHeight="24dp"/>

XMLAttributes

name type description etc
ext_txt_drawable resource drawable icon resource
ext_txt_drawableTint color drawable tint color
ext_txt_drawableWidth dimen drawable width If not defined, width will be match_parent.
ext_txt_drawableHeight dimen drawable height If not defined, height will be the same as view.width.
ext_txt_drawablePosition enum drawable position top or bottom or left or right
ext_txt_drawableFit boolean auto fit drawable padding. If you use match_parent. drawable position is left or right.
ext_txt_cornerBorderColor color border color required ext_txt_cornerBorderSize and ext_txt_cornerRadius
ext_txt_cornerBorderSize dimen border width required ext_txt_cornerRadius
ext_txt_cornerRadius dimen corner radius required ext_txt_cornerBorderSize

Download

Gradle

  1. add JitPack repository to your project root build.gradle.
repositories {
    maven { url "https://jitpack.io" }
}
  1. add the dependency

latest version:

dependencies {
    compile 'com.github.chuross:extra-textview:x.x.x'
}

License

Copyright 2017 chuross

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].