|
109 | 109 | android:layout_marginEnd="8dp" |
110 | 110 | android:background="?attr/selectableItemBackgroundBorderless" |
111 | 111 | android:clickable="true" |
| 112 | + android:contentDescription="@string/close" |
112 | 113 | android:focusable="true" |
113 | 114 | android:padding="@dimen/player_main_buttons_padding" |
114 | 115 | android:scaleType="fitXY" |
115 | 116 | android:src="@drawable/ic_close" |
116 | 117 | android:visibility="gone" |
117 | 118 | app:tint="@color/white" |
118 | | - android:contentDescription="@string/close" |
119 | 119 | tools:ignore="RtlHardcoded" /> |
120 | 120 |
|
121 | 121 | <LinearLayout |
|
165 | 165 | android:layout_marginEnd="8dp" |
166 | 166 | android:layout_weight="1" |
167 | 167 | android:background="?attr/selectableItemBackground" |
| 168 | + android:ellipsize="end" |
168 | 169 | android:gravity="center" |
169 | 170 | android:minWidth="0dp" |
170 | | - android:singleLine="true" |
171 | | - android:ellipsize="end" |
172 | 171 | android:padding="@dimen/player_main_buttons_padding" |
| 172 | + android:singleLine="true" |
173 | 173 | android:textColor="@android:color/white" |
174 | 174 | android:textStyle="bold" |
175 | 175 | android:visibility="gone" |
176 | 176 | tools:ignore="HardcodedText,RtlHardcoded" |
177 | | - tools:visibility="visible" |
178 | | - tools:text="English (Original)" /> |
| 177 | + tools:text="English (Original)" |
| 178 | + tools:visibility="visible" /> |
179 | 179 |
|
180 | 180 | <org.schabi.newpipe.views.NewPipeTextView |
181 | 181 | android:id="@+id/qualityTextView" |
|
212 | 212 | android:layout_marginEnd="8dp" |
213 | 213 | android:background="?attr/selectableItemBackgroundBorderless" |
214 | 214 | android:clickable="true" |
| 215 | + android:contentDescription="@string/open_play_queue" |
215 | 216 | android:focusable="true" |
216 | 217 | android:paddingStart="3dp" |
217 | 218 | android:paddingTop="5dp" |
|
221 | 222 | android:src="@drawable/ic_list" |
222 | 223 | android:visibility="gone" |
223 | 224 | app:tint="@color/white" |
224 | | - android:contentDescription="@string/open_play_queue" |
225 | 225 | tools:ignore="RtlHardcoded" /> |
226 | 226 |
|
227 | 227 | <androidx.appcompat.widget.AppCompatImageButton |
|
231 | 231 | android:layout_marginEnd="8dp" |
232 | 232 | android:background="?attr/selectableItemBackgroundBorderless" |
233 | 233 | android:clickable="true" |
| 234 | + android:contentDescription="@string/chapters" |
234 | 235 | android:focusable="true" |
235 | 236 | android:paddingStart="6dp" |
| 237 | + android:paddingTop="3dp" |
236 | 238 | android:paddingEnd="6dp" |
237 | 239 | android:paddingBottom="3dp" |
238 | | - android:paddingTop="3dp" |
239 | 240 | android:scaleType="fitCenter" |
240 | 241 | android:src="@drawable/ic_menu_book" |
241 | 242 | android:visibility="gone" |
242 | 243 | app:tint="@color/white" |
243 | | - android:contentDescription="@string/chapters" |
244 | 244 | tools:ignore="RtlHardcoded" /> |
245 | 245 |
|
246 | 246 | <androidx.appcompat.widget.AppCompatImageButton |
|
249 | 249 | android:layout_height="wrap_content" |
250 | 250 | android:background="?attr/selectableItemBackgroundBorderless" |
251 | 251 | android:clickable="true" |
| 252 | + android:contentDescription="@string/more_options" |
252 | 253 | android:focusable="true" |
253 | 254 | android:padding="@dimen/player_main_buttons_padding" |
254 | 255 | android:scaleType="fitXY" |
255 | 256 | android:src="@drawable/ic_expand_more" |
256 | 257 | app:tint="@color/white" |
257 | | - android:contentDescription="@string/more_options" |
258 | 258 | tools:ignore="RtlHardcoded" /> |
259 | 259 |
|
260 | 260 | </LinearLayout> |
|
371 | 371 | android:layout_height="40dp" |
372 | 372 | android:background="?attr/selectableItemBackgroundBorderless" |
373 | 373 | android:clickable="true" |
| 374 | + android:contentDescription="@string/toggle_fullscreen" |
374 | 375 | android:focusable="true" |
375 | 376 | android:padding="@dimen/player_main_buttons_padding" |
376 | 377 | android:scaleType="fitCenter" |
377 | 378 | android:src="@drawable/ic_fullscreen" |
378 | | - android:contentDescription="@string/toggle_fullscreen" |
379 | 379 | android:visibility="gone" |
380 | 380 | app:tint="@color/white" |
381 | 381 | tools:ignore="RtlHardcoded" |
|
495 | 495 | android:layout_marginStart="4dp" |
496 | 496 | android:background="?attr/selectableItemBackgroundBorderless" |
497 | 497 | android:clickable="true" |
| 498 | + android:contentDescription="@string/toggle_screen_orientation" |
498 | 499 | android:focusable="true" |
499 | 500 | android:nextFocusUp="@id/playbackSeekBar" |
500 | 501 | android:padding="@dimen/player_main_buttons_padding" |
501 | 502 | android:scaleType="fitCenter" |
502 | 503 | android:src="@drawable/ic_fullscreen" |
503 | 504 | android:visibility="gone" |
504 | | - android:contentDescription="@string/toggle_screen_orientation" |
505 | 505 | app:tint="@color/white" |
506 | 506 | tools:ignore="RtlHardcoded" |
507 | 507 | tools:visibility="visible" /> |
|
523 | 523 | android:layout_weight="1" |
524 | 524 | android:background="?attr/selectableItemBackgroundBorderless" |
525 | 525 | android:clickable="true" |
| 526 | + android:contentDescription="@string/previous_stream" |
526 | 527 | android:focusable="true" |
527 | 528 | android:scaleType="fitCenter" |
528 | 529 | android:src="@drawable/ic_previous" |
529 | | - android:contentDescription="@string/previous_stream" |
530 | 530 | app:tint="@color/white" /> |
531 | 531 |
|
532 | 532 |
|
|
536 | 536 | android:layout_height="60dp" |
537 | 537 | android:layout_weight="1" |
538 | 538 | android:background="?attr/selectableItemBackgroundBorderless" |
| 539 | + android:contentDescription="@string/pause" |
539 | 540 | android:scaleType="fitCenter" |
540 | 541 | android:src="@drawable/ic_pause" |
541 | | - android:contentDescription="@string/pause" |
542 | 542 | app:tint="@color/white" /> |
543 | 543 |
|
544 | 544 | <androidx.appcompat.widget.AppCompatImageButton |
|
549 | 549 | android:layout_weight="1" |
550 | 550 | android:background="?attr/selectableItemBackgroundBorderless" |
551 | 551 | android:clickable="true" |
| 552 | + android:contentDescription="@string/next_stream" |
552 | 553 | android:focusable="true" |
553 | 554 | android:scaleType="fitCenter" |
554 | 555 | android:src="@drawable/ic_next" |
555 | | - android:contentDescription="@string/next_stream" |
556 | 556 | app:tint="@color/white" /> |
557 | 557 |
|
558 | 558 | </LinearLayout> |
|
599 | 599 | android:layout_marginLeft="40dp" |
600 | 600 | android:background="?attr/selectableItemBackgroundBorderless" |
601 | 601 | android:clickable="true" |
| 602 | + android:contentDescription="@string/notification_action_repeat" |
602 | 603 | android:focusable="true" |
603 | 604 | android:padding="10dp" |
604 | 605 | android:scaleType="fitXY" |
605 | 606 | android:src="@drawable/exo_controls_repeat_off" |
606 | 607 | android:tint="?attr/colorAccent" |
607 | | - android:contentDescription="@string/notification_action_repeat" |
608 | 608 | tools:ignore="RtlHardcoded" /> |
609 | 609 |
|
610 | 610 | <androidx.appcompat.widget.AppCompatImageButton |
|
615 | 615 | android:layout_toRightOf="@id/repeatButton" |
616 | 616 | android:background="?attr/selectableItemBackgroundBorderless" |
617 | 617 | android:clickable="true" |
| 618 | + android:contentDescription="@string/notification_action_shuffle" |
618 | 619 | android:focusable="true" |
619 | 620 | android:padding="10dp" |
620 | 621 | android:scaleType="fitXY" |
621 | 622 | android:src="@drawable/ic_shuffle" |
622 | 623 | android:tint="?attr/colorAccent" |
623 | | - android:contentDescription="@string/notification_action_shuffle" |
624 | 624 | tools:ignore="RtlHardcoded" /> |
625 | 625 |
|
626 | 626 | <androidx.appcompat.widget.AppCompatTextView |
|
642 | 642 | android:layout_toLeftOf="@+id/itemsListClose" |
643 | 643 | android:background="?attr/selectableItemBackgroundBorderless" |
644 | 644 | android:clickable="true" |
| 645 | + android:contentDescription="@string/add_to_playlist" |
645 | 646 | android:focusable="true" |
646 | 647 | android:padding="10dp" |
647 | 648 | android:scaleType="fitXY" |
648 | 649 | android:src="@drawable/ic_playlist_add" |
649 | 650 | android:tint="?attr/colorAccent" |
650 | | - android:contentDescription="@string/add_to_playlist" |
651 | 651 | tools:ignore="RtlHardcoded" /> |
652 | 652 |
|
653 | 653 | <androidx.appcompat.widget.AppCompatImageButton |
|
0 commit comments