feat(accessibility): add contentDesc/toolTip to remove attachment

This commit is contained in:
FineFindus
2023-01-09 17:22:54 +01:00
parent ddc4512116
commit f0846465c2
2 changed files with 5 additions and 1 deletions

View File

@@ -28,6 +28,8 @@
android:layout_marginTop="2dp"
android:layout_marginStart="2dp"
android:background="?android:selectableItemBackgroundBorderless"
android:contentDescription="@string/sk_remove_attachment"
android:tooltipText="@string/sk_remove_attachment"
android:tint="#D92C2C"
android:src="@drawable/ic_fluent_delete_20_regular"/>
@@ -136,7 +138,8 @@
android:layout_gravity="end|bottom"
android:background="?android:selectableItemBackgroundBorderless"
android:tint="#D92C2C"
android:contentDescription="@string/delete"
android:contentDescription="@string/sk_remove_attachment"
android:tooltipText="@string/sk_remove_attachment"
android:src="@drawable/ic_fluent_delete_20_regular"/>
</FrameLayout>

View File

@@ -139,4 +139,5 @@
<!-- accessibility labels-->
<string name="sk_poll_option_add">Add new poll option</string>
<string name="sk_remove_attachment">Remove attachment</string>
</resources>