fix video size on phone

This commit is contained in:
Li ZongYing
2023-12-26 11:21:03 +08:00
parent 657b8714a0
commit bb4fd56845
14 changed files with 60 additions and 89 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

+3
View File
@@ -4,11 +4,14 @@
android:id="@+id/player_fragment"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/black"
android:keepScreenOn="true">
<androidx.media3.ui.PlayerView
android:id="@+id/player_view"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_gravity="center"
app:resize_mode="fill"
app:use_controller="false" />
</FrameLayout>
+1
View File
@@ -1,3 +1,4 @@
<resources>
<color name="fastlane_background">#30000000</color>
<color name="black">#000</color>
</resources>
+1 -1
View File
@@ -1,3 +1,3 @@
<resources>
<string name="app_name">My TV</string>
<string name="app_name">我的电视</string>
</resources>
-1
View File
@@ -5,5 +5,4 @@
<item name="browsePaddingEnd">11dp</item>
<item name="browseRowsMarginTop">54dp</item>
</style>
</resources>