Giter Site home page Giter Site logo

windowview's People

Contributors

justasm avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

windowview's Issues

Starting time

Is possibile to choose when to start the sensor listening (and so the panning)???

It doesn't work on Meizu MX2

Hello! I was trying your library but i it seems that the sensor event doesn't work. I tried also your sample app. Thanks

Can I use it with a Video ?

Hi, great library.

My question is if I can use it with a TextureView or VideoView ?

I want to display a video centered full-screen and if there is no more space allow seeing the rest of it by tilting it like in this library.

Not works with Picasso library

Hi!
Is it possible to make this works with Picasso library?
Currently when I trying to do like this:

    Picasso.with(this)
            .load(R.drawable.splash)
            .fit()
            .centerCrop()
            .into(ivSplash);

I got NullPointerException:
E/AndroidRuntime(10358): java.lang.NullPointerException: Attempt to invoke virtual method 'int android.graphics.drawable.Drawable.getIntrinsicWidth()' on a null object reference
E/AndroidRuntime(10358): at com.jmedeisis.windowview.WindowView.onSizeChanged(WindowView.java:283)
E/AndroidRuntime(10358): at android.view.View.sizeChange(View.java:15793)
E/AndroidRuntime(10358): at android.view.View.setFrame(View.java:15758)
E/AndroidRuntime(10358): at android.widget.ImageView.setFrame(ImageView.java:1019)
E/AndroidRuntime(10358): at android.view.View.layout(View.java:15674)
E/AndroidRuntime(10358): at android.widget.FrameLayout.layoutChildren(FrameLayout.java:579)
E/AndroidRuntime(10358): at android.widget.FrameLayout.onLayout(FrameLayout.java:514)
E/AndroidRuntime(10358): at android.view.View.layout(View.java:15678)
E/AndroidRuntime(10358): at android.view.ViewGroup.layout(ViewGroup.java:5039)
E/AndroidRuntime(10358): at android.widget.FrameLayout.layoutChildren(FrameLayout.java:579)
E/AndroidRuntime(10358): at android.widget.FrameLayout.onLayout(FrameLayout.java:514)
E/AndroidRuntime(10358): at android.view.View.layout(View.java:15678)
E/AndroidRuntime(10358): at android.view.ViewGroup.layout(ViewGroup.java:5039)
E/AndroidRuntime(10358): at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1703)
E/AndroidRuntime(10358): at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1557)
E/AndroidRuntime(10358): at android.widget.LinearLayout.onLayout(LinearLayout.java:1466)
E/AndroidRuntime(10358): at android.view.View.layout(View.java:15678)
E/AndroidRuntime(10358): at android.view.ViewGroup.layout(ViewGroup.java:5039)
E/AndroidRuntime(10358): at android.widget.FrameLayout.layoutChildren(FrameLayout.java:579)
E/AndroidRuntime(10358): at android.widget.FrameLayout.onLayout(FrameLayout.java:514)

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.