44 lines
1.9 KiB
XML
44 lines
1.9 KiB
XML
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
<org.thoughtcrime.securesms.components.webrtc.CallParticipantView 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"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
tools:layout_height="match_parent"
|
||
|
tools:layout_width="match_parent">
|
||
|
|
||
|
<org.thoughtcrime.securesms.components.AvatarImageView
|
||
|
android:id="@+id/call_participant_item_avatar"
|
||
|
android:layout_width="0dp"
|
||
|
android:layout_height="0dp"
|
||
|
app:layout_constraintBottom_toBottomOf="parent"
|
||
|
app:layout_constraintDimensionRatio="h,1:1"
|
||
|
app:layout_constraintEnd_toEndOf="parent"
|
||
|
app:layout_constraintStart_toStartOf="parent"
|
||
|
app:layout_constraintTop_toTopOf="parent"
|
||
|
app:layout_constraintWidth_percent="0.5"
|
||
|
tools:srcCompat="@tools:sample/avatars" />
|
||
|
|
||
|
<ImageView
|
||
|
android:id="@+id/call_participant_item_pip_avatar"
|
||
|
android:layout_width="200dp"
|
||
|
android:layout_height="200dp"
|
||
|
android:visibility="gone"
|
||
|
app:layout_constraintBottom_toBottomOf="parent"
|
||
|
app:layout_constraintEnd_toEndOf="parent"
|
||
|
app:layout_constraintStart_toStartOf="parent"
|
||
|
app:layout_constraintTop_toTopOf="parent"
|
||
|
tools:srcCompat="@tools:sample/avatars" />
|
||
|
|
||
|
<org.thoughtcrime.securesms.components.webrtc.TextureViewRenderer
|
||
|
android:id="@+id/call_participant_renderer"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="match_parent"
|
||
|
android:visibility="gone"
|
||
|
app:layout_constraintBottom_toBottomOf="parent"
|
||
|
app:layout_constraintEnd_toEndOf="parent"
|
||
|
app:layout_constraintStart_toStartOf="parent"
|
||
|
app:layout_constraintTop_toTopOf="parent" />
|
||
|
|
||
|
</org.thoughtcrime.securesms.components.webrtc.CallParticipantView>
|