Commit 4b948774 by andrewlewis Committed by Oliver Woodman

Fix DefaultTimeBar vertical positioning in the demo app

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=152492104
parent ac0a4353
...@@ -60,7 +60,7 @@ public class DefaultTimeBar extends View implements TimeBar { ...@@ -60,7 +60,7 @@ public class DefaultTimeBar extends View implements TimeBar {
private static final long STOP_SCRUBBING_TIMEOUT_MS = 1000; private static final long STOP_SCRUBBING_TIMEOUT_MS = 1000;
private static final int DEFAULT_INCREMENT_COUNT = 20; private static final int DEFAULT_INCREMENT_COUNT = 20;
private static final int DEFAULT_BAR_HEIGHT = 4; private static final int DEFAULT_BAR_HEIGHT = 4;
private static final int DEFAULT_TOUCH_TARGET_HEIGHT = 24; private static final int DEFAULT_TOUCH_TARGET_HEIGHT = 26;
private static final int DEFAULT_PLAYED_COLOR = 0x33FFFFFF; private static final int DEFAULT_PLAYED_COLOR = 0x33FFFFFF;
private static final int DEFAULT_BUFFERED_COLOR = 0xCCFFFFFF; private static final int DEFAULT_BUFFERED_COLOR = 0xCCFFFFFF;
private static final int DEFAULT_AD_MARKER_COLOR = 0xB2FFFF00; private static final int DEFAULT_AD_MARKER_COLOR = 0xB2FFFF00;
......
...@@ -146,8 +146,6 @@ import java.util.Locale; ...@@ -146,8 +146,6 @@ import java.util.Locale;
*/ */
public class PlaybackControlView extends FrameLayout { public class PlaybackControlView extends FrameLayout {
private static final String TAG = "PlaybackControlView";
/** /**
* Listener to be notified about changes of the visibility of the UI control. * Listener to be notified about changes of the visibility of the UI control.
*/ */
......
...@@ -69,7 +69,7 @@ ...@@ -69,7 +69,7 @@
android:id="@id/exo_progress" android:id="@id/exo_progress"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_weight="1" android:layout_weight="1"
android:layout_height="24dp"/> android:layout_height="26dp"/>
<TextView android:id="@id/exo_duration" <TextView android:id="@id/exo_duration"
android:layout_width="wrap_content" android:layout_width="wrap_content"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment