Improved video preview auto resize (need recent SDK)

This commit is contained in:
Sylvain Berfini 2019-09-09 14:09:10 +02:00
parent c67f4ee335
commit 7818ead291
2 changed files with 5 additions and 5 deletions

View file

@ -20,10 +20,10 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" /> android:layout_height="match_parent" />
<TextureView <org.linphone.core.tools.AutoFitTextureView
android:id="@+id/local_preview_texture" android:id="@+id/local_preview_texture"
android:layout_width="wrap_content" android:layout_width="200dp"
android:layout_height="100dp" android:layout_height="200dp"
android:layout_alignParentRight="true" android:layout_alignParentRight="true"
android:layout_alignParentBottom="true" /> android:layout_alignParentBottom="true" />

View file

@ -20,9 +20,9 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent"/> android:layout_height="match_parent"/>
<TextureView <org.linphone.core.tools.AutoFitTextureView
android:id="@+id/local_preview_texture" android:id="@+id/local_preview_texture"
android:layout_width="wrap_content" android:layout_width="200dp"
android:layout_height="200dp" android:layout_height="200dp"
android:layout_alignParentRight="true" android:layout_alignParentRight="true"
android:layout_alignParentBottom="true" /> android:layout_alignParentBottom="true" />