Fix expansion of items within StyledPlayerView popup

Issue: #9086
#minor-release
PiperOrigin-RevId: 380756562
This commit is contained in:
olly 2021-06-22 09:33:38 +01:00 committed by Oliver Woodman
parent c7b3fa367b
commit 9df2e42d4d
4 changed files with 6 additions and 4 deletions

View File

@ -47,6 +47,9 @@
([#9061](https://github.com/google/ExoPlayer/issues/9061)).
* Fix progress bar flickering immediately after the user seeks
([#9049](https://github.com/google/ExoPlayer/pull/9049)).
* Fix `StyledPlayerView` and `StyledPlayerControlView` popup menu items
not expanding to occupy the full width of the popup
([#9086](https://github.com/google/ExoPlayer/issues/9086)).
* Video:
* Fix `IncorrectContextUseViolation` strict mode warning on Android 11
([#8246](https://github.com/google/ExoPlayer/pull/8246)).

View File

@ -16,8 +16,7 @@
<androidx.recyclerview.widget.RecyclerView
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/exo_settings_listview"
android:layout_width="wrap_content"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_gravity="center_vertical"
android:background="@color/exo_black_opacity_70"
android:scrollbars="vertical"/>

View File

@ -14,7 +14,7 @@
limitations under the License.
-->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:minWidth="@dimen/exo_setting_width"
android:minHeight="@dimen/exo_settings_height"

View File

@ -14,7 +14,7 @@
limitations under the License.
-->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:minWidth="@dimen/exo_setting_width"
android:minHeight="@dimen/exo_settings_height"