You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

35 lines
1.3 KiB

<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="@android:color/black"
android:keepScreenOn="true" >
<!--
the double FrameLayout is necessary here to do cropping on the bottom right
(which requires the surface not be centered), while keeping the result centered
-->
<FrameLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:fitsSystemWindows="false" >
<FrameLayout
android:id="@+id/remote_player_surface_frame"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:foregroundGravity="clip_horizontal|clip_vertical" >
<SurfaceView
android:id="@+id/remote_player_surface"
android:layout_width="1dp"
android:layout_height="1dp"/>
<SurfaceView
android:id="@+id/remote_subtitles_surface"
android:layout_width="1dp"
android:layout_height="1dp" />
</FrameLayout>
</FrameLayout>
</RelativeLayout>