fix blurry play/pause overlay in videoplayer activity
@ -21,12 +21,11 @@
|
|||||||
<ImageButton
|
<ImageButton
|
||||||
android:id="@+id/butPlay"
|
android:id="@+id/butPlay"
|
||||||
android:contentDescription="@string/pause_label"
|
android:contentDescription="@string/pause_label"
|
||||||
android:layout_width="80dp"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="80dp"
|
android:layout_height="wrap_content"
|
||||||
android:layout_gravity="center"
|
android:layout_gravity="center"
|
||||||
android:scaleType="fitXY"
|
|
||||||
android:background="@drawable/overlay_button_circle_background"
|
android:background="@drawable/overlay_button_circle_background"
|
||||||
android:src="@drawable/ic_action_pause_over_video"/>
|
android:src="@drawable/ic_av_pause_circle_outline_80dp"/>
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:id="@+id/overlay"
|
android:id="@+id/overlay"
|
||||||
|
@ -417,8 +417,8 @@ public abstract class PlaybackController {
|
|||||||
pauseResource = res.getResourceId(1, R.drawable.ic_pause_grey600_36dp);
|
pauseResource = res.getResourceId(1, R.drawable.ic_pause_grey600_36dp);
|
||||||
res.recycle();
|
res.recycle();
|
||||||
} else {
|
} else {
|
||||||
playResource = R.drawable.ic_action_play_over_video;
|
playResource = R.drawable.ic_av_play_circle_outline_80dp;
|
||||||
pauseResource = R.drawable.ic_action_pause_over_video;
|
pauseResource = R.drawable.ic_av_pause_circle_outline_80dp;
|
||||||
}
|
}
|
||||||
|
|
||||||
switch (status) {
|
switch (status) {
|
||||||
|
Before Width: | Height: | Size: 6.4 KiB |
Before Width: | Height: | Size: 7.0 KiB |
After Width: | Height: | Size: 3.2 KiB |
After Width: | Height: | Size: 3.3 KiB |
Before Width: | Height: | Size: 3.2 KiB |
Before Width: | Height: | Size: 3.4 KiB |
After Width: | Height: | Size: 1.7 KiB |
After Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 10 KiB |
Before Width: | Height: | Size: 11 KiB |
After Width: | Height: | Size: 5.1 KiB |
After Width: | Height: | Size: 5.3 KiB |
Before Width: | Height: | Size: 21 KiB |
Before Width: | Height: | Size: 23 KiB |
After Width: | Height: | Size: 7.9 KiB |
After Width: | Height: | Size: 8.0 KiB |
4
gradle/wrapper/gradle-wrapper.properties
vendored
@ -1,6 +1,6 @@
|
|||||||
#Sun Oct 12 21:44:21 CEST 2014
|
#Thu Nov 20 19:41:23 CET 2014
|
||||||
distributionBase=GRADLE_USER_HOME
|
distributionBase=GRADLE_USER_HOME
|
||||||
distributionPath=wrapper/dists
|
distributionPath=wrapper/dists
|
||||||
zipStoreBase=GRADLE_USER_HOME
|
zipStoreBase=GRADLE_USER_HOME
|
||||||
zipStorePath=wrapper/dists
|
zipStorePath=wrapper/dists
|
||||||
distributionUrl=https\://services.gradle.org/distributions/gradle-2.1-bin.zip
|
distributionUrl=https\://services.gradle.org/distributions/gradle-2.1-all.zip
|
||||||
|