wuapnjie / puzzleview Goto Github PK
View Code? Open in Web Editor NEWAndroid Jigsaw puzzle support,inspired by Instagram's layout.
Android Jigsaw puzzle support,inspired by Instagram's layout.
I wanted to ask if there is a way possible to add more frame layouts with polygon shapes. I tried making a hexagon, the shape is drawn but the area class doesn't allow the image to be applied to the shape.
PuzzleView复用后,选择其他模板,边界不能拖拽,这个要如何处理~
不小心直接点击完成,App会强制终止
String path = paths.get(0);
好像是这里出错,忘了。。。
没什么问题,就是说一声牛逼!!!
可否支持对角斜线,或者指点一下思路
我这边的UI要求点击图片弹出操作菜单做旋转这些操作。
浏览了下,好像已经有onPieceSelected没有实现。
还是已经有我没注意到,再烦请。
老师您好,您的github上的puzzleview程序很好,我正在学习。MainActivity里面用到了photoAdapter.setSelectedResId(R.drawable.photo_selected_shadow); 但是我在poiphoto的PhotoAdapter.java里面并没有发现有setSelectedResId这个方法,是接口变了吗?请问我怎样解决这个问题呢?万分感谢!
The gallery pickup titles are in Chinese (完成). PhotoPicker class provide Toolbar color, Album title photo Title etc. But not provide action done method. how do I convert the Action Done title ( 完成 to Done )?,.. Please do reply me ASAP!
大家好, 我遇到这样一个问题 , PuzzleView 在同一个界面布局变化后 进行缩放结果 和 原始的比列有很大偏差, 源码的处理是重置 , 求助,谢谢!
` static Matrix createMatrix(Border border, int width, int height, float extraSize) {
final RectF rectF = border.getRect();
Matrix matrix = new Matrix();
float offsetX = rectF.centerX() - width / 2;
float offsetY = rectF.centerY() - height / 2;
matrix.postTranslate(offsetX, offsetY);
float scale;
if (width * rectF.height() > rectF.width() * height) {
scale = (rectF.height() + extraSize) / height;
} else {
scale = (rectF.width() + extraSize) / width;
}
matrix.postScale(scale, scale, rectF.centerX(), rectF.centerY());
return matrix;
}`
里面的if判断逻辑能解释一下么,我感觉有问题
如题
@wuapnjie
我在我的项目中使用我自己的图片选择图片选择图片替换,选择完成后一点反应也没有,但是如果用你demo中的那个图片选择库选择图片就可以替换成功,我在代码中打了断点,两个图片选择库连获取的图片路径都是一样的,不知道是什么原因
PuzzleView 这个类继承 自定义圆形头像也不可以
有禁止切换selected功能吗
我原本的想法是拿到坐标 和 宽高,上边覆盖透明图片,下边放视频,不知道可行吗
It would be cool to have the app on f-droid store (https://f-droid.org/), a store which hosts only FLOSS apps.
https://gitlab.com/fdroid/rfp for submitting it
Hi:
PuzzleView可否嵌套在RecyclerView里面?
如果扩展上面的功能,是否支持。
image select max 9 and then after click multiple clicking to invisible puzzle view.
demo中,选中后可以进行旋转等操作,没选中直接操作没任何提示感觉不友好。我看View内部有判断是否有图片被选中的方法,但却是private,希望能放开
穿进去图片url
为什么我的图片Border与调节图片长宽的那条线有空隙
I want to block user edition and unlock after pressing some button - programmatically.
eclipse -。-
Hi,
When i selected multiple photos in mainactivity everything works fine, but when i choose one of the created layouts above the photo order is different in the processactivity. For example if i select 7 images, the layouts above are created and photo 1 is above and photo 7 is below. This order is differently in processactivity. This happens not always, you have to try a few different combinaties to reproduce this bug.
[
](url)
I hope it's easy to fix.
Keep up the good work!
Arkina
其次这类的应用场景 我觉得多见于 类似微信 创建群组后的 默认群头像。群头像都是由群成员头像组拼而成。我觉得作者如果时间充裕可以做这样的 demo 感觉实际应用场景更多,我感觉作者精通此类技术 应该实现起来对你来说相对简单。预祝作者 star 爆棚 工作顺利
👍 Thanks
现在如果使用setBorderWidth,border颜色会直接覆盖在图片上面,图片无法展示完全,并且如果设置背景,背景无法透过图片间隔展现出来
我也认识一个成都电子科技大学的 我忘了叫什么名字了 对 AIDL 蛮有研究的 http://blog.csdn.net/luoyanglizi/article/details/52029091 这个应该是你同学吧
I am using Puzzeleview and the output is very nice. when we select images from mobile some image is portrait and some are landscapes. Is there any way to get the exact size of one piece of Puzzle Layout before adding a bitmap to it?
please reply
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.