diff options
author | kaiyiz <kaiyiz@codeaurora.org> | 2014-10-14 10:42:04 +0800 |
---|---|---|
committer | cretin45 <cretin45@gmail.com> | 2014-12-15 14:47:36 -0800 |
commit | 17fbdae922e6d971af27958b11d21aafbad1cfad (patch) | |
tree | 2d366a43e82058c5ae5a19310496dfeff02ff9a0 | |
parent | 44940177d5ca662c641dcb33ef19dd5b314c9109 (diff) | |
download | android_packages_apps_Gallery2-17fbdae922e6d971af27958b11d21aafbad1cfad.tar.gz android_packages_apps_Gallery2-17fbdae922e6d971af27958b11d21aafbad1cfad.tar.bz2 android_packages_apps_Gallery2-17fbdae922e6d971af27958b11d21aafbad1cfad.zip |
Gallery2: Cropped video seek bar pointer.
Modify time bar layout to make it show completely.
Change-Id: Id3c61db55e2c92696babe38bf9cc8f94c32459ce
CRs-Fixed: 737809
-rw-r--r-- | src/com/android/gallery3d/app/MovieControllerOverlay.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/gallery3d/app/MovieControllerOverlay.java b/src/com/android/gallery3d/app/MovieControllerOverlay.java index 74d94f3c8..5f2ba06e5 100644 --- a/src/com/android/gallery3d/app/MovieControllerOverlay.java +++ b/src/com/android/gallery3d/app/MovieControllerOverlay.java @@ -362,7 +362,7 @@ public class MovieControllerOverlay extends CommonControllerOverlay implements // padding is changed if (enableRewindAndForward) { mBackground.layout(0, y - mTimeBar.getPreferredHeight() - 80, w, y); - mTimeBar.layout(pl, y - mTimeBar.getPreferredHeight() - 80, w - pr, + mTimeBar.layout(pl, y - mTimeBar.getPreferredHeight() - 120, w - pr, y - mTimeBar.getBarHeight()); mControllerRewindAndForwardExt.onLayout(0, width, y); } else { |