[Android] video pip typo
diegofn
git at videolan.org
Sun Jun 28 10:40:17 CEST 2020
vlc-android | branch: master | diegofn <diegofn at me.com> | Sat Jun 6 15:40:44 2020 -0500| [9c40fa8927a260ffa30b11c3d7c99e1b6cdd057c] | committer: Nicolas Pomepuy
video pip typo
> https://code.videolan.org/videolan/vlc-android/commit/9c40fa8927a260ffa30b11c3d7c99e1b6cdd057c
---
application/resources/src/main/res/values-sw600dp/dimens.xml | 2 +-
application/resources/src/main/res/values/dimens.xml | 2 +-
application/vlc-android/res/layout/video_popup.xml | 2 +-
application/vlc-android/src/org/videolan/vlc/gui/view/PopupLayout.kt | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/application/resources/src/main/res/values-sw600dp/dimens.xml b/application/resources/src/main/res/values-sw600dp/dimens.xml
index 5348ee72f..e7aaa2bc3 100644
--- a/application/resources/src/main/res/values-sw600dp/dimens.xml
+++ b/application/resources/src/main/res/values-sw600dp/dimens.xml
@@ -15,7 +15,7 @@
<!-- pop-Up player -->
<dimen name="video_pip_width">512dp</dimen>
- <dimen name="video_pip_heigth">288dp</dimen>
+ <dimen name="video_pip_height">288dp</dimen>
<dimen name="dialog_sd_wisard_width">448dp</dimen>
<dimen name="dialog_sd_wisard_height">576dp</dimen>
diff --git a/application/resources/src/main/res/values/dimens.xml b/application/resources/src/main/res/values/dimens.xml
index 5d811c2c1..84292ceb0 100644
--- a/application/resources/src/main/res/values/dimens.xml
+++ b/application/resources/src/main/res/values/dimens.xml
@@ -41,7 +41,7 @@
<dimen name="video_pip_width">240dp</dimen>
- <dimen name="video_pip_heigth">135dp</dimen>
+ <dimen name="video_pip_height">135dp</dimen>
<!-- Adv options -->
<dimen name="option_width">64dp</dimen>
diff --git a/application/vlc-android/res/layout/video_popup.xml b/application/vlc-android/res/layout/video_popup.xml
index 07235b776..a82d1f7e1 100644
--- a/application/vlc-android/res/layout/video_popup.xml
+++ b/application/vlc-android/res/layout/video_popup.xml
@@ -3,7 +3,7 @@
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="@dimen/video_pip_width"
- android:layout_height="@dimen/video_pip_heigth"
+ android:layout_height="@dimen/video_pip_height"
android:keepScreenOn="true">
<SurfaceView
diff --git a/application/vlc-android/src/org/videolan/vlc/gui/view/PopupLayout.kt b/application/vlc-android/src/org/videolan/vlc/gui/view/PopupLayout.kt
index 60df6c05e..7613ef137 100644
--- a/application/vlc-android/src/org/videolan/vlc/gui/view/PopupLayout.kt
+++ b/application/vlc-android/src/org/videolan/vlc/gui/view/PopupLayout.kt
@@ -110,7 +110,7 @@ class PopupLayout : ConstraintLayout, ScaleGestureDetector.OnScaleGestureListene
windowManager = context.applicationContext.getSystemService(Context.WINDOW_SERVICE) as WindowManager
popupWidth = context.resources.getDimensionPixelSize(R.dimen.video_pip_width)
- popupHeight = context.resources.getDimensionPixelSize(R.dimen.video_pip_heigth)
+ popupHeight = context.resources.getDimensionPixelSize(R.dimen.video_pip_height)
val params = WindowManager.LayoutParams(
popupWidth,
popupHeight,
More information about the Android
mailing list