gjiazhe / panoramaimageview Goto Github PK
View Code? Open in Web Editor NEWAn imageView can auto scroll with device rotating.
License: MIT License
An imageView can auto scroll with device rotating.
License: MIT License
Two of the classes won't work. The PanoramaImageView and GyroscopeObserver. They can't resolve the ImageView in public class [classname] extends ImageView and they both have an error that says
'addPanoramaImageView(com.gjiazhe.panoramaimageview.PanoramaImageView)' is not public in 'com.gjiazhe.panoramaimageview.GyroscopeObserver'. Cannot be accessed from outside package
I'm using panoramaImageview as item of pages on view pager, but scrolling when the image is not centered shows a gap between this image and the next, so you can see the layout behind it. Had you faced this issue? Any ideas to solve this?
Hi,
I'm using Glide for load images and my image not work well how can fix this issue.
Now only work when I add an image with android:src on xml file.
是否可以加载网络图片?理论上是否可行?
Compiling with following errors:
Error:Execution failed for task ':app:processDebugManifest'.
Manifest merger failed : Attribute application@label value=(@string/app_label) from AndroidManifest.xml:18:13-46
is also present at [com.gjiazhe:PanoramaImageView:1.0] AndroidManifest.xml:13:9-41 value=(@string/app_name).
Suggestion: add 'tools:replace="android:label"' to element at AndroidManifest.xml:14:5-30:19 to override.
I'm trying to have all of my viewholders in a recyclerview use the same gyroscopeobserver instance. I set the observer in the onCreateViewHolder method. I load an image into the imageview in the viewholder with picasso. My images don't show up, it's just black. Images are loading fine with a standard imageview. If i set a static image using the android:src attribute, everything is working fine.
Is possibile to reduce scroll factor to have a slower scrolling?
Can the direction be two dimensional?
方向可以是二维的吗?横竖都可以?
PanoramaImageView not working in api level 21 (lolipop) why?
请问怎么解决这个问题呢?感谢~
First of all, Gr8 work!
I pulled the code to check this lib on my moto G3 phone and found that it does not work because my phone does not have a gyro sensor and this library currently support gyro alone. I feel it would be great if this library can be extended to support accelerometer based panoramic viewing.
When using this image, it starts vertical orientation, instead of horizontal orientation
http://www.panophoto.eu/Images/Uploads/Med/42f5eda5-7031-4a2e-9c84-7114126c46c0.jpg
It's possible to set it manually?
I tested it with the demo app, and it's working fine. I used in my app in a listview, and on every onMeasure, I get the heightMeasureSpec= 0, that's why it's entering the VERTICAL part of the if (PanoramaImageViewer.java). What could be the problem?
does this have a provision for adding hotposts(hostspot functionality)?!?
现在滚动方向是根据图片实际宽高决定的,打算提供开关自定义滚动方向吗?
这边一台MEIZU MX6 6.0 可以,但是 ZTE BA601 5.1不行耶
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.