feat(accessibility): add contentDesc/toolTip to remove attachment
This commit is contained in:
@@ -28,6 +28,8 @@
|
|||||||
android:layout_marginTop="2dp"
|
android:layout_marginTop="2dp"
|
||||||
android:layout_marginStart="2dp"
|
android:layout_marginStart="2dp"
|
||||||
android:background="?android:selectableItemBackgroundBorderless"
|
android:background="?android:selectableItemBackgroundBorderless"
|
||||||
|
android:contentDescription="@string/sk_remove_attachment"
|
||||||
|
android:tooltipText="@string/sk_remove_attachment"
|
||||||
android:tint="#D92C2C"
|
android:tint="#D92C2C"
|
||||||
android:src="@drawable/ic_fluent_delete_20_regular"/>
|
android:src="@drawable/ic_fluent_delete_20_regular"/>
|
||||||
|
|
||||||
@@ -136,7 +138,8 @@
|
|||||||
android:layout_gravity="end|bottom"
|
android:layout_gravity="end|bottom"
|
||||||
android:background="?android:selectableItemBackgroundBorderless"
|
android:background="?android:selectableItemBackgroundBorderless"
|
||||||
android:tint="#D92C2C"
|
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"/>
|
android:src="@drawable/ic_fluent_delete_20_regular"/>
|
||||||
|
|
||||||
</FrameLayout>
|
</FrameLayout>
|
||||||
|
|||||||
@@ -139,4 +139,5 @@
|
|||||||
|
|
||||||
<!-- accessibility labels-->
|
<!-- accessibility labels-->
|
||||||
<string name="sk_poll_option_add">Add new poll option</string>
|
<string name="sk_poll_option_add">Add new poll option</string>
|
||||||
|
<string name="sk_remove_attachment">Remove attachment</string>
|
||||||
</resources>
|
</resources>
|
||||||
Reference in New Issue
Block a user