Android-Typeahead alternatives and similar packages
Based on the "TextView/EditText Widget" category.
Alternatively, view Android-Typeahead alternatives based on common mentions on social networks and blogs.
-
richeditor-android
RichEditor for Android is a beautiful Rich Text WYSIWYG Editor for Android. -
emojicon
A library to show emoji in TextView, EditText (like WhatsApp) for Android -
android-autofittextview
A TextView that automatically resizes text to fit perfectly within its bounds. -
ExpandableTextView
Android's TextView that can expand/collapse like the Google Play's app description -
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. -
TokenAutoComplete
Gmail style MultiAutoCompleteTextView for Android -
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). -
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 -
AwesomeText
A tool that facilitates working with Spans on TextViews or any extension of them (EditTexts, Buttons...). -
Squircle IDE
👨💻 Squircle CE is a fast and free multi-language code editor for Android -
Masked-Edittext
Android library contain custom realisation of EditText component for masking and formatting input text -
PlacesAutocompleteTextView
An address-autocompleting text field for Android -
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. -
AndroidCurrencyEditText
💰 A library to dynamically format your EditTexts to take currency inputs -
KerningViews
Provides a set of views which allows to adjust the spacing between the characters of that view, AKA, Kerning effect. -
AccountAutoCompleteEditText
Simple extension for account suggestion and auto completion. -
Checkable TextView [KOTLIN]
A simple and flexible Checked TextView or Checkable TextView
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 Android-Typeahead or a related project?
README
android-typeahead
Awesome Android Typeahead library - User mention plugin, UI widget for auto complete user mention using the at sign (@) like Twitter or Facebook.
Version
1.0.1
Installation
Awesome Android Typeahead library requires android 4.0.3 (API 15) or above.
Using Gradle
- Create 'libraries' directory (if not already exists) in the root of your project at the same level of 'app' directory.
Extract the 'typeahead.zip' file and move the extracted directory to 'libraries' directory. Final structure should be as:
- /app
- build.gradle
- /libraries
- typeahead/
- build.gradle
- /settings.gradle
Edit /settings.gradle ; add the following:
include ':typeahead' project(':typeahead').projectDir = new File('libraries/typeahead')
Edit /app/build.gradle file ; add the following to dependencies section:
compile project(':typeahead')
Sync project
Rebuild project, or run:
./gradlew assembleDebug
For loading remote photos, I'm using Picasso library.
Usage
In your layout, add Add TypeaheadTextView:
<com.arabagile.typeahead.widget.TypeaheadTextView
android:id="@+id/typeaheadAutoComplete"
android:hint="@string/hint_autocomplete"
android:singleLine="false"
android:layout_height="wrap_content"
android:layout_width="match_parent"
app:ag_threshold="2"
/>
Create menu layout for typeahead dropdown menu with name menu_user_mention.xml with content:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="horizontal" android:layout_width="match_parent"
android:layout_height="wrap_content">
<ImageView
android:id="@+id/photo"
android:layout_width="64dp"
android:layout_height="64dp"
android:layout_gravity="center_vertical"
android:layout_marginRight="10dp"/>
<LinearLayout
android:layout_width="match_parent"
android:orientation="vertical"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical">
<TextView
android:id="@+id/fullname"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textSize="15sp"
android:layout_weight="1"
/>
<TextView
android:id="@+id/username"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textSize="12sp"
android:layout_weight="1"
/>
</LinearLayout>
</LinearLayout>
In your activity, add this sample code:
TypeaheadTextView tvAutoComplete = (TypeaheadTextView) findViewById(R.id.typeaheadAutoComplete);
// Dummy dataset - From Gravatar
List<User> users = new ArrayList<>();
users.add(new User("Arab Agile", "arabagile", "http://www.gravatar.com/avatar/fc58e5bfbdf68ae2d7cc0b145cd27794?s=64"));
users.add(new User("Ammar Basha", "elbasha", "http://gravatar.com/avatar/73883b3fe159213faa5c80e7b5f33ef8?s=65"));
users.add(new User("Mary Angel", "mariana", "http://gravatar.com/avatar/38bc81642c20ff6181f3b39d91829ef8?s=64"));
users.add(new User("Cristina", "cristina", "http://gravatar.com/avatar/55abbae35d82f050bc482aa5b457ce28?s=64"));
users.add(new User("Bob Alexander", "bob", "http://gravatar.com/avatar/d6924c79ed9ba7fdc49c1b591a051c2f?s=64"));
MentionAdapter adapter = new MentionAdapter(this, R.layout.menu_user_mention, users);
tvAutoComplete.setAdapter(adapter);
Enjoy!
Configuration
You can set the threshold - the number of charcaters after at sign (@) before the dropdown menu will appear. To do so you can set ag_threshold in xml layout to integer value.
TODO
- Use custom image loader like UIL
License
MIT
*Note that all licence references and agreements mentioned in the Android-Typeahead README section above
are relevant to that project's source code only.