diff options
Diffstat (limited to 'res/layout')
-rw-r--r-- | res/layout/audioplayer_activity.xml | 6 | ||||
-rw-r--r-- | res/layout/cover_fragment.xml | 1 | ||||
-rw-r--r-- | res/layout/default_feeditemlist_item.xml | 6 | ||||
-rw-r--r-- | res/layout/directory_chooser.xml | 1 | ||||
-rw-r--r-- | res/layout/external_itemlist_item.xml | 9 | ||||
-rw-r--r-- | res/layout/external_player_fragment.xml | 2 | ||||
-rw-r--r-- | res/layout/feedinfo.xml | 1 | ||||
-rw-r--r-- | res/layout/feeditemlist_header.xml | 1 | ||||
-rw-r--r-- | res/layout/feeditemlist_item.xml | 12 | ||||
-rw-r--r-- | res/layout/feedlist_item.xml | 12 | ||||
-rw-r--r-- | res/layout/feedlist_item_grid.xml | 10 | ||||
-rw-r--r-- | res/layout/gpodnet_podcast_listitem.xml | 1 | ||||
-rw-r--r-- | res/layout/onlinefeedview_header.xml | 1 | ||||
-rw-r--r-- | res/layout/organize_queue_listitem.xml | 1 | ||||
-rw-r--r-- | res/layout/player_widget.xml | 1 | ||||
-rw-r--r-- | res/layout/searchlist_item.xml | 1 | ||||
-rw-r--r-- | res/layout/storage_error.xml | 1 |
17 files changed, 56 insertions, 11 deletions
diff --git a/res/layout/audioplayer_activity.xml b/res/layout/audioplayer_activity.xml index 857d7140f..9b501fbdb 100644 --- a/res/layout/audioplayer_activity.xml +++ b/res/layout/audioplayer_activity.xml @@ -13,6 +13,7 @@ <ImageButton android:id="@+id/butNavLeft" + android:contentDescription="@string/show_shownotes_label" android:layout_width="60dp" android:layout_height="match_parent" android:layout_alignParentLeft="true" @@ -21,6 +22,7 @@ <ImageButton android:id="@+id/butNavRight" + android:contentDescription="@string/show_chapters_label" android:layout_width="60dp" android:layout_height="match_parent" android:layout_alignParentRight="true" @@ -76,6 +78,7 @@ <ImageButton android:id="@+id/butPlay" + android:contentDescription="@string/pause_label" android:layout_width="80dp" android:layout_height="match_parent" android:layout_centerHorizontal="true" @@ -84,6 +87,7 @@ <ImageButton android:id="@+id/butRev" + android:contentDescription="@string/rewind_label" android:layout_width="80dp" android:layout_height="match_parent" android:layout_toLeftOf="@id/butPlay" @@ -92,6 +96,7 @@ <ImageButton android:id="@+id/butFF" + android:contentDescription="@string/fast_forward_label" android:layout_width="80dp" android:layout_height="match_parent" android:layout_toRightOf="@id/butPlay" @@ -100,6 +105,7 @@ <Button android:id="@+id/butPlaybackSpeed" + android:contentDescription="@string/set_playback_speed_label" android:layout_width="80dp" android:layout_height="match_parent" android:layout_toRightOf="@id/butFF" diff --git a/res/layout/cover_fragment.xml b/res/layout/cover_fragment.xml index 9602f1ebc..f9c88ac02 100644 --- a/res/layout/cover_fragment.xml +++ b/res/layout/cover_fragment.xml @@ -7,6 +7,7 @@ <ImageView android:id="@+id/imgvCover" + android:contentDescription="@string/cover_label" android:layout_width="match_parent" android:layout_height="match_parent" android:layout_gravity="center" diff --git a/res/layout/default_feeditemlist_item.xml b/res/layout/default_feeditemlist_item.xml index 28386a264..fdfcca217 100644 --- a/res/layout/default_feeditemlist_item.xml +++ b/res/layout/default_feeditemlist_item.xml @@ -1,6 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" - android:layout_width="0dip" + xmlns:tools="http://schemas.android.com/tools" + android:layout_width="0dip" android:layout_height="match_parent" android:layout_weight="1" android:paddingLeft="4dp" > @@ -31,7 +32,8 @@ android:layout_width="@dimen/enc_icons_size" android:layout_height="@dimen/enc_icons_size" android:layout_below="@id/txtvPublished" - android:padding="2dp" /> + android:padding="2dp" + tools:ignore="ContentDescription"/> <TextView android:id="@+id/txtvLenSize" diff --git a/res/layout/directory_chooser.xml b/res/layout/directory_chooser.xml index 842e5d458..738c00842 100644 --- a/res/layout/directory_chooser.xml +++ b/res/layout/directory_chooser.xml @@ -34,6 +34,7 @@ <ImageButton android:id="@+id/butNavUp" + android:contentDescription="@string/navigate_upwards_label" android:layout_width="60dp" android:layout_height="60dp" android:layout_alignParentLeft="true" diff --git a/res/layout/external_itemlist_item.xml b/res/layout/external_itemlist_item.xml index 2d0093641..20c63c2cf 100644 --- a/res/layout/external_itemlist_item.xml +++ b/res/layout/external_itemlist_item.xml @@ -1,10 +1,12 @@ <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" - android:layout_width="match_parent" + xmlns:tools="http://schemas.android.com/tools" + android:layout_width="match_parent" android:layout_height="match_parent" > <ImageView android:id="@+id/imgvFeedimage" + android:contentDescription="@string/cover_label" android:layout_width="@dimen/thumbnail_length_itemlist" android:layout_height="@dimen/thumbnail_length_itemlist" android:layout_alignParentLeft="true" @@ -12,6 +14,7 @@ <ImageButton android:id="@+id/butAction" + android:contentDescription="@string/butAction_label" android:layout_width="48dp" android:layout_height="match_parent" android:layout_alignParentBottom="true" @@ -83,7 +86,8 @@ android:layout_height="@dimen/enc_icons_size" android:layout_alignParentRight="true" android:layout_marginLeft="8dp" - android:layout_marginRight="8dp" /> + android:layout_marginRight="8dp" + tools:ignore="ContentDescription"/> <ProgressBar android:id="@+id/pbar_episode_progress" @@ -97,6 +101,7 @@ <ImageView android:id="@+id/statusPlaying" + android:contentDescription="@string/status_playing_label" android:layout_width="@dimen/status_indicator_width" android:layout_height="18dp" android:layout_alignParentRight="true" diff --git a/res/layout/external_player_fragment.xml b/res/layout/external_player_fragment.xml index d777fc8b7..d619d7a77 100644 --- a/res/layout/external_player_fragment.xml +++ b/res/layout/external_player_fragment.xml @@ -24,6 +24,7 @@ <ImageView android:id="@+id/imgvCover" + android:contentDescription="@string/cover_label" android:layout_width="@dimen/external_player_height" android:layout_height="@dimen/external_player_height" android:layout_alignParentLeft="true" @@ -76,6 +77,7 @@ <ImageButton android:id="@+id/butPlay" + android:contentDescription="@string/pause_label" android:layout_width="@dimen/external_player_height" android:layout_height="@dimen/external_player_height" android:background="?attr/borderless_button" /> diff --git a/res/layout/feedinfo.xml b/res/layout/feedinfo.xml index 8dcf3ca85..d975ef549 100644 --- a/res/layout/feedinfo.xml +++ b/res/layout/feedinfo.xml @@ -12,6 +12,7 @@ <ImageView android:id="@+id/imgvCover" + android:contentDescription="@string/cover_label" android:layout_width="70dp" android:layout_height="70dp" android:layout_alignParentLeft="true" diff --git a/res/layout/feeditemlist_header.xml b/res/layout/feeditemlist_header.xml index 31ccb7e96..560013abd 100644 --- a/res/layout/feeditemlist_header.xml +++ b/res/layout/feeditemlist_header.xml @@ -27,6 +27,7 @@ <ImageButton android:id="@+id/butAction" + android:contentDescription="@string/butAction_label" android:layout_width="48dp" android:layout_height="match_parent" android:layout_alignParentBottom="true" diff --git a/res/layout/feeditemlist_item.xml b/res/layout/feeditemlist_item.xml index ed4b0d46d..e2898b601 100644 --- a/res/layout/feeditemlist_item.xml +++ b/res/layout/feeditemlist_item.xml @@ -1,6 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" - android:layout_width="0dip" + xmlns:tools="http://schemas.android.com/tools" + android:layout_width="0dip" android:layout_height="match_parent" android:layout_weight="1" android:paddingLeft="4dp" > @@ -45,10 +46,12 @@ android:layout_height="@dimen/enc_icons_size" android:layout_below="@id/txtvPublished" android:layout_toLeftOf="@+id/imgvInPlaylist" - android:padding="2dp" /> + android:padding="2dp" + tools:ignore="ContentDescription"/> <ImageView android:id="@id/imgvInPlaylist" + android:contentDescription="@string/in_queue_label" android:layout_width="@dimen/enc_icons_size" android:layout_height="@dimen/enc_icons_size" android:layout_below="@id/txtvPublished" @@ -59,6 +62,7 @@ <ImageView android:id="@id/imgvDownloaded" + android:contentDescription="@string/status_downloaded_label" android:layout_width="@dimen/enc_icons_size" android:layout_height="@dimen/enc_icons_size" android:layout_below="@id/txtvPublished" @@ -69,6 +73,7 @@ <ImageView android:id="@id/imgvDownloading" + android:contentDescription="@string/downloading_label" android:layout_width="@dimen/enc_icons_size" android:layout_height="@dimen/enc_icons_size" android:layout_below="@id/txtvPublished" @@ -102,6 +107,7 @@ <ImageButton android:id="@id/butAction" + android:contentDescription="@string/butAction_label" android:layout_width="48dp" android:layout_height="match_parent" android:layout_alignParentBottom="true" @@ -118,6 +124,7 @@ <TextView android:id="@+id/statusUnread" + android:contentDescription="@string/status_unread_label" android:layout_width="wrap_content" android:layout_height="18dp" android:layout_alignParentRight="true" @@ -134,6 +141,7 @@ <ImageView android:id="@+id/statusPlaying" + android:contentDescription="@string/status_playing_label" android:layout_width="@dimen/status_indicator_width" android:layout_height="18dp" android:layout_alignParentRight="true" diff --git a/res/layout/feedlist_item.xml b/res/layout/feedlist_item.xml index 90a9e3bf0..f6c43675d 100644 --- a/res/layout/feedlist_item.xml +++ b/res/layout/feedlist_item.xml @@ -1,11 +1,13 @@ <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" - android:layout_width="match_parent" + xmlns:tools="http://schemas.android.com/tools" + android:layout_width="match_parent" android:layout_height="match_parent" android:paddingRight="8dp" > <ImageView android:id="@+id/imgvFeedimage" + android:contentDescription="@string/cover_label" android:layout_width="@dimen/thumbnail_length" android:layout_height="@dimen/thumbnail_length" android:layout_alignParentLeft="true" @@ -25,6 +27,7 @@ <RelativeLayout android:id="@+id/lNewStatusLabel" + android:contentDescription="@string/new_episodes_count_label" android:layout_width="@dimen/status_indicator_width" android:layout_height="0dip" android:layout_marginBottom="8dp" @@ -38,7 +41,8 @@ android:layout_alignParentRight="true" android:layout_centerVertical="true" android:layout_marginRight="4dp" - android:src="@drawable/white_circle" /> + android:src="@drawable/white_circle" + tools:ignore="ContentDescription"/> <TextView android:id="@+id/txtvNewEps" @@ -57,6 +61,7 @@ <RelativeLayout android:id="@+id/lProgressStatusLabel" + android:contentDescription="@string/in_progress_episodes_count_label" android:layout_width="@dimen/status_indicator_width" android:layout_height="0dip" android:layout_marginBottom="8dp" @@ -84,7 +89,8 @@ android:layout_centerVertical="true" android:layout_marginRight="2dp" android:layout_marginLeft="2dp" - android:src="@drawable/av_play_dark" /> + android:src="@drawable/av_play_dark" + tools:ignore="ContentDescription"/> </RelativeLayout> </LinearLayout> diff --git a/res/layout/feedlist_item_grid.xml b/res/layout/feedlist_item_grid.xml index c761a3a84..934904374 100644 --- a/res/layout/feedlist_item_grid.xml +++ b/res/layout/feedlist_item_grid.xml @@ -1,10 +1,12 @@ <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:tools="http://schemas.android.com/tools" android:layout_width="wrap_content" android:layout_height="wrap_content"> <ImageView android:id="@+id/imgvFeedimage" + android:contentDescription="@string/cover_label" android:layout_width="@dimen/thumbnail_length" android:layout_height="@dimen/thumbnail_length" android:layout_alignParentTop="true" @@ -25,6 +27,7 @@ <RelativeLayout android:id="@+id/lNewStatusLabel" + android:contentDescription="@string/new_episodes_count_label" android:layout_width="@dimen/status_indicator_width" android:layout_height="0dip" android:layout_marginBottom="8dp" @@ -38,7 +41,8 @@ android:layout_alignParentRight="true" android:layout_centerVertical="true" android:layout_marginRight="4dp" - android:src="@drawable/white_circle"/> + android:src="@drawable/white_circle" + tools:ignore="ContentDescription"/> <TextView android:id="@+id/txtvNewEps" @@ -57,6 +61,7 @@ <RelativeLayout android:id="@+id/lProgressStatusLabel" + android:contentDescription="@string/in_progress_episodes_count_label" android:layout_width="@dimen/status_indicator_width" android:layout_height="0dip" android:layout_marginBottom="8dp" @@ -84,7 +89,8 @@ android:layout_centerVertical="true" android:layout_marginLeft="2dp" android:layout_marginRight="2dp" - android:src="@drawable/av_play_dark"/> + android:src="@drawable/av_play_dark" + tools:ignore="ContentDescription"/> </RelativeLayout> </LinearLayout> diff --git a/res/layout/gpodnet_podcast_listitem.xml b/res/layout/gpodnet_podcast_listitem.xml index f6ddb3bd8..1f6cdd1d0 100644 --- a/res/layout/gpodnet_podcast_listitem.xml +++ b/res/layout/gpodnet_podcast_listitem.xml @@ -5,6 +5,7 @@ android:layout_height="match_parent"> <ImageView android:id="@+id/imgvCover" + android:contentDescription="@string/cover_label" android:layout_width="@dimen/thumbnail_length_itemlist" android:layout_height="@dimen/thumbnail_length_itemlist" android:layout_alignParentLeft="true" diff --git a/res/layout/onlinefeedview_header.xml b/res/layout/onlinefeedview_header.xml index 85f0f32f8..441df6174 100644 --- a/res/layout/onlinefeedview_header.xml +++ b/res/layout/onlinefeedview_header.xml @@ -6,6 +6,7 @@ <ImageView android:id="@+id/imgvCover" + android:contentDescription="@string/cover_label" android:layout_width="@dimen/thumbnail_length_onlinefeedview" android:layout_height="@dimen/thumbnail_length_onlinefeedview" android:layout_alignParentLeft="true" diff --git a/res/layout/organize_queue_listitem.xml b/res/layout/organize_queue_listitem.xml index 5cac6e85b..ded2a900b 100644 --- a/res/layout/organize_queue_listitem.xml +++ b/res/layout/organize_queue_listitem.xml @@ -5,6 +5,7 @@ <ImageView android:id="@+id/imgvFeedimage" + android:contentDescription="@string/cover_label" android:layout_width="@dimen/thumbnail_length_itemlist" android:layout_height="@dimen/thumbnail_length_itemlist" android:layout_alignParentLeft="true" diff --git a/res/layout/player_widget.xml b/res/layout/player_widget.xml index 9866da449..b6946f7a8 100644 --- a/res/layout/player_widget.xml +++ b/res/layout/player_widget.xml @@ -11,6 +11,7 @@ <ImageButton android:id="@+id/butPlay" + android:contentDescription="@string/play_label" android:layout_width="56dp" android:layout_height="match_parent" android:layout_alignParentRight="true" diff --git a/res/layout/searchlist_item.xml b/res/layout/searchlist_item.xml index 71c09c16d..889f40eef 100644 --- a/res/layout/searchlist_item.xml +++ b/res/layout/searchlist_item.xml @@ -6,6 +6,7 @@ <ImageView android:id="@+id/imgvFeedimage" + android:contentDescription="@string/cover_label" android:layout_width="55dip" android:layout_height="55dip" android:layout_alignParentLeft="true" diff --git a/res/layout/storage_error.xml b/res/layout/storage_error.xml index f2e412f46..c1ee77262 100644 --- a/res/layout/storage_error.xml +++ b/res/layout/storage_error.xml @@ -5,6 +5,7 @@ <ImageView android:id="@+id/imageView1" + android:contentDescription="@string/external_storage_error_msg" android:layout_width="30dp" android:layout_height="30dp" android:layout_centerHorizontal="true" |