[Android] Update custom popup expand icon
Alexandre Perraud
git at videolan.org
Tue Nov 2 13:00:51 UTC 2021
vlc-android | branch: master | Alexandre Perraud <alexandre at videolan.org> | Mon Sep 27 17:56:57 2021 +0200| [e9f4589e86f0dd5ce290abbd5047b43716e10924] | committer: Nicolas Pomepuy
Update custom popup expand icon
> https://code.videolan.org/videolan/vlc-android/commit/e9f4589e86f0dd5ce290abbd5047b43716e10924
---
.../src/main/res/drawable-hdpi/ic_popup_expand_w.png | Bin 764 -> 0 bytes
.../src/main/res/drawable-hdpi/ic_popup_fullscreen.png | Bin 0 -> 493 bytes
.../src/main/res/drawable-mdpi/ic_popup_expand_w.png | Bin 430 -> 0 bytes
.../src/main/res/drawable-mdpi/ic_popup_fullscreen.png | Bin 0 -> 324 bytes
.../src/main/res/drawable-xhdpi/ic_popup_expand_w.png | Bin 932 -> 0 bytes
.../src/main/res/drawable-xhdpi/ic_popup_fullscreen.png | Bin 0 -> 310 bytes
.../src/main/res/drawable-xxhdpi/ic_popup_expand_w.png | Bin 2005 -> 0 bytes
.../src/main/res/drawable-xxhdpi/ic_popup_fullscreen.png | Bin 0 -> 511 bytes
.../src/main/res/drawable-xxxhdpi/ic_popup_expand_w.png | Bin 2089 -> 0 bytes
.../main/res/drawable-xxxhdpi/ic_popup_fullscreen.png | Bin 0 -> 511 bytes
application/vlc-android/res/layout/video_popup.xml | 2 +-
.../src/org/videolan/vlc/gui/video/PopupManager.kt | 2 +-
12 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/application/resources/src/main/res/drawable-hdpi/ic_popup_expand_w.png b/application/resources/src/main/res/drawable-hdpi/ic_popup_expand_w.png
deleted file mode 100644
index 4e9490010..000000000
Binary files a/application/resources/src/main/res/drawable-hdpi/ic_popup_expand_w.png and /dev/null differ
diff --git a/application/resources/src/main/res/drawable-hdpi/ic_popup_fullscreen.png b/application/resources/src/main/res/drawable-hdpi/ic_popup_fullscreen.png
new file mode 100644
index 000000000..96cedfad7
Binary files /dev/null and b/application/resources/src/main/res/drawable-hdpi/ic_popup_fullscreen.png differ
diff --git a/application/resources/src/main/res/drawable-mdpi/ic_popup_expand_w.png b/application/resources/src/main/res/drawable-mdpi/ic_popup_expand_w.png
deleted file mode 100644
index eeb4d9d9a..000000000
Binary files a/application/resources/src/main/res/drawable-mdpi/ic_popup_expand_w.png and /dev/null differ
diff --git a/application/resources/src/main/res/drawable-mdpi/ic_popup_fullscreen.png b/application/resources/src/main/res/drawable-mdpi/ic_popup_fullscreen.png
new file mode 100644
index 000000000..0ae63690b
Binary files /dev/null and b/application/resources/src/main/res/drawable-mdpi/ic_popup_fullscreen.png differ
diff --git a/application/resources/src/main/res/drawable-xhdpi/ic_popup_expand_w.png b/application/resources/src/main/res/drawable-xhdpi/ic_popup_expand_w.png
deleted file mode 100644
index d67d38373..000000000
Binary files a/application/resources/src/main/res/drawable-xhdpi/ic_popup_expand_w.png and /dev/null differ
diff --git a/application/resources/src/main/res/drawable-xhdpi/ic_popup_fullscreen.png b/application/resources/src/main/res/drawable-xhdpi/ic_popup_fullscreen.png
new file mode 100644
index 000000000..090df1981
Binary files /dev/null and b/application/resources/src/main/res/drawable-xhdpi/ic_popup_fullscreen.png differ
diff --git a/application/resources/src/main/res/drawable-xxhdpi/ic_popup_expand_w.png b/application/resources/src/main/res/drawable-xxhdpi/ic_popup_expand_w.png
deleted file mode 100644
index dac922f79..000000000
Binary files a/application/resources/src/main/res/drawable-xxhdpi/ic_popup_expand_w.png and /dev/null differ
diff --git a/application/resources/src/main/res/drawable-xxhdpi/ic_popup_fullscreen.png b/application/resources/src/main/res/drawable-xxhdpi/ic_popup_fullscreen.png
new file mode 100644
index 000000000..0ad57c031
Binary files /dev/null and b/application/resources/src/main/res/drawable-xxhdpi/ic_popup_fullscreen.png differ
diff --git a/application/resources/src/main/res/drawable-xxxhdpi/ic_popup_expand_w.png b/application/resources/src/main/res/drawable-xxxhdpi/ic_popup_expand_w.png
deleted file mode 100644
index 2193c356b..000000000
Binary files a/application/resources/src/main/res/drawable-xxxhdpi/ic_popup_expand_w.png and /dev/null differ
diff --git a/application/resources/src/main/res/drawable-xxxhdpi/ic_popup_fullscreen.png b/application/resources/src/main/res/drawable-xxxhdpi/ic_popup_fullscreen.png
new file mode 100644
index 000000000..6e93e327b
Binary files /dev/null and b/application/resources/src/main/res/drawable-xxxhdpi/ic_popup_fullscreen.png differ
diff --git a/application/vlc-android/res/layout/video_popup.xml b/application/vlc-android/res/layout/video_popup.xml
index a82d1f7e1..202b6a922 100644
--- a/application/vlc-android/res/layout/video_popup.xml
+++ b/application/vlc-android/res/layout/video_popup.xml
@@ -25,7 +25,7 @@
android:id="@+id/popup_expand"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:src="@drawable/ic_popup_expand_w"
+ android:src="@drawable/ic_popup_fullscreen"
android:visibility="gone"
app:layout_constraintEnd_toStartOf="@+id/popup_close"
app:layout_constraintTop_toTopOf="parent"
diff --git a/application/vlc-android/src/org/videolan/vlc/gui/video/PopupManager.kt b/application/vlc-android/src/org/videolan/vlc/gui/video/PopupManager.kt
index 7e06f4312..9c2937b01 100644
--- a/application/vlc-android/src/org/videolan/vlc/gui/video/PopupManager.kt
+++ b/application/vlc-android/src/org/videolan/vlc/gui/video/PopupManager.kt
@@ -265,7 +265,7 @@ class PopupManager constructor(private val service: PlaybackService) : PlaybackS
builder.addAction(R.drawable.ic_popup_pause, service.getString(R.string.pause), piPlay)
else
builder.addAction(R.drawable.ic_popup_play, service.getString(R.string.play), piPlay)
- builder.addAction(R.drawable.ic_popup_expand_w, service.getString(R.string.popup_expand), piExpand)
+ builder.addAction(R.drawable.ic_popup_fullscreen, service.getString(R.string.popup_expand), piExpand)
service.startForeground(42, builder.build())
}
More information about the Android
mailing list