Fix attachments close button look

Rotating the attachments button to get a close button does not work
for us

Change-Id: I893a06d0671f75626229e71037f0b6bee774a74c
This commit is contained in:
SpiritCroc 2022-03-02 16:43:43 +01:00
parent fa53abc91f
commit a8f10a95da
2 changed files with 7 additions and 3 deletions

View File

@ -88,15 +88,19 @@ class AttachmentTypeSelectorView(context: Context,
}
private fun animateOpen() {
/*
views.attachmentCloseButton.animate()
.setDuration(200)
.rotation(135f)
*/
}
private fun animateClose() {
/*
views.attachmentCloseButton.animate()
.setDuration(200)
.rotation(0f)
*/
}
fun show(anchor: View) {

View File

@ -13,11 +13,11 @@
android:layout_margin="@dimen/composer_attachment_margin"
android:background="@null"
android:contentDescription="@string/action_close"
android:src="@drawable/ic_attachment"
android:src="@drawable/ic_close_24dp"
app:tint="?vctr_content_secondary"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
tools:rotation="135" />
app:layout_constraintTop_toTopOf="parent" />
<HorizontalScrollView
android:layout_width="0dp"