apkfuckery/com.discord/res/layout/widget_channels_list_item_channel_voice.xml

10 lines
2.1 KiB
XML
Raw Normal View History

2019-02-04 20:05:16 +00:00
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="40.0dip"
xmlns:android="http://schemas.android.com/apk/res/android">
<ImageView android:id="@id/channels_item_channel_voice_arrow" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="16.0dip" android:src="@drawable/icon_channel_arrow" android:layout_centerVertical="true" android:contentDescription="@string/shared_empty_string" />
<TextView android:textSize="12.0sp" android:textColor="@color/theme_white" android:ellipsize="end" android:gravity="center_vertical" android:id="@id/channels_item_channel_voice_name" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_marginLeft="16.0dip" android:layout_marginRight="16.0dip" android:singleLine="true" android:layout_toLeftOf="@id/channels_item_channel_status_container" android:layout_toRightOf="@id/channels_item_channel_voice_arrow" fontPath="@string/font_whitney_semibold" />
<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/channels_item_channel_status_container" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_marginRight="16.0dip" android:layout_alignParentRight="true">
<TextView android:textSize="12.0sp" android:textColor="@color/theme_grey_4" android:ellipsize="end" android:id="@id/channels_item_channel_user_count" android:background="@drawable/drawable_user_count_background" android:paddingLeft="5.0dip" android:paddingTop="2.0dip" android:paddingRight="5.0dip" android:paddingBottom="2.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" fontPath="@string/font_whitney_medium" />
<ImageView android:id="@id/channels_item_channel_voice_locked" android:visibility="gone" android:layout_width="18.0dip" android:layout_height="18.0dip" android:layout_marginLeft="16.0dip" android:src="@drawable/icon_locked_small" android:contentDescription="@string/shared_empty_string" />
</LinearLayout>
</RelativeLayout>