16 lines
No EOL
3.8 KiB
XML
16 lines
No EOL
3.8 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<androidx.constraintlayout.widget.ConstraintLayout android:background="?selectableItemBackground" android:padding="@dimen/uikit_spacing_large" android:layout_width="fill_parent" android:layout_height="wrap_content"
|
|
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/add_friend_user_item_avatar" android:layout_width="40.0dip" android:layout_height="40.0dip" android:layout_marginEnd="@dimen/uikit_spacing_medium" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintTop_toTopOf="parent" style="@style/Avatar.Standard" />
|
|
<com.discord.views.StatusView android:id="@id/add_friend_user_item_status" android:layout_width="16.0dip" android:layout_height="wrap_content" android:translationX="2.0dip" android:translationY="2.0dip" app:layout_constraintBottom_toBottomOf="@id/add_friend_user_item_avatar" app:layout_constraintRight_toRightOf="@id/add_friend_user_item_avatar" app:sv_background_color="?colorPrimary" app:sv_border_width="3.0dip" app:sv_corner_radius="4.0dip" />
|
|
<LinearLayout android:gravity="start|center" android:id="@id/add_friend_user_item_text" android:layout_width="0.0dip" android:layout_height="0.0dip" android:layout_marginStart="@dimen/uikit_spacing_medium" android:layout_marginEnd="@dimen/uikit_spacing_medium" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintLeft_toRightOf="@id/add_friend_user_item_avatar" app:layout_constraintRight_toLeftOf="@id/add_friend_user_item_buttons" app:layout_constraintTop_toTopOf="parent" style="@style/UiKit.ViewGroup.LinearLayout">
|
|
<TextView android:textAppearance="@style/UiKit.TextAppearance.Bold" android:textSize="@dimen/uikit_textsize_medium" android:textColor="?colorHeaderPrimary" android:ellipsize="end" android:id="@id/add_friend_user_item_name" android:maxLines="1" style="@style/UiKit.TextView" />
|
|
<TextView android:textSize="@dimen/uikit_textsize_small" android:textColor="?colorHeaderSecondary" android:ellipsize="end" android:id="@id/add_friend_user_item_name_secondary" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintTop_toTopOf="parent" style="@style/UiKit.TextView.SingleLine" />
|
|
</LinearLayout>
|
|
<LinearLayout android:id="@id/add_friend_user_item_buttons" android:layout_width="wrap_content" android:layout_height="wrap_content" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintRight_toRightOf="parent" app:layout_constraintTop_toTopOf="parent" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
|
|
<androidx.appcompat.widget.AppCompatImageView android:id="@id/add_friend_user_send_button" android:layout_width="wrap_content" android:layout_height="wrap_content" app:srcCompat="@drawable/ic_add_friend_send" />
|
|
<androidx.appcompat.widget.AppCompatImageView android:id="@id/add_friend_user_check_image" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginStart="@dimen/uikit_spacing_large" app:srcCompat="@drawable/ic_add_friend_green_check" />
|
|
<androidx.appcompat.widget.AppCompatImageView android:id="@id/add_friend_user_accept_button" android:background="?primary_700_circle" android:layout_marginStart="@dimen/uikit_spacing_large" app:srcCompat="@drawable/ic_check_green_24dp" style="@style/FriendsList.FriendsItem.ActionButton" />
|
|
<androidx.appcompat.widget.AppCompatImageView android:id="@id/add_friend_user_decline_button" android:background="?primary_700_circle" android:layout_marginStart="@dimen/uikit_spacing_large" app:srcCompat="@drawable/ic_close_white_24dp" app:tint="@color/status_red" style="@style/FriendsList.FriendsItem.ActionButton" />
|
|
</LinearLayout>
|
|
</androidx.constraintlayout.widget.ConstraintLayout> |