Added content description for download cancel button (#4818)
This commit is contained in:
parent
dd541ced44
commit
f4a6b45627
|
@ -65,6 +65,7 @@ public class DownloadlistAdapter extends BaseAdapter {
|
|||
|
||||
holder.title.setText(request.getTitle());
|
||||
holder.secondaryActionIcon.setImageResource(ThemeUtils.getDrawableFromAttr(context, R.attr.navigation_cancel));
|
||||
holder.secondaryActionButton.setContentDescription(context.getString(R.string.cancel_download_label));
|
||||
holder.secondaryActionButton.setTag(downloader);
|
||||
holder.secondaryActionButton.setOnClickListener(butSecondaryListener);
|
||||
holder.secondaryActionProgress.setPercentage(0, request);
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
<string name="downloads_log_label">Log</string>
|
||||
<string name="subscriptions_label">Subscriptions</string>
|
||||
<string name="subscriptions_list_label">Subscriptions List</string>
|
||||
<string name="cancel_download_label">Cancel\nDownload</string>
|
||||
<string name="cancel_download_label">Cancel Download</string>
|
||||
<string name="playback_history_label">Playback History</string>
|
||||
<string name="gpodnet_main_label">gpodder.net</string>
|
||||
<string name="gpodnet_auth_label">gpodder.net Login</string>
|
||||
|
|
Loading…
Reference in New Issue