Git Product home page Git Product logo

Comments (8)

jamshid88 avatar jamshid88 commented on July 27, 2024

i think, TextViewEx lost spannable style, because it is working only with String (not Charsequence or child).

from textjustify-android.

andresgr avatar andresgr commented on July 27, 2024

So, is there a way to apply the justifying algorithm to a CharSequence, avoiding the lost of the spannable styles?

from textjustify-android.

mathew-kurian avatar mathew-kurian commented on July 27, 2024

Can you explain a bit about how Spannables are encoded?

from textjustify-android.

jamshid88 avatar jamshid88 commented on July 27, 2024

i think, you have to replace String with Charsequence in the source, but you will have some problems. for example: Chasequence hasn't split function, you have to write your split function for Charsequnce, etc...

from textjustify-android.

Nomane avatar Nomane commented on July 27, 2024

Any news about this issue ?
I think it is a very useful feature since this library is mainly used for news or chat I think and in these use case text is often formatted ("bold", "italic", color ..)

from textjustify-android.

mathew-kurian avatar mathew-kurian commented on July 27, 2024

Check out the experimental version. It is currently a work in progress, but it should provide you with Spannable support. Refer to README.md

from textjustify-android.

mathew-kurian avatar mathew-kurian commented on July 27, 2024

Refer to updated version. It has been fixed along with major optimizations.

from textjustify-android.

Edonfreiner avatar Edonfreiner commented on July 27, 2024

This is still not working for me how do I change the background of the DocumentView?

from textjustify-android.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.