From c4c7463f546ffb2eec7985c0a3d0203cbb8381bb Mon Sep 17 00:00:00 2001
From: Scott Main
Date: Thu, 1 Aug 2013 10:54:16 -0700
Subject: add note about VideoView "wrap_content" layout issue bug: 9364101
Change-Id: I21881b30f338e9cdd7ffaa509edcf71e9478ded5
---
docs/html/about/versions/android-4.3.jd | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/docs/html/about/versions/android-4.3.jd b/docs/html/about/versions/android-4.3.jd
index bccc9d5fd7c2..326919e202fc 100644
--- a/docs/html/about/versions/android-4.3.jd
+++ b/docs/html/about/versions/android-4.3.jd
@@ -19,6 +19,7 @@ sdk.platform.apiLevel=18
- If your app uses implicit intents...
- If your app depends on accounts...
+ - If your app uses VideoView...
Restricted Profiles
@@ -213,6 +214,21 @@ information, see the section
below about Supporting accounts in a restricted profile.
+If your app uses VideoView...
+
+Your video might appear smaller on Android 4.3.
+
+On previous versions of Android, the {@link android.widget.VideoView} widget incorrectly
+calculated the {@code "wrap_content"} value for {@link android.R.attr#layout_height} and {@link
+android.R.attr#layout_width} to be the same as {@code "match_parent"}. So while using {@code
+"wrap_content"} for the height or width may have previously provided your desired video layout,
+doing so may result in a much smaller video on Android 4.3 and higher. To fix the issue, replace
+{@code "wrap_content"} with {@code "match_parent"} and verify your video appears as expected on
+Android 4.3 as well as on older versions.
+
+
+
+
Restricted Profiles
--
cgit v1.2.3-59-g8ed1b