Skip to content

Commit

Permalink
Fixed TextureView crash with setBackgroundDrawable (natario1#297)
Browse files Browse the repository at this point in the history
  • Loading branch information
Keyrillanskiy authored and natario1 committed Oct 24, 2018
1 parent ee1d397 commit d0bb8cd
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions cameraview/src/main/res/layout/cameraview_texture_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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" />

0 comments on commit d0bb8cd

Please sign in to comment.