Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Casanowow Life for love
VLC-Android
Commits
978a4bb1
Commit
978a4bb1
authored
Jan 14, 2014
by
Adrien Maglo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
FlingViewGroup: cancel scrolling animation on size changed
parent
17dafe83
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
vlc-android/src/org/videolan/vlc/widget/FlingViewGroup.java
vlc-android/src/org/videolan/vlc/widget/FlingViewGroup.java
+2
-0
No files found.
vlc-android/src/org/videolan/vlc/widget/FlingViewGroup.java
View file @
978a4bb1
...
...
@@ -93,6 +93,8 @@ public class FlingViewGroup extends ViewGroup {
@Override
protected
void
onSizeChanged
(
int
w
,
int
h
,
int
oldw
,
int
oldh
)
{
if
(!
mScroller
.
isFinished
())
mScroller
.
abortAnimation
();
super
.
onSizeChanged
(
w
,
h
,
oldw
,
oldh
);
scrollTo
(
mCurrentView
*
w
,
0
);
requestLayout
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment