-
Notifications
You must be signed in to change notification settings - Fork 604
Conversation
Gradle wrapper update (2.2.1) Build Gradle plugin update (1.0.0-rc3) Build Tools and target SDK updated to lastest YoutubePlayerApi no longer exist on gradle (not uses jar library)
Fixed SecondView positionig in Maximized State Fixed Preview in Android Studio (DraggablePanel should be treated as RelativeLayout) ex: layout\activity_tv_shows_sample.xml Fixed horizontal drag issues
Every methods/variables related to last position. This was used in old onLayout() implementation
float to int everywhere except scaleFactor
Changed implementatnio of position calculation Changed implemenation of getMinWidth() method Fixed sample app (I forgot about that in prev commit)
Removed unnecesary metods & variables Methods where size is calculated are merged - now in one pas of dragEvent dragView is redrawed only once, not twice
Nice PR, can you update this branch with pedrovgs:develop? |
Travis say |
xD Revert your build.gradle changes to use an older version. I'll update that dependencies later. |
private static final float X_MIN_VELOCITY = 1300; | ||
private static final float Y_MIN_VELOCITY = 1300; | ||
private static final float X_MIN_VELOCITY = 1500; | ||
private static final float Y_MIN_VELOCITY = 1000; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why have you changed X_MIN_VELOCITY, Y_MIN_VELOCITY and MINIMUN_DX_FOR_HORIZONTAL_DRAG?
|
Can you restore the value of MINIMUN_DX_FOR_HORIZONTAL_DRAG to 5? |
hmmmm.... I'm thinking |
Yes, should be density dependent. We can do that in other PR. |
There is something wrong with tv shows sample, ScaleTransformer and this branch :S. Here you have a video https://drive.google.com/file/d/0B9xkpTnF9BXjbDZQcU4tR1ZfblE/view?usp=sharing Can you take a look. This is the last fix needed to merge this PR :) |
Whats wrong there? I don't know where I should look |
aaa I see, second view content is missing, I'll take look at this |
Review also how you measure your max bottom position. I've changed your |
This should be at end
especially for Travis
travis doesn't like me & lastest google support library.... |
Thanks @Fiddl3 for this pull request!!!! I'm going to update project readme with a contributors section and you will be there :) What's your name and last name? |
No problem :) |
If you are using this library in any project, please send me an email with 2014-12-06 14:20 GMT+01:00 Fiddl3 [email protected]:
|
This project is still in dev stage, I still have problems with rtmp stream playback... |
Ok, let me know once be published! Good luck ;)
|
I will, thanks. |
Many changes, please look at commit comments.
I tried to commit small code changes related to one issue at time.
ResizeTransformer should now work more smoothly, because layout is redrawn only once in one pass of Drag Listener.
I removed some unnecessary methods an simplified Transformers code...