add content description for observe sources card
This commit is contained in:
parent
b95ea55217
commit
3f53140795
2 changed files with 4 additions and 0 deletions
|
|
@ -103,6 +103,7 @@ class ObserveSourcesAdapter(onItemClickListener: OnItemClickListener, activity:
|
||||||
searchBtn.isVisible = false
|
searchBtn.isVisible = false
|
||||||
|
|
||||||
pauseBtn.setIconResource(R.drawable.exomedia_ic_play_arrow_white)
|
pauseBtn.setIconResource(R.drawable.exomedia_ic_play_arrow_white)
|
||||||
|
pauseBtn.contentDescription = activity.getString(R.string.resume)
|
||||||
pauseBtn.setOnClickListener {
|
pauseBtn.setOnClickListener {
|
||||||
pauseBtn.isEnabled = false
|
pauseBtn.isEnabled = false
|
||||||
onItemClickListener.onItemStart(item, position)
|
onItemClickListener.onItemStart(item, position)
|
||||||
|
|
@ -119,6 +120,7 @@ class ObserveSourcesAdapter(onItemClickListener: OnItemClickListener, activity:
|
||||||
}
|
}
|
||||||
|
|
||||||
pauseBtn.setIconResource(R.drawable.exomedia_ic_pause_white)
|
pauseBtn.setIconResource(R.drawable.exomedia_ic_pause_white)
|
||||||
|
pauseBtn.contentDescription = activity.getString(R.string.pause)
|
||||||
pauseBtn.setOnClickListener {
|
pauseBtn.setOnClickListener {
|
||||||
pauseBtn.isEnabled = false
|
pauseBtn.isEnabled = false
|
||||||
onItemClickListener.onItemPaused(item, position)
|
onItemClickListener.onItemPaused(item, position)
|
||||||
|
|
|
||||||
|
|
@ -132,6 +132,7 @@
|
||||||
app:borderWidth="0dp"
|
app:borderWidth="0dp"
|
||||||
app:cornerRadius="10dp"
|
app:cornerRadius="10dp"
|
||||||
app:elevation="0dp"
|
app:elevation="0dp"
|
||||||
|
android:contentDescription="@string/pause"
|
||||||
app:icon="@drawable/exomedia_ic_pause_white"/>
|
app:icon="@drawable/exomedia_ic_pause_white"/>
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -145,6 +146,7 @@
|
||||||
app:borderWidth="0dp"
|
app:borderWidth="0dp"
|
||||||
app:cornerRadius="10dp"
|
app:cornerRadius="10dp"
|
||||||
app:elevation="0dp"
|
app:elevation="0dp"
|
||||||
|
android:contentDescription="@string/search"
|
||||||
app:icon="@drawable/ic_search"
|
app:icon="@drawable/ic_search"
|
||||||
app:layout_constraintBottom_toBottomOf="parent"
|
app:layout_constraintBottom_toBottomOf="parent"
|
||||||
app:layout_constraintEnd_toEndOf="parent" />
|
app:layout_constraintEnd_toEndOf="parent" />
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue