Comments (2)
Hi Sahildave,
That doesn't happen on the demo app. Are you using
android:configChanges="orientation" in your manifest file? That's
probably happening because the view is being resized while a transition is
running.
On Mon, May 12, 2014 at 4:36 PM, sahildave [email protected] wrote:
Hi. I downloaded and started using your lib. I just created a new project
in Eclipse with default Full Screen activity. Just changed the default
textview to<com.flaviofaria.kenburnsview.KenBurnsView
android:id="@+id/fullscreen_content"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:src="@drawable/your_drawable" />..and didnt change anything else, not even TransitionGenerator.
Whenever I rotate the device (scenario Landscape to Potrait) first the
image sticks to the top leaving the bottom part empty with a background
color.Images:
[image: land]https://cloud.githubusercontent.com/assets/6861255/2949213/6bac70d8-da0c-11e3-8f0d-5a4ea4d61b22.jpg
[image: potrait]https://cloud.githubusercontent.com/assets/6861255/2949214/6bb72bfe-da0c-11e3-96ad-772336bda649.jpgThe same happens for Potrait to Landscape rotation, with image zoomed in
too much in the landscape view.Next, when the ongoing transition is completed. The app crashes with the
following stacktrace http://pastebin.com/q5B2SvMj—
Reply to this email directly or view it on GitHubhttps://github.com//issues/8
.
from kenburnsview.
Thanks for the quick reply. I just rebooted my system, it takes time to start. Meanwhile, as I said I didnt change anything in the project. Just added your library and changed the activity_main.xml. I'll see if there is a android:configChanges value defined as a default paramater.
EDIT: Well, it was there android:configChanges="orientation|keyboardHidden|screenSize"
. You may want to add this somewhere, firstly because this was the default value added by either Eclipse or by SDK (atleast when using FullScreen Activity), secondly many devs use this tag to handle config changes. Moreover, I think the solution to last few comments in Issue#2 is also the same.
Cheers mate! Nice library!
from kenburnsview.
Related Issues (20)
- support for shared element transition? HOT 1
- KenBurnsView disable backpress. HOT 4
- example image not found HOT 1
- it doesn't work with fragment HOT 2
- Error:Cannot change dependencies of configuration ':app:_debugAnnotationProcessor' after it has been resolved. HOT 1
- Suggestion: freeze / unfreeze view HOT 4
- Multiple images
- animation from center HOT 1
- Add getter methods. HOT 1
- Set start animation time HOT 1
- use project in android studio
- Does not play well if KenBurnsView size is changing HOT 3
- Getting Binary XML file line #0 error. HOT 1
- I'm having Problem in with KenBurnsView and viewpager.
- Circle orientation HOT 2
- Issue on Samsung galaxy S8 HOT 2
- Issue when testing with Espresso HOT 2
- Different animation HOT 4
- Implied READ_PHONE_STATE permission
- Allow configurable FPS
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 kenburnsview.