Fix API19 crash when inflating new WebRTC UI.

This commit is contained in:
Cody Henthorne 2020-09-30 16:36:49 -04:00 committed by Alan Evans
parent 3796ce69e4
commit c6ccfd7e75

View file

@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/call_screen_large_local_renderer_frame" android:id="@+id/call_screen_large_local_renderer_frame"
android:layout_width="match_parent" android:layout_width="match_parent"
@ -22,11 +23,11 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="center" android:layout_gravity="center"
android:drawableTop="@drawable/ic_video_off_solid_white_28"
android:text="@string/WebRtcCallView__your_video_is_off" android:text="@string/WebRtcCallView__your_video_is_off"
android:textAppearance="@style/TextAppearance.Signal.Body2" android:textAppearance="@style/TextAppearance.Signal.Body2"
android:textColor="@color/white" android:textColor="@color/white"
android:visibility="gone" android:visibility="gone"
tools:visibility="visible"/> app:drawableTopCompat="@drawable/ic_video_off_solid_white_28"
tools:visibility="visible" />
</FrameLayout> </FrameLayout>