zidootech / VideoAndHdmiIN

A demo project for Zidoo X9/X9S/X8 HDMI IN display with video playing and web
11 stars 3 forks source link

HDMIIN Video is still in the right top corner after resize #2

Closed cre8 closed 7 years ago

cre8 commented 7 years ago

I deleted the left video and the webview to maximize the hdmi in video, but it is still in the right corner.

My activity_main.xml looks like this:

<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent">

    <com.example.zidoopipdemo.view.PipSurfaceView
        android:id="@+id/home_ac_pipvideoview"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:background="@android:color/background_light"
        android:focusable="false"
        android:focusableInTouchMode="false" />
</RelativeLayout>

Is there another part in the code where the videosize is calculated?

cre8 commented 7 years ago

Okay, too simple:

I connected the box with android studio so the apk can run there. But not everything seems to be updated. After a manuell uninstall of the app and a reinstall everything worked fine.