Advanced Android TextView

Overview

Advanced Android TextView

Companion app for my Advanced Android TextView talk, demostrating:

  • Animated CompoundDrawable
  • Text shadow
  • Custom font
  • Non-breaking space
  • Gradient text
  • Patterned text
  • HTML.fromHtml()
  • setFontFeatureSettings()
  • Styled string
  • AlignmentSpan
  • ClickableSpan
  • Rainbow span, animated
  • Lined paper
  • Emoji
You might also like...
() An Android TextView with a shimmering effect
() An Android TextView with a shimmering effect

Shimmer for Android This library is DEPRECATED, as I don't have time to mainatin it anymore. But feel free to go through the code and copy that into y

An Android TextView that always displays an auto refreshing relative time span with respect to a reference time
An Android TextView that always displays an auto refreshing relative time span with respect to a reference time

android-ago This library provides RelativeTimeTextView, a custom TextView that takes a reference time and always displays the relative time with respe

a super textview for android
a super textview for android

SuperTextView 重磅推出SuperTextView2.x版本,属性参数相比1.x有些变化,1.x的用户升级2.x的时候请注意 1、功能描述 SuperTextView是一个功能强大的View,可以满足日常大部分布局样式,开发者可已自行组合属性配置出属于自己风格的样式!可能描述起来没有概念

Build valid HTML for Android TextView
Build valid HTML for Android TextView

HTML Builder Build valid HTML for Android TextView. Description There is a lovely method on the android.text.Html class, fromHtml(), that converts HTM

ExpandableTextView - Read More TextView for Android
ExpandableTextView - Read More TextView for Android

ExpandableTextView Read More TextView for Android Usage Gradle dependencies { implementation 'com.wayne.expandabletextview:expandable-textview:1.1

Animation effects to text, not really textview
Animation effects to text, not really textview

HTextView Animation effects with custom font support to TextView see iOS Effects see Flutter Effects Screenshot type gif Scale Evaporate Fall Line Typ

A TextView that automatically resizes text to fit perfectly within its bounds.
A TextView that automatically resizes text to fit perfectly within its bounds.

AutoFitTextView A TextView that automatically resizes text to fit perfectly within its bounds. Usage dependencies { compile 'me.grantland:autofitt

A Custom TextView with trim text
A Custom TextView with trim text

ReadMoreTextView A Custom TextView with trim text Download To add the ReadMoreTextView library to your Android Studio project, simply add the followin

AutoLinkTextView is TextView that supports Hashtags (#), Mentions (@) , URLs (http://), Phone and Email automatically detecting and ability to handle clicks.
AutoLinkTextView is TextView that supports Hashtags (#), Mentions (@) , URLs (http://), Phone and Email automatically detecting and ability to handle clicks.

AutoLinkTextView Deprecated Please use the new version of AutoLinkTextView AutoLinkTextView is TextView that supports Hashtags (#), Mentions (@) , URL

Comments
  • 你好,

    你好,

    AboutActivity 中的超连接点击似乎有些小问题 测试引起崩溃,你那面正常吗

    com.sqisland.android.advanced_textview E/AndroidRuntime﹕ FATAL EXCEPTION: main android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.intent.action.VIEW dat=http://romannurik.github.io/AndroidAssetStudio/ (has extras) }

    opened by longtaoge 2
  • Align Justify

    Align Justify

    Hi, I'm trying to make a TextView with Justify inside of a div tag, but when i follow the steps on FromHtmlActivity.java and layout.. nothings happend. But i use "h1" tag and this works fine

    Here is my String:

    text...
    ]]>

    Hope you can help me.

    Thanks.

    opened by fabianchoxD 1
  • Load the custom font in all textviews.

    Load the custom font in all textviews.

    Hi Chuki,

    here is the mechanism I told you about to load a custom font into all text views, activity wide.

    It can also be used to apply any other kind of customization of course.

    Thx again for your sessions, S.

    opened by stephanenicolas 1
  • remove object allocation inside draw()

    remove object allocation inside draw()

    Hi @chiuki great talk! small PR to avoid allocating object during drawing (since this is an educational sample, it's good to show the best practices :)

    opened by nhachicha 0
  • Releases(1.1.0)
    Owner
    Chiu-Ki Chan
    Chiu-Ki Chan
    Mentions-TextView - Make Mentions and hashtags clickable in Textview

    Mentions Textview Custome Textview with Mentions and hashtags being clickable. D

    null 2 Jan 9, 2022
    Android's TextView that can expand/collapse like the Google Play's app description

    ExpandableTextView ExpandableTextView is an Android library that allows developers to easily create an TextView which can expand/collapse just like th

    Manabu S. 4k Dec 28, 2022
    A library to show emoji in TextView, EditText (like WhatsApp) for Android

    Discontinued This projected is discontinued. Please consider using other alternative, i.e EmojiCompat. Contact me if you want to continue working on a

    Hieu Rocker 3.6k Jan 5, 2023
    Android experiment showing a sinking TextView

    Titanic is an Android experiment reproducing this effect.

    Romain Piel 1.8k Dec 15, 2022
    This is based on an open source autosizing textview for Android.

    SizeAdjustingTextView This is based on an open source autosizing textview for Android I found a few weeks ago. The initial approach didn't resize mult

    Elliott Chenger 255 Dec 29, 2022
    An extension of Android's TextView, EditText and Button that let's you use the font of your choice

    AnyTextView (deprecated) Note: AnyTextView is no longer being maintained. I recommend replacing AnyTextView with the Calligraphy library instead. Frus

    Hans Petter Eide 165 Nov 11, 2022
    Form validation and feedback library for Android. Provides .setText for more than just TextView and EditText widgets. Provides easy means to validate with dependencies.

    android-formidable-validation Form validation and feedback library for Android. Provides .setText for more than just TextView and EditText widgets. Pr

    Linden 147 Nov 20, 2022
    Simple way to create linked text, such as @username or #hashtag, in Android TextView and EditText

    Simple Linkable Text Simple way to create link text, such as @username or #hashtag, in Android TextView and EditText Installation Gradle Add dependenc

    Aditya Pradana Sugiarto 76 Nov 29, 2022
    Lightweight android library for highlighting sections of a textview, with optional callbacks.

    Linker Lightweight android library for highlighting Strings inside of a textview (ignoring case), with optional callbacks. Language: Java MinSDK: 17 J

    Josh Gainey 35 Apr 30, 2022
    Android slanted TextView.

    SlantedTextView Android slanted TextView . 中文版 Preview Gradle compile 'com.haozhang.libary:android-slanted-textview:1.2' XML Layout <com.haozhang.lib.

    Hand Zhang 2.2k Dec 26, 2022