14 lines
No EOL
3.2 KiB
XML
14 lines
No EOL
3.2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout android:background="?colorBackgroundPrimary" android:layout_width="fill_parent" android:layout_height="wrap_content" style="@style/UiKit.ViewGroup.LinearLayout"
|
|
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
|
|
<LinearLayout android:gravity="center_vertical" android:background="?selectableItemBackground" android:paddingLeft="@dimen/uikit_spacing_large" android:paddingTop="@dimen/uikit_spacing_medium" android:paddingRight="@dimen/uikit_spacing_large" android:paddingBottom="@dimen/uikit_spacing_medium" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
|
|
<com.discord.views.VoiceUserView android:id="@id/voice_user_list_item_user_avatar" android:layout_width="wrap_content" android:layout_height="wrap_content" app:vuv_avatar_size="32.0dip" />
|
|
<TextView android:textSize="@dimen/uikit_textsize_large" android:textColor="?colorHeaderPrimary" android:id="@id/voice_user_list_item_user_name" android:layout_width="0.0dip" android:layout_marginLeft="@dimen/uikit_spacing_large" android:layout_marginRight="@dimen/uikit_spacing_large" android:singleLine="true" android:layout_weight="1.0" style="@style/UiKit.TextView" />
|
|
<TextView android:textSize="14.0sp" android:textColor="@color/white" android:id="@id/voice_user_list_item_live_indicator" android:background="@drawable/bg_stream_live_indicator" android:paddingLeft="6.0dip" android:paddingRight="6.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginRight="16.0dip" android:text="@string/live" android:textAllCaps="true" android:fontFamily="@font/whitney_semibold" />
|
|
<ImageView android:id="@id/voice_user_list_item_spectating_indicator" android:layout_width="16.0dip" android:layout_height="16.0dip" android:layout_marginRight="16.0dip" android:src="@drawable/ic_spectate" android:contentDescription="@string/video" app:tint="?colorInteractiveNormal" />
|
|
<ImageView android:id="@id/voice_user_list_item_mute_indicator" android:layout_width="16.0dip" android:layout_height="16.0dip" android:layout_marginRight="16.0dip" android:src="?ic_mic_muted_red_strike_interactiveNormal" android:contentDescription="@string/form_label_muted" />
|
|
<ImageView android:id="@id/voice_user_list_item_deafen_indicator" android:layout_width="16.0dip" android:layout_height="16.0dip" android:layout_marginRight="16.0dip" android:src="?ic_headset_deafened_red_strike_interactiveNormal" android:contentDescription="@string/sound_deafen" />
|
|
<ImageView android:id="@id/voice_user_list_item_video_indicator" android:layout_width="16.0dip" android:layout_height="16.0dip" android:layout_marginRight="16.0dip" android:src="@drawable/ic_videocam_white_24dp" android:contentDescription="@string/video" app:tint="?colorInteractiveNormal" />
|
|
</LinearLayout>
|
|
<com.discord.views.StreamPreviewView android:id="@id/voice_user_list_item_user_stream_preview" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/uikit_spacing_large" android:layout_marginTop="@dimen/uikit_spacing_medium" android:layout_marginRight="@dimen/uikit_spacing_large" android:layout_marginBottom="@dimen/uikit_spacing_large" />
|
|
</LinearLayout> |