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:
parent
fa53abc91f
commit
a8f10a95da
@ -88,15 +88,19 @@ class AttachmentTypeSelectorView(context: Context,
|
|||||||
}
|
}
|
||||||
|
|
||||||
private fun animateOpen() {
|
private fun animateOpen() {
|
||||||
|
/*
|
||||||
views.attachmentCloseButton.animate()
|
views.attachmentCloseButton.animate()
|
||||||
.setDuration(200)
|
.setDuration(200)
|
||||||
.rotation(135f)
|
.rotation(135f)
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun animateClose() {
|
private fun animateClose() {
|
||||||
|
/*
|
||||||
views.attachmentCloseButton.animate()
|
views.attachmentCloseButton.animate()
|
||||||
.setDuration(200)
|
.setDuration(200)
|
||||||
.rotation(0f)
|
.rotation(0f)
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
|
|
||||||
fun show(anchor: View) {
|
fun show(anchor: View) {
|
||||||
|
@ -13,11 +13,11 @@
|
|||||||
android:layout_margin="@dimen/composer_attachment_margin"
|
android:layout_margin="@dimen/composer_attachment_margin"
|
||||||
android:background="@null"
|
android:background="@null"
|
||||||
android:contentDescription="@string/action_close"
|
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_constraintBottom_toBottomOf="parent"
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
app:layout_constraintTop_toTopOf="parent"
|
app:layout_constraintTop_toTopOf="parent" />
|
||||||
tools:rotation="135" />
|
|
||||||
|
|
||||||
<HorizontalScrollView
|
<HorizontalScrollView
|
||||||
android:layout_width="0dp"
|
android:layout_width="0dp"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user