Browse Source

add content description to add reaction button (#2838)

pull/2836/head
Konrad Pozniak 3 years ago committed by GitHub
parent
commit
9f7cd2fa32
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      app/src/main/res/layout/item_announcement.xml
  2. 1
      app/src/main/res/values/strings.xml

3
app/src/main/res/layout/item_announcement.xml

@ -20,8 +20,8 @@
android:layout_width="0dp"
android:layout_height="wrap_content"
android:padding="8dp"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/text">
<com.google.android.material.chip.Chip
@ -30,6 +30,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:checkable="false"
android:contentDescription="@string/action_add_reaction"
app:chipEndPadding="4dp"
app:chipIcon="@drawable/ic_plus_24dp"
app:chipSurfaceColor="@color/tusky_blue"

1
app/src/main/res/values/strings.xml

@ -153,6 +153,7 @@
<string name="action_open_faved_by">Show favorites</string>
<string name="action_dismiss">Dismiss</string>
<string name="action_details">Details</string>
<string name="action_add_reaction">add reaction</string>
<string name="title_hashtags_dialog">Hashtags</string>
<string name="title_mentions_dialog">Mentions</string>

Loading…
Cancel
Save