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

19 lines
3.3 KiB
XML
Raw Normal View History

2019-02-04 20:05:16 +00:00
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/profile_strip_wrap" android:background="@color/theme_grey_channels" android:paddingLeft="4.0dip" android:paddingRight="4.0dip" android:layout_width="fill_parent" android:layout_height="42.0dip"
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:fresco="http://schemas.android.com/apk/res-auto">
<RelativeLayout android:id="@id/profile_strip_avatar" android:layout_width="@dimen/avatar_size_medium" android:layout_height="@dimen/avatar_size_medium" android:layout_marginLeft="8.0dip" android:layout_marginRight="12.0dip">
<com.facebook.drawee.view.SimpleDraweeView android:id="@id/profile_strip_avatar_image" style="@style/Avatar.Medium" />
<RelativeLayout android:layout_width="10.0dip" android:layout_height="10.0dip" android:layout_marginRight="-1.5dip" android:layout_marginBottom="-1.5dip" android:layout_alignParentRight="true" android:layout_alignParentBottom="true">
<com.facebook.drawee.view.SimpleDraweeView android:layout_width="fill_parent" android:layout_height="fill_parent" fresco:placeholderImage="@color/theme_grey_channels" fresco:roundAsCircle="true" />
<com.facebook.drawee.view.SimpleDraweeView android:id="@id/profile_strip_status" android:layout_width="7.0dip" android:layout_height="7.0dip" android:layout_centerHorizontal="true" android:layout_centerVertical="true" fresco:placeholderImage="@color/theme_status_grey" fresco:roundAsCircle="true" />
</RelativeLayout>
</RelativeLayout>
<TextView android:textSize="12.0sp" android:textColor="@color/theme_white" android:ellipsize="end" android:id="@id/profile_strip_name" android:layout_width="0.0dip" android:layout_height="wrap_content" android:singleLine="true" android:layout_weight="1.0" fontPath="@string/font_whitney_semibold" />
<RelativeLayout android:id="@id/profile_strip_mute_wrap" android:layout_width="wrap_content" android:layout_height="wrap_content">
<ImageView android:id="@id/profile_strip_mute" android:background="?android:selectableItemBackground" android:paddingLeft="8.0dip" android:paddingRight="8.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/drawable_ic_mic_white_18dp" android:scaleType="center" android:contentDescription="@string/shared_empty_string" />
</RelativeLayout>
<RelativeLayout android:id="@id/profile_strip_deafen_wrap" android:layout_width="wrap_content" android:layout_height="wrap_content">
<ImageView android:id="@id/profile_strip_deafen" android:background="?android:selectableItemBackground" android:paddingLeft="8.0dip" android:paddingRight="8.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/drawable_ic_headset_white_18dp" android:scaleType="center" android:contentDescription="@string/shared_empty_string" />
</RelativeLayout>
<ImageView android:id="@id/profile_strip_settings" android:background="?android:selectableItemBackground" android:paddingLeft="8.0dip" android:paddingRight="8.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/ic_settings_white_18dp" android:scaleType="center" android:contentDescription="@string/shared_empty_string" />
</LinearLayout>