Revert "Remove message delete button."

This reverts commit b0e85623861e48abb1c6fb49800234f453fc82ee.
This commit is contained in:
leopoldsedev
2020-02-15 19:15:46 +01:00
committed by Jannis Mattheis
parent 8d4a331bba
commit f49900e0ef
3 changed files with 32 additions and 4 deletions

View File

@@ -13,7 +13,7 @@
android:layout_height="20dp"
android:layout_marginEnd="8dp"
android:text=""
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintEnd_toStartOf="@+id/message_delete"
app:layout_constraintTop_toTopOf="parent" />
<TextView
@@ -52,4 +52,15 @@
app:layout_constraintStart_toEndOf="@+id/message_image"
app:layout_constraintTop_toBottomOf="@+id/message_title" />
</androidx.constraintlayout.widget.ConstraintLayout>
<ImageButton
android:id="@+id/message_delete"
style="@style/Widget.AppCompat.Button.Borderless"
android:layout_width="30dp"
android:layout_height="30dp"
android:contentDescription="@string/delete_message"
app:layout_constraintBottom_toBottomOf="@+id/message_date"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:srcCompat="@drawable/ic_delete" />
</androidx.constraintlayout.widget.ConstraintLayout>