Giter Club home page Giter Club logo

Comments (7)

jinguangyue avatar jinguangyue commented on September 15, 2024

你觉得核心功能是什么

from addwordlib.

hackware1993 avatar hackware1993 commented on September 15, 2024

textview
额,试想一下这样的布局,用你这个很难实现

from addwordlib.

jinguangyue avatar jinguangyue commented on September 15, 2024

我遇到的需求是图片加字, 对字进行竖排显示, 要求可移动缩放, 你的这个效果我写的这个是可以实现的, 行间距 字大小都能调, 这里我的主要难点就是Textview的横竖排切换,竖排的时候字的方向不能变, 我提供了一种解决方案是每一个字都是一个Textview, 目前满足了我的所有需求, 我还没想到更好的方法实现, 你能提供给我一种方便强大的思路是极好的对我来说

from addwordlib.

hackware1993 avatar hackware1993 commented on September 15, 2024

基本上找遍了所有的资源,就你这个稍微好些,但还是满足不了需求,我打算自己measure、draw了,不过很麻烦,需考虑对齐方式,数字及单词等不可拆分字符的处理。

from addwordlib.

hackware1993 avatar hackware1993 commented on September 15, 2024

每个字一个TextView我接受不了,还是draw合理些

from addwordlib.

jinguangyue avatar jinguangyue commented on September 15, 2024

那你试试吧 目前我用的方案占用内存还可以接受, 我弄了满屏的文字会占用5M以下的内存,你是要做什么样的需求

from addwordlib.

luo15140128 avatar luo15140128 commented on September 15, 2024

如何保存? 我保存的时候
android.view.ViewRootImpl$CalledFromWrongThreadException: Only the original thread that created a view hierarchy can touch its views.
AddWordFrame.onDraw 这位置老报错

from addwordlib.

Related Issues (8)

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.