16 lines
No EOL
2.3 KiB
XML
16 lines
No EOL
2.3 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<RelativeLayout android:background="?selectableItemBackground" android:padding="@dimen/uikit_spacing_large" 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/user_profile_adapter_item_friend_avatar" style="@style/Avatar.Large" />
|
|
<com.discord.views.StatusView android:id="@id/user_profile_adapter_item_friend_status" android:layout_width="16.0dip" android:layout_height="wrap_content" android:src="@drawable/ic_status_idle_16dp" android:layout_alignBottom="@id/user_profile_adapter_item_friend_avatar" android:translationX="2.0dip" android:translationY="2.0dip" android:layout_alignEnd="@id/user_profile_adapter_item_friend_avatar" app:sv_background_color="?colorPrimary" app:sv_border_width="2.0dip" app:sv_corner_radius="2.0dip" />
|
|
<LinearLayout android:layout_centerVertical="true" android:layout_marginStart="@dimen/uikit_spacing_large" android:layout_marginEnd="@dimen/uikit_spacing_small" android:layout_toStartOf="@id/user_profile_adapter_item_friend_mutual" android:layout_toEndOf="@id/user_profile_adapter_item_friend_avatar" style="@style/UiKit.ViewGroup.LinearLayout">
|
|
<TextView android:id="@id/user_profile_adapter_item_friend_user_name" android:singleLine="true" style="@style/UiKit.TextView.Large" />
|
|
<com.discord.utilities.view.text.SimpleDraweeSpanTextView android:id="@id/user_profile_adapter_item_friend_user_game" android:paddingTop="@dimen/uikit_spacing_small" android:singleLine="true" style="@style/UiKit.TextView" />
|
|
</LinearLayout>
|
|
<LinearLayout android:id="@id/user_profile_adapter_item_friend_mutual" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_centerVertical="true" android:layout_alignParentEnd="true" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
|
|
<include layout="@layout/widget_user_profile_adapter_item_friend_mutual_server" />
|
|
<include layout="@layout/widget_user_profile_adapter_item_friend_mutual_server" />
|
|
<include layout="@layout/widget_user_profile_adapter_item_friend_mutual_server" />
|
|
<include layout="@layout/widget_user_profile_adapter_item_friend_mutual_server" />
|
|
</LinearLayout>
|
|
</RelativeLayout> |