|
65 | 65 | android:layout_height="64dp" |
66 | 66 | android:layout_gravity="center" |
67 | 67 | android:background="@android:color/transparent" |
| 68 | + android:src="@drawable/ic_play_arrow_shadow" |
68 | 69 | android:visibility="invisible" |
69 | | - app:srcCompat="@drawable/ic_play_arrow_shadow" |
70 | 70 | tools:ignore="ContentDescription" |
71 | 71 | tools:visibility="visible" /> |
72 | 72 |
|
|
199 | 199 | android:layout_gravity="top|end" |
200 | 200 | android:layout_marginTop="11dp" |
201 | 201 | android:layout_marginEnd="10dp" |
202 | | - app:srcCompat="@drawable/ic_expand_more" |
| 202 | + android:src="@drawable/ic_expand_more" |
203 | 203 | tools:ignore="ContentDescription" /> |
204 | 204 |
|
205 | 205 | </FrameLayout> |
|
326 | 326 | tools:text="Uploader" /> |
327 | 327 | </LinearLayout> |
328 | 328 |
|
329 | | - <!--<Button |
330 | | - android:id="@+id/detail_uploader_subscribe" |
331 | | - android:layout_width="wrap_content" |
332 | | - android:layout_height="wrap_content" |
333 | | - android:layout_gravity="center_vertical|right" |
334 | | - android:layout_marginRight="12dp" |
335 | | - android:text="@string/rss_button_title" |
336 | | - android:textSize="12sp" |
337 | | - android:theme="@style/RedButton" |
338 | | - app:drawableLeftCompat="@drawable/ic_rss_feed" |
339 | | - tools:ignore="RtlHardcoded" |
340 | | - android:visibility="gone"/>--> |
341 | 329 | </LinearLayout> |
342 | 330 |
|
343 | 331 | <!-- VIEW & THUMBS --> |
|
369 | 357 | android:layout_height="@dimen/video_item_detail_like_image_height" |
370 | 358 | android:layout_below="@id/detail_view_count_view" |
371 | 359 | android:contentDescription="@string/detail_likes_img_view_description" |
372 | | - app:srcCompat="@drawable/ic_thumb_up" /> |
| 360 | + android:src="@drawable/ic_thumb_up" /> |
373 | 361 |
|
374 | 362 | <org.schabi.newpipe.views.NewPipeTextView |
375 | 363 | android:id="@+id/detail_thumbs_up_count_view" |
|
393 | 381 | android:layout_marginLeft="12dp" |
394 | 382 | android:layout_toRightOf="@id/detail_thumbs_up_count_view" |
395 | 383 | android:contentDescription="@string/detail_dislikes_img_view_description" |
396 | | - app:srcCompat="@drawable/ic_thumb_down" |
| 384 | + android:src="@drawable/ic_thumb_down" |
397 | 385 | tools:ignore="RtlHardcoded" /> |
398 | 386 |
|
399 | 387 | <org.schabi.newpipe.views.NewPipeTextView |
|
447 | 435 | android:background="?attr/selectableItemBackgroundBorderless" |
448 | 436 | android:clickable="true" |
449 | 437 | android:contentDescription="@string/add_to_playlist" |
| 438 | + android:drawableTop="@drawable/ic_playlist_add" |
450 | 439 | android:focusable="true" |
451 | 440 | android:gravity="center" |
452 | 441 | android:paddingVertical="@dimen/detail_control_padding" |
453 | 442 | android:text="@string/controls_add_to_playlist_title" |
454 | | - android:textSize="@dimen/detail_control_text_size" |
455 | | - app:drawableTopCompat="@drawable/ic_playlist_add" /> |
| 443 | + android:textSize="@dimen/detail_control_text_size" /> |
456 | 444 |
|
457 | 445 | <org.schabi.newpipe.views.NewPipeTextView |
458 | 446 | android:id="@+id/detail_controls_background" |
|
463 | 451 | android:background="?attr/selectableItemBackgroundBorderless" |
464 | 452 | android:clickable="true" |
465 | 453 | android:contentDescription="@string/play_audio" |
| 454 | + android:drawableTop="@drawable/ic_headset" |
466 | 455 | android:focusable="true" |
467 | 456 | android:gravity="center" |
468 | 457 | android:paddingVertical="@dimen/detail_control_padding" |
469 | 458 | android:text="@string/controls_background_title" |
470 | | - android:textSize="@dimen/detail_control_text_size" |
471 | | - app:drawableTopCompat="@drawable/ic_headset" /> |
| 459 | + android:textSize="@dimen/detail_control_text_size" /> |
472 | 460 |
|
473 | 461 | <org.schabi.newpipe.views.NewPipeTextView |
474 | 462 | android:id="@+id/detail_controls_popup" |
|
479 | 467 | android:background="?attr/selectableItemBackgroundBorderless" |
480 | 468 | android:clickable="true" |
481 | 469 | android:contentDescription="@string/open_in_popup_mode" |
| 470 | + android:drawableTop="@drawable/ic_picture_in_picture" |
482 | 471 | android:focusable="true" |
483 | 472 | android:gravity="center" |
484 | 473 | android:paddingVertical="@dimen/detail_control_padding" |
485 | 474 | android:text="@string/controls_popup_title" |
486 | | - android:textSize="@dimen/detail_control_text_size" |
487 | | - app:drawableTopCompat="@drawable/ic_picture_in_picture" /> |
| 475 | + android:textSize="@dimen/detail_control_text_size" /> |
488 | 476 |
|
489 | 477 | <org.schabi.newpipe.views.NewPipeTextView |
490 | 478 | android:id="@+id/detail_controls_download" |
|
495 | 483 | android:background="?attr/selectableItemBackgroundBorderless" |
496 | 484 | android:clickable="true" |
497 | 485 | android:contentDescription="@string/controls_download_desc" |
| 486 | + android:drawableTop="@drawable/ic_file_download" |
498 | 487 | android:focusable="true" |
499 | 488 | android:gravity="center" |
500 | 489 | android:paddingVertical="@dimen/detail_control_padding" |
501 | 490 | android:text="@string/download" |
502 | | - android:textSize="@dimen/detail_control_text_size" |
503 | | - app:drawableTopCompat="@drawable/ic_file_download" /> |
| 491 | + android:textSize="@dimen/detail_control_text_size" /> |
504 | 492 |
|
505 | 493 | </LinearLayout> |
506 | 494 |
|
|
526 | 514 | android:background="?attr/selectableItemBackgroundBorderless" |
527 | 515 | android:clickable="true" |
528 | 516 | android:contentDescription="@string/share" |
| 517 | + android:drawableTop="@drawable/ic_share" |
529 | 518 | android:focusable="true" |
530 | 519 | android:gravity="center" |
531 | 520 | android:paddingVertical="@dimen/detail_control_padding" |
532 | 521 | android:text="@string/share" |
533 | | - android:textSize="@dimen/detail_control_text_size" |
534 | | - app:drawableTopCompat="@drawable/ic_share" /> |
| 522 | + android:textSize="@dimen/detail_control_text_size" /> |
535 | 523 |
|
536 | 524 | <org.schabi.newpipe.views.NewPipeTextView |
537 | 525 | android:id="@+id/detail_controls_open_in_browser" |
|
542 | 530 | android:background="?attr/selectableItemBackgroundBorderless" |
543 | 531 | android:clickable="true" |
544 | 532 | android:contentDescription="@string/open_in_browser" |
| 533 | + android:drawableTop="@drawable/ic_language" |
545 | 534 | android:focusable="true" |
546 | 535 | android:gravity="center" |
547 | 536 | android:paddingVertical="@dimen/detail_control_padding" |
548 | 537 | android:text="@string/open_in_browser" |
549 | | - android:textSize="@dimen/detail_control_text_size" |
550 | | - app:drawableTopCompat="@drawable/ic_language" /> |
| 538 | + android:textSize="@dimen/detail_control_text_size" /> |
551 | 539 |
|
552 | 540 | <org.schabi.newpipe.views.NewPipeTextView |
553 | 541 | android:id="@+id/detail_controls_play_with_kodi" |
|
558 | 546 | android:background="?attr/selectableItemBackgroundBorderless" |
559 | 547 | android:clickable="true" |
560 | 548 | android:contentDescription="@string/play_with_kodi_title" |
| 549 | + android:drawableTop="@drawable/ic_cast" |
561 | 550 | android:focusable="true" |
562 | 551 | android:gravity="center" |
563 | 552 | android:paddingVertical="@dimen/detail_control_padding" |
564 | 553 | android:text="@string/play_with_kodi_title" |
565 | | - android:textSize="@dimen/detail_control_text_size" |
566 | | - app:drawableTopCompat="@drawable/ic_cast" /> |
| 554 | + android:textSize="@dimen/detail_control_text_size" /> |
567 | 555 |
|
568 | | - <TextView |
| 556 | + <org.schabi.newpipe.views.NewPipeTextView |
569 | 557 | android:id="@+id/detail_controls_crash_the_player" |
570 | 558 | android:layout_width="@dimen/detail_control_width" |
571 | 559 | android:layout_height="@dimen/detail_control_height" |
|
574 | 562 | android:background="?attr/selectableItemBackgroundBorderless" |
575 | 563 | android:clickable="true" |
576 | 564 | android:contentDescription="@string/crash_the_player" |
| 565 | + android:drawableTop="@drawable/ic_bug_report" |
577 | 566 | android:focusable="true" |
578 | 567 | android:gravity="center" |
579 | 568 | android:paddingVertical="@dimen/detail_control_padding" |
580 | 569 | android:text="@string/crash_the_player" |
581 | | - android:textSize="@dimen/detail_control_text_size" |
582 | | - app:drawableTopCompat="@drawable/ic_bug_report" /> |
| 570 | + android:textSize="@dimen/detail_control_text_size" /> |
583 | 571 |
|
584 | 572 | </LinearLayout> |
585 | 573 |
|
|
719 | 707 | android:scaleType="center" |
720 | 708 | android:focusable="true" |
721 | 709 | android:focusedByDefault="true" |
722 | | - app:srcCompat="@drawable/ic_play_arrow" |
| 710 | + android:src="@drawable/ic_play_arrow" |
723 | 711 | tools:ignore="ContentDescription,RtlHardcoded" /> |
724 | 712 |
|
725 | 713 | <ImageButton |
|
729 | 717 | android:background="?attr/selectableItemBackground" |
730 | 718 | android:padding="10dp" |
731 | 719 | android:scaleType="center" |
732 | | - app:srcCompat="@drawable/ic_close" |
| 720 | + android:src="@drawable/ic_close" |
733 | 721 | tools:ignore="ContentDescription,RtlHardcoded" /> |
734 | 722 |
|
735 | 723 | </LinearLayout> |
|
0 commit comments