2020-09-10 16:59:47 -04:00
|
|
|
<?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"
|
2020-11-11 15:11:03 -05:00
|
|
|
android:layout_width="112dp"
|
|
|
|
android:layout_height="112dp"
|
2020-09-10 16:59:47 -04:00
|
|
|
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" />
|
|
|
|
|
|
|
|
<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" />
|
|
|
|
|
2020-11-20 15:42:46 -05:00
|
|
|
<androidx.appcompat.widget.AppCompatImageView
|
|
|
|
android:id="@+id/call_participant_mic_muted"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="12dp"
|
|
|
|
android:layout_marginBottom="12dp"
|
2020-12-02 13:43:05 -05:00
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
2020-11-20 15:42:46 -05:00
|
|
|
app:srcCompat="@drawable/ic_mic_off_solid_18"
|
2020-12-02 13:43:05 -05:00
|
|
|
app:tint="@color/core_white" />
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/call_participant_info_overlay"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:background="@color/transparent_black_40"
|
|
|
|
android:gravity="center"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:padding="16dp"
|
|
|
|
android:visibility="gone"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
2020-11-20 15:42:46 -05:00
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
2020-12-02 13:43:05 -05:00
|
|
|
tools:visibility="visible">
|
|
|
|
|
|
|
|
<androidx.appcompat.widget.AppCompatImageView
|
|
|
|
android:id="@+id/call_participant_info_icon"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
tools:drawableTint="@color/core_white"
|
|
|
|
tools:srcCompat="@drawable/ic_block_tinted_24" />
|
|
|
|
|
|
|
|
<org.thoughtcrime.securesms.components.emoji.EmojiTextView
|
|
|
|
android:id="@+id/call_participant_info_message"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="12dp"
|
|
|
|
android:layout_marginBottom="12dp"
|
|
|
|
android:gravity="center_horizontal"
|
|
|
|
android:lines="3"
|
|
|
|
android:textColor="@color/core_white"
|
|
|
|
tools:text="J. Jonah Jameson is blocked." />
|
|
|
|
|
|
|
|
<com.google.android.material.button.MaterialButton
|
|
|
|
android:id="@+id/call_participant_info_more_info"
|
|
|
|
style="@style/Signal.Widget.Button.Small.Primary"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/CallParticipantView__more_info" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
2020-11-20 15:42:46 -05:00
|
|
|
|
2020-09-10 16:59:47 -04:00
|
|
|
</org.thoughtcrime.securesms.components.webrtc.CallParticipantView>
|