mirror of
https://github.com/lizongying/my-tv.git
synced 2026-11-08 20:46:31 +08:00
fix video size on phone
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 1.6 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 1.1 KiB |
@@ -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,3 +1,4 @@
|
||||
<resources>
|
||||
<color name="fastlane_background">#30000000</color>
|
||||
<color name="black">#000</color>
|
||||
</resources>
|
||||
@@ -1,3 +1,3 @@
|
||||
<resources>
|
||||
<string name="app_name">My TV</string>
|
||||
<string name="app_name">我的电视</string>
|
||||
</resources>
|
||||
@@ -5,5 +5,4 @@
|
||||
<item name="browsePaddingEnd">11dp</item>
|
||||
<item name="browseRowsMarginTop">54dp</item>
|
||||
</style>
|
||||
|
||||
</resources>
|
||||
Reference in New Issue
Block a user