narfss / parallaxeverywhere Goto Github PK
View Code? Open in Web Editor NEWParallax everywhere is a library with alternative android widgets with parallax effects.
License: MIT License
Parallax everywhere is a library with alternative android widgets with parallax effects.
License: MIT License
The view displays but give the following rendering error.
The following classes could not be found:
- com.fmsirvent.ParallaxEverywhere.PEWImageView (Fix Build Path, Create Class)
I've searched for quite some time and not been able to resolve this, anyone else having this issue?
the lib includes an unnecessary <application>
tag in its AndroidManifest.xml and its children are confusing my build
[warn] <projectdir>/src/main/AndroidManifest.xml:12:9 Error:
[warn] Attribute application@icon value=(@drawable/android:star_big_on) from AndroidManifest.xml:12:9
[warn] is also present at <projectdir>/target/aars/com.fmsirvent-parallaxeverywhere-1.0.1:11:9 value=(@drawable/ic_launcher)
[warn] Suggestion: add 'tools:replace="android:icon"' to <application> element at AndroidManifest.xml:10:5 to override
[warn] <projectdir>/src/main/AndroidManifest.xml:11:9 Error:
[warn] Attribute application@label value=(Macroid Starter) from AndroidManifest.xml:11:9
[warn] is also present at <projectdir>/target/aars/com.fmsirvent-parallaxeverywhere-1.0.1:12:9 value=(@string/app_name)
[warn] Suggestion: add 'tools:replace="android:label"' to <application> element at AndroidManifest.xml:10:5 to override
[trace] Stack trace suppressed: run last android:processManifest for the full output.
[error] (android:processManifest) Manifest merger failed with multiple errors, see logs
Man very thanks for this lib, it´s very nice and usefull, can i change the speed of paralax when i scroll on the fragments? (sorry mi inglish)
hi
I try to setImageBitmap() on PEWImageView but it not work,also not work on setImageDrawable() and all method for setBackground.
just setImageResource() worked, but I need to modify image then set it as image resource.
how I can do that?
thank you very much :)
Hello,
I am inflating a view with a PEWImageView in it. Like this:
@OverRide
public View getGroupView(int groupPosition, boolean isExpanded, View convertView, ViewGroup parent) {
LayoutInflater inflater = (LayoutInflater) this.currentContext
.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
if (groupPosition == 0){
Log.d("Inflating: ", "Show Image Parallax");
convertView = inflater.inflate(R.layout.parallax_show_image_layout,null);
parallaxImageShowView = convertView;
parallaxImageView = (PEWImageView) convertView.findViewById(R.id.show_parallax_image);
parallaxImageView.setReverseY(true);
Picasso.with(currentContext).load(showInfoBundle.getString("showImageUrl")).into(parallaxImageView);
}
<com.fmsirvent.ParallaxEverywhere.PEWImageView
android:layout_width="match_parent"
android:layout_height="250dp"
android:scaleType="centerCrop"
android:background="@color/c_black"
pew:interpolation="accelerate"
android:id="@+id/show_parallax_image"
android:layout_alignParentStart="true" />
After the list is scrolled to the bottom or close to the bottom when you scroll back up I noticed that parallax effect stops and the image gets stuck in the position that the interpolator animation moved it after it did the parallax effect as I was scrolling down. It will not act the same way as I scroll up. It does it once and thats it. The only solution is to re-inflate the view when the list is scrolled to the bottom, but that is costly. Can you suggest a solution to this or is it something that I am doing wrong ?
Thank you.
I'm using PEWImageView in order to add parallax effect to some images inside a GridView, the problem is that the parallax effect on the images is almost unnoticeable.. Is it possible to specify the velocity of the parallax effect? is there any method already defined?
If I use in a fragment and then switch to a new fragment, as the old fragment containing a PEWImageView animates out, the image jumps a little bit.
According to README
See the LICENSE file for more info.
there should be LICENSE file.
Could you please add it or give direct link to an external page? Thanks!
Do you have a sample on how this library works? Specifically with a RecyclerView if possible? I'm adding the PEWImageVIew to my row layout and it's not working.
Anything I need to add to the view, or is it simply not compatible with a RecyclerView? i'm getting my image from a HTTP call, loading it in, maybe it's that?
Edit: It seems the PEWTextView works, just not the PEWImageView?
i added dependency and repo in my build gradle file, but it still does not work
Hello, I try to use PEverywhere with SimpleDraweeView
and replace "extends ImageView" with "extends SimpleDraweeView"
it'll work when I use setImageResouce(int resId) (and I'v override this method in the class, add invalidate() ), but not work with setImageUri(Uri uri),
plz help!
Dear,
Thank you for great component. I have an issue. I am using Glide to download images. parallax is not working when using Glide. Please advise
Is there any way I can implement this library in any Eclipse Project?
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.