aboutsummaryrefslogblamecommitdiff
path: root/app/src/main/res/layout/item_private_message_received.xml
blob: 6b8f0e68f14a6e086fe9dcba055474974a96bf56 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
















                                                                                                             
                                                    




                                                                         

                                   



















                                                                                                





                                                                                                 

                                                                       

                                            

                                                






                                                                                                 

                                                   
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:paddingTop="8dp"
    android:paddingBottom="8dp"
    android:paddingStart="16dp"
    android:paddingEnd="16dp"
    android:animateLayoutChanges="true">

    <pl.droidsonroids.gif.GifImageView
        android:id="@+id/avatar_image_view_item_private_message_received"
        android:layout_width="36dp"
        android:layout_height="36dp"
        app:layout_constraintBottom_toBottomOf="parent"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toTopOf="parent" />

    <TextView
        android:id="@+id/message_text_view_item_private_message_received"
        android:layout_width="0dp"
        android:layout_height="wrap_content"
        android:paddingTop="8dp"
        android:paddingBottom="8dp"
        android:paddingStart="16dp"
        android:paddingEnd="16dp"
        android:layout_marginStart="16dp"
        android:textSize="?attr/content_font_16"
        app:layout_constraintBottom_toTopOf="@id/time_text_view_item_private_message_received"
        app:layout_constraintStart_toEndOf="@id/avatar_image_view_item_private_message_received"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintTop_toTopOf="parent"
        app:layout_constraintWidth_max="wrap"
        app:layout_constraintWidth_percent="0.7"
        app:layout_constraintHorizontal_bias="0" />

    <TextView
        android:id="@+id/time_text_view_item_private_message_received"
        android:layout_width="0dp"
        android:layout_height="wrap_content"
        android:layout_marginStart="16dp"
        android:textSize="?attr/font_default"
        android:visibility="gone"
        app:layout_constraintBottom_toBottomOf="parent"
        app:layout_constraintStart_toEndOf="@id/avatar_image_view_item_private_message_received"
        app:layout_constraintTop_toBottomOf="@id/message_text_view_item_private_message_received"
        app:layout_constraintWidth_max="wrap"
        app:layout_constraintWidth_percent="0.7"
        app:layout_constraintHorizontal_bias="0" />

    <ImageView
        android:id="@+id/copy_image_view_item_private_message_received"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:padding="8dp"
        android:src="@drawable/ic_round_copy_16"
        android:clickable="true"
        android:focusable="true"
        android:background="?attr/actionBarItemBackground"
        android:visibility="gone"
        app:layout_constraintStart_toEndOf="@id/time_text_view_item_private_message_received"
        app:layout_constraintTop_toBottomOf="@id/message_text_view_item_private_message_received"
        app:layout_constraintBottom_toBottomOf="parent" />

</androidx.constraintlayout.widget.ConstraintLayout>