14 lines
3.6 KiB
XML
14 lines
3.6 KiB
XML
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
<merge xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" android:layout_height="match_parent">
|
||
|
<ImageView android:id="@+id/stage_channel_speaker_mute_indicator" android:background="@drawable/drawable_uikit_primary_light_000_circle" android:padding="4dp" android:focusable="true" android:visibility="gone" android:layout_width="24dp" android:layout_height="24dp" android:layout_marginTop="4dp" android:src="@drawable/ic_mic_muted_interactiveactive_light_24dp" android:contentDescription="@string/voice_channel_muted" android:layout_marginStart="4dp"/>
|
||
|
<ImageView android:id="@+id/stage_channel_speaker_deafen_indicator" android:background="@drawable/drawable_uikit_primary_light_000_circle" android:padding="4dp" android:focusable="true" android:visibility="gone" android:layout_width="24dp" android:layout_height="24dp" android:layout_marginTop="4dp" android:src="@drawable/ic_headset_deafened_interactiveactive_light_24dp" android:contentDescription="@string/voice_channel_deafened" android:layout_marginStart="4dp"/>
|
||
|
<ImageView android:layout_gravity="end" android:id="@+id/stage_channel_speaker_mod_indicator" android:focusable="true" android:visibility="gone" android:layout_width="24dp" android:layout_height="24dp" android:layout_marginTop="4dp" android:src="@drawable/ic_moderator_shield_24dp" android:contentDescription="@string/stage_moderator_tooltip" android:layout_marginEnd="4dp"/>
|
||
|
<com.discord.views.calls.SpeakerPulseView android:layout_gravity="center" android:id="@+id/stage_channel_speaker_pulse" android:padding="32dp" android:layout_width="wrap_content" android:layout_height="wrap_content">
|
||
|
<com.discord.views.VoiceUserView android:layout_gravity="center" android:id="@+id/stage_channel_speaker" android:layout_width="@dimen/avatar_size_extra_large" android:layout_height="@dimen/avatar_size_extra_large" app:vuv_animate_avatar_when_ringing="false" app:vuv_fade_when_disconnected="true"/>
|
||
|
</com.discord.views.calls.SpeakerPulseView>
|
||
|
<androidx.constraintlayout.widget.ConstraintLayout android:layout_gravity="bottom|center_vertical|center_horizontal|center" android:orientation="horizontal" android:background="@drawable/bg_stream_label" android:paddingLeft="8dp" android:paddingTop="4dp" android:paddingRight="8dp" android:paddingBottom="4dp" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="4dp" android:layout_marginRight="4dp" android:layout_marginBottom="4dp" android:layout_marginHorizontal="4dp" android:paddingHorizontal="8dp" android:paddingVertical="4dp">
|
||
|
<ImageView android:id="@+id/stage_channel_speaker_blocked" android:background="@drawable/drawable_circle_white" android:padding="2dp" android:src="@drawable/ic_blocked_12dp" android:importantForAccessibility="no" app:layout_constraintBottom_toBottomOf="0" app:layout_constraintStart_toStartOf="0" app:layout_constraintTop_toTopOf="0" app:tint="?attr/colorStatusDangerBackground" style="@style/UiKit_ImageView"/>
|
||
|
<TextView android:textColor="@color/white" android:id="@+id/stage_channel_speaker_name" android:layout_width="wrap_content" android:layout_height="wrap_content" android:drawablePadding="6dp" android:layout_marginStart="4dp" app:layout_constraintBottom_toBottomOf="@+id/stage_channel_speaker_blocked" app:layout_constraintEnd_toEndOf="0" app:layout_constraintStart_toEndOf="@+id/stage_channel_speaker_blocked" app:layout_constraintTop_toTopOf="@+id/stage_channel_speaker_blocked" style="@style/UiKit_TextView_SingleLine"/>
|
||
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
||
|
</merge>
|