Checkable TextView [KOTLIN] alternatives and similar packages
Based on the "TextView/EditText Widget" category.
Alternatively, view Checkable TextView [KOTLIN] alternatives based on common mentions on social networks and blogs.
-
richeditor-android
RichEditor for Android is a beautiful Rich Text WYSIWYG Editor for Android. -
HTextView
Animation effects to text, not really textview -
android-autofittextview
A TextView that automatically resizes text to fit perfectly within its bounds. -
emojicon
A library to show emoji in TextView, EditText (like WhatsApp) for Android -
ExpandableTextView
Android's TextView that can expand/collapse like the Google Play's app description -
Titanic
Android experiment showing a sinking TextView -
TextSurface
A little animation framework which could help you to show message in a nice looking way -
TextJustify-Android
Android Text Full Jusiftication / Wrapping / Justify -
android-edittext-validator
Android form edit text is an extension of EditText that brings data validation facilities to the edittext. -
ReadMoreTextView
A Custom TextView with trim text -
TokenAutoComplete
Gmail style MultiAutoCompleteTextView for Android -
advanced-textview
Advanced Android TextView -
AutoLinkTextView
AutoLinkTextView is TextView that supports Hashtags (#), Mentions (@) , URLs (http://), Phone and Email automatically detecting and ability to handle clicks. -
MatchView
Include MatchTextView and MatchButton..Come..you will like it -
material-code-input
A material style input for codes -
icarus-android
[DISCONTINUED] Rrich text editor for android platform. 安卓富文本编辑器,暂停维护 -
Android-RobotoTextView
Implementation of a TextView and all its direct/indirect subclasses with native support for the Roboto fonts, includes the brand new Roboto Slab fonts. -
WaitingDots
Small library that provides... bouncing dots. This feature is used in number of messaging apps (such as Hangouts or Messenger), and lately in Android TV (for example when connecting to Wifi). -
BabushkaText
A simpler way to style your TextViews -
SecretTextView
A TextView that simulates the effect from the app Secret where the characters fade in/out at different speeds. -
passwordview
A Material Android password view that toggles password visibility via an eye icon. -
RoundedLetterView
RoundedLetterView like the one in Android 5.0 Contacts app -
Squircle IDE
👨💻 Squircle CE is a fast and free multi-language code editor for Android -
AwesomeText
A tool that facilitates working with Spans on TextViews or any extension of them (EditTexts, Buttons...). -
Masked-Edittext
Android library contain custom realisation of EditText component for masking and formatting input text -
PlacesAutocompleteTextView
An address-autocompleting text field for Android -
CircleTimerView
Circular timer on Android platform. -
PasswordEditText
A custom EditText with a switchable icon which shows or hides the password -
SuperNova-Emoji
library to implement and render emojis For Android -
AnimatedEditText
Androids EditText that animates the typed text. EditText is extended to create AnimatedEditText and a PinEntryEditText. -
chips-edittext-library
Chips EditText, Token EditText, Bubble EditText, Spannable EditText and etc.. There are many names of this control. Here I develop easy to understand , modify and integrate Chips Edit Text widget for Android -
AndroidFloatLabel
Float Label Edit Texts for Android -
EmailAutoCompleteTextView
An AutoCompleteTextView with builtin Adapter with the emails in the device. -
CurrencyEditText
A module designed to encapsulate the use of an Android EditText field for gathering currency information from a user. Supports all ISO-3166 compliant locales/currencies. -
AutosizeEditText
AutosizeEditText for Android is an extension of native EditText that offer a smooth auto scale text size. -
SizeAdjustingTextView
This is based on an open source autosizing textview for Android. -
ParkedTextView
A editable text with a constant text/placeholder for Android. -
Android-SingleInputForm
A single EditText instead of a classical form. Library that implements flavienlaurent's singleinputform -
anytextview
An extension of Android's TextView, EditText and Button that let's you use the font of your choice -
android-formidable-validation
Form validation and feedback library for Android. Provides .setText for more than just TextView and EditText widgets. Provides easy means to validate with dependencies. -
MaskFormatter
Add text masking functionality to Android EditText. It will prevent user from inserting not allowed signs, and format input as well. -
KerningViews
Provides a set of views which allows to adjust the spacing between the characters of that view, AKA, Kerning effect. -
AndroidCurrencyEditText
💰 A library to dynamically format your EditTexts to take currency inputs -
AccountAutoCompleteEditText
Simple extension for account suggestion and auto completion. -
SimpleLinkableText
Simple way to create linked text, such as @username or #hashtag, in Android TextView and EditText
Appwrite - The Open Source Firebase alternative introduces iOS support
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of Checkable TextView [KOTLIN] or a related project?
README
CheckableTextView
Checkable TextView [KOTLIN]
:zap:A simple and flexible Checked TextView or Checkable TextView written in Kotlin:zap:
What's New
Animation | Demo |
---|---|
Normal (duration = 250 ms) | |
Custom Duration (duration = 2000 ms) |
Sorry for flicker in slow motion video demo . You know android studio screen recorder sucks sometimes :sweat_smile:
Custom Interpolators
custom interpolator support added
Interpolator | Demo |
---|---|
BounceInterpolator with fall down animation | |
AnticipateOvershootInterpolator with translate animation |
Installation
Add it in your root build.gradle at the end of repositories:
allprojects { repositories { ... maven { url 'https://jitpack.io' } } }
Add the dependency in app gradle
dependencies {
implementation 'com.github.JDevZone:CheckableTextView:{latest_version}'
}
Basic usage
<com.devzone.checkabletextview.CheckableTextView
app:ctv_TextStyle="@style/TextAppearance.General"
app:ctv_IconTint="@color/colorAccent"
app:ctv_IconChecked="true"
app:ctv_Icon="@drawable/ic_cancel_custom_vector"
app:ctv_Text="@string/app_name"
android:layout_width="match_parent"
android:layout_height="wrap_content"/>
Change State Programatically
You can change checked state as follows :
checkedTV.setChecked(isChecked)
Default value shouldNotifyListeners
is false
or
checkedTV.setChecked(isChecked,shouldNotifyListeners)
First Boolean parameter isChecked
sets the current state
Second Boolean parameter shouldNotifyListeners
determines
if onCheckChange
method should be called or not.
Get Current State
checkedTV.isChecked()
No Fancy enums, Just true for checked state and false for unchecked is returned
Listen State Changes
You can listen to state changes by registering a listener like as follows :
checkedTV.setOnCheckChangeListener()
and get callback in implemented method :
override fun onCheckChange(view: View, isChecked: Boolean) {
// checkedTV returned as view
// isChecked current state of the view
}
Set Custom Interpolator
checkedTV.setAnimInterpolator(BounceInterpolator())
Experimental
checkedTV.setClickEnabled(isClickable: Boolean)
Pass isClickable
true for enable and false for disable clicks
currently restricted to
RestrictTo.Scope.LIBRARY
you can use it simply Suppressing Lint Warnings (if have any) as@SuppressLint("RestrictedApi")
Customisation
Here are the attributes you can specify through XML or related setters:
ctv_Text
- Set text.ctv_TextSize
- Set text size.ctv_TextColor
- Set text color.ctv_TextStyle
- Set text style.ctv_Icon
- Set custom icon.ctv_IconTint
- Set icon tint.ctv_IconChecked
- Set TextView (CheckableTextView
) state checked.ctv_TextGravity
- Set text gravity.ctv_AnimType
- Set check animation type currently three available (scale
,translate
andfall_down
).ctv_AnimDuration
- Set duration for check animation.ctv_AnimFirstTime
- AnimateCheckableTextView
for very first time.
📄 License
Checkable TextView is released under the MIT license. See [LICENSE](./LICENSE) for details.
*Note that all licence references and agreements mentioned in the Checkable TextView [KOTLIN] README section above
are relevant to that project's source code only.