diff options
author | Docile-Alligator <chineseperson5@gmail.com> | 2022-05-13 12:18:07 +0000 |
---|---|---|
committer | Docile-Alligator <chineseperson5@gmail.com> | 2022-05-13 12:18:07 +0000 |
commit | 345392a83372ae400ca886f468e7f1745e65666b (patch) | |
tree | 7a493d3bc4a6d599030888a3f2360316148f83bf /app/src/main/res/layout/item_private_message_received.xml | |
parent | 9a994ca5312da8269394537dc37e7ea072591a6d (diff) | |
download | infinity-for-reddit-345392a83372ae400ca886f468e7f1745e65666b.tar infinity-for-reddit-345392a83372ae400ca886f468e7f1745e65666b.tar.gz infinity-for-reddit-345392a83372ae400ca886f468e7f1745e65666b.tar.bz2 infinity-for-reddit-345392a83372ae400ca886f468e7f1745e65666b.tar.lz infinity-for-reddit-345392a83372ae400ca886f468e7f1745e65666b.tar.xz infinity-for-reddit-345392a83372ae400ca886f468e7f1745e65666b.tar.zst infinity-for-reddit-345392a83372ae400ca886f468e7f1745e65666b.zip |
Copy priate messages.
Diffstat (limited to 'app/src/main/res/layout/item_private_message_received.xml')
-rw-r--r-- | app/src/main/res/layout/item_private_message_received.xml | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/app/src/main/res/layout/item_private_message_received.xml b/app/src/main/res/layout/item_private_message_received.xml index f3ba1c88..861495bf 100644 --- a/app/src/main/res/layout/item_private_message_received.xml +++ b/app/src/main/res/layout/item_private_message_received.xml @@ -15,8 +15,7 @@ android:layout_height="36dp" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintStart_toStartOf="parent" - app:layout_constraintTop_toTopOf="parent" - app:layout_constraintEnd_toStartOf="@id/barrier3" /> + app:layout_constraintTop_toTopOf="parent" /> <TextView android:id="@+id/message_text_view_item_private_message_received" @@ -44,18 +43,24 @@ android:textSize="?attr/font_default" android:visibility="gone" app:layout_constraintBottom_toBottomOf="parent" - app:layout_constraintEnd_toEndOf="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" /> - <androidx.constraintlayout.widget.Barrier - android:id="@+id/barrier3" + <ImageView + android:id="@+id/copy_image_view_item_private_message_received" android:layout_width="wrap_content" android:layout_height="wrap_content" - app:barrierDirection="start" - app:constraint_referenced_ids="message_text_view_item_private_message_received, time_text_view_item_private_message_received" /> + android:padding="16dp" + android:src="@drawable/ic_copy_24dp" + 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>
\ No newline at end of file |