Comments (7)
你觉得核心功能是什么
from addwordlib.
from addwordlib.
我遇到的需求是图片加字, 对字进行竖排显示, 要求可移动缩放, 你的这个效果我写的这个是可以实现的, 行间距 字大小都能调, 这里我的主要难点就是Textview的横竖排切换,竖排的时候字的方向不能变, 我提供了一种解决方案是每一个字都是一个Textview, 目前满足了我的所有需求, 我还没想到更好的方法实现, 你能提供给我一种方便强大的思路是极好的对我来说
from addwordlib.
基本上找遍了所有的资源,就你这个稍微好些,但还是满足不了需求,我打算自己measure、draw了,不过很麻烦,需考虑对齐方式,数字及单词等不可拆分字符的处理。
from addwordlib.
每个字一个TextView我接受不了,还是draw合理些
from addwordlib.
那你试试吧 目前我用的方案占用内存还可以接受, 我弄了满屏的文字会占用5M以下的内存,你是要做什么样的需求
from addwordlib.
如何保存? 我保存的时候
android.view.ViewRootImpl$CalledFromWrongThreadException: Only the original thread that created a view hierarchy can touch its views.
AddWordFrame.onDraw 这位置老报错
from addwordlib.
Related Issues (8)
- demo搞得好花哨,却没什么用
- java.lang.ArrayIndexOutOfBoundsException: length=12; index=-1 HOT 3
- BitmapUtils.convertViewToBitmap 疑问
- 显示问题 HOT 1
- 能实现视频的双指缩放么,https://github.com/CarGuo/GSYVideoPlayer,这个播放器的,他有个设置矩阵的方法: Matrix transform = new Matrix(); transform.setScale(-1, 1, mTextureView.getWidth() / 2, 0); mTextureView.setTransform(transform); HOT 1
- 输入字体数量到10个左右就不能自适应了 HOT 13
- webview 就不能缩放了 HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from addwordlib.