Fixed TextureView crash with setBackgroundDrawable (#297)

solution from here - https://stackoverflow.com/a/47796036
pull/304/head
Keyrillanskiy 6 years ago committed by Mattia Iavarone
parent ee1d3979f9
commit d0bb8cd31c
  1. 5
      cameraview/src/main/res/layout/cameraview_texture_view.xml

@ -4,5 +4,6 @@
android:id="@+id/texture_view"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center"
android:layout_gravity="center" />
android:layout_gravity="center"
android:background="@null"
android:gravity="center" />
Loading…
Cancel
Save