12 lines
No EOL
2.6 KiB
XML
12 lines
No EOL
2.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<RelativeLayout android:orientation="horizontal" android:background="?bg_pressed_highlight" android:layout_height="24.0dip" android:layout_marginBottom="8.0dip" style="@style/UiKit.ViewGroup.RelativeLayout"
|
|
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
|
|
<com.facebook.drawee.view.SimpleDraweeView android:id="@id/channels_item_voice_user_avatar" android:layout_centerVertical="true" android:layout_marginStart="36.0dip" android:layout_marginEnd="8.0dip" style="@style/Avatar.Small" />
|
|
<TextView android:textColor="?colorChannelDefault" android:id="@id/channels_item_voice_user_name" android:singleLine="true" android:layout_centerVertical="true" android:layout_marginEnd="4.0dip" android:layout_toStartOf="@id/indicators_container" android:layout_toEndOf="@id/channels_item_voice_user_avatar" style="@style/UiKit.TextView" />
|
|
<LinearLayout android:gravity="center_vertical" android:id="@id/indicators_container" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_centerVertical="true" android:layout_marginEnd="@dimen/uikit_spacing_large" android:layout_alignParentEnd="true">
|
|
<ImageView android:id="@id/channels_item_voice_user_camera" android:layout_width="16.0dip" android:layout_height="16.0dip" android:src="@drawable/ic_videocam_white_24dp" android:contentDescription="@string/sample_empty_string" app:tint="?colorChannelDefault" style="@style/UiKit.ImageView" />
|
|
<ImageView android:id="@id/channels_item_voice_user_headphones" android:layout_width="16.0dip" android:layout_height="16.0dip" android:src="@drawable/ic_deafen_v2_deafened" android:contentDescription="@string/sample_empty_string" android:layout_marginStart="6.0dip" app:tint="?colorChannelDefault" style="@style/UiKit.ImageView" />
|
|
<ImageView android:id="@id/channels_item_voice_user_microphone" android:layout_width="16.0dip" android:layout_height="16.0dip" android:src="@drawable/ic_mute_v2_muted" android:contentDescription="@string/sample_empty_string" android:layout_marginStart="6.0dip" app:tint="?colorChannelDefault" style="@style/UiKit.ImageView" />
|
|
<TextView android:textSize="14.0sp" android:textColor="@color/white" android:id="@id/channels_item_voice_user_live" 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:text="@string/live" android:textAllCaps="true" android:fontFamily="@font/whitney_semibold" />
|
|
</LinearLayout>
|
|
</RelativeLayout> |