Clean up pre-Lollipop compat attributes
This commit is contained in:
parent
99104fc11d
commit
b125780991
37 changed files with 122 additions and 219 deletions
|
@ -20,7 +20,6 @@ android {
|
||||||
versionName "0.23.1"
|
versionName "0.23.1"
|
||||||
|
|
||||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||||
vectorDrawables.useSupportLibrary = true
|
|
||||||
|
|
||||||
javaCompileOptions {
|
javaCompileOptions {
|
||||||
annotationProcessorOptions {
|
annotationProcessorOptions {
|
||||||
|
|
|
@ -138,8 +138,8 @@
|
||||||
android:clickable="true"
|
android:clickable="true"
|
||||||
android:focusable="true"
|
android:focusable="true"
|
||||||
android:scaleType="fitCenter"
|
android:scaleType="fitCenter"
|
||||||
|
android:src="@drawable/ic_pause"
|
||||||
android:tint="?attr/colorAccent"
|
android:tint="?attr/colorAccent"
|
||||||
app:srcCompat="@drawable/ic_pause"
|
|
||||||
tools:ignore="ContentDescription" />
|
tools:ignore="ContentDescription" />
|
||||||
|
|
||||||
<ProgressBar
|
<ProgressBar
|
||||||
|
@ -199,8 +199,8 @@
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:minWidth="50dp"
|
android:minWidth="50dp"
|
||||||
android:scaleType="fitCenter"
|
android:scaleType="fitCenter"
|
||||||
|
android:src="@drawable/ic_previous"
|
||||||
android:tint="?attr/colorAccent"
|
android:tint="?attr/colorAccent"
|
||||||
app:srcCompat="@drawable/ic_previous"
|
|
||||||
tools:ignore="ContentDescription" />
|
tools:ignore="ContentDescription" />
|
||||||
|
|
||||||
<ImageButton
|
<ImageButton
|
||||||
|
@ -214,8 +214,8 @@
|
||||||
android:clickable="true"
|
android:clickable="true"
|
||||||
android:focusable="true"
|
android:focusable="true"
|
||||||
android:scaleType="fitXY"
|
android:scaleType="fitXY"
|
||||||
|
android:src="@drawable/ic_repeat"
|
||||||
android:tint="?attr/colorAccent"
|
android:tint="?attr/colorAccent"
|
||||||
app:srcCompat="@drawable/ic_repeat"
|
|
||||||
tools:ignore="ContentDescription" />
|
tools:ignore="ContentDescription" />
|
||||||
|
|
||||||
<View
|
<View
|
||||||
|
@ -235,8 +235,8 @@
|
||||||
android:clickable="true"
|
android:clickable="true"
|
||||||
android:focusable="true"
|
android:focusable="true"
|
||||||
android:scaleType="fitXY"
|
android:scaleType="fitXY"
|
||||||
|
android:src="@drawable/ic_shuffle"
|
||||||
android:tint="?attr/colorAccent"
|
android:tint="?attr/colorAccent"
|
||||||
app:srcCompat="@drawable/ic_shuffle"
|
|
||||||
tools:ignore="ContentDescription" />
|
tools:ignore="ContentDescription" />
|
||||||
|
|
||||||
<androidx.appcompat.widget.AppCompatImageButton
|
<androidx.appcompat.widget.AppCompatImageButton
|
||||||
|
@ -253,8 +253,8 @@
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:minWidth="50dp"
|
android:minWidth="50dp"
|
||||||
android:scaleType="fitCenter"
|
android:scaleType="fitCenter"
|
||||||
|
android:src="@drawable/ic_next"
|
||||||
android:tint="?attr/colorAccent"
|
android:tint="?attr/colorAccent"
|
||||||
app:srcCompat="@drawable/ic_next"
|
|
||||||
tools:ignore="ContentDescription" />
|
tools:ignore="ContentDescription" />
|
||||||
</RelativeLayout>
|
</RelativeLayout>
|
||||||
</RelativeLayout>
|
</RelativeLayout>
|
||||||
|
|
|
@ -65,8 +65,8 @@
|
||||||
android:layout_height="64dp"
|
android:layout_height="64dp"
|
||||||
android:layout_gravity="center"
|
android:layout_gravity="center"
|
||||||
android:background="@android:color/transparent"
|
android:background="@android:color/transparent"
|
||||||
|
android:src="@drawable/ic_play_arrow_shadow"
|
||||||
android:visibility="invisible"
|
android:visibility="invisible"
|
||||||
app:srcCompat="@drawable/ic_play_arrow_shadow"
|
|
||||||
tools:ignore="ContentDescription"
|
tools:ignore="ContentDescription"
|
||||||
tools:visibility="visible" />
|
tools:visibility="visible" />
|
||||||
|
|
||||||
|
@ -199,7 +199,7 @@
|
||||||
android:layout_gravity="top|end"
|
android:layout_gravity="top|end"
|
||||||
android:layout_marginTop="11dp"
|
android:layout_marginTop="11dp"
|
||||||
android:layout_marginEnd="10dp"
|
android:layout_marginEnd="10dp"
|
||||||
app:srcCompat="@drawable/ic_expand_more"
|
android:src="@drawable/ic_expand_more"
|
||||||
tools:ignore="ContentDescription" />
|
tools:ignore="ContentDescription" />
|
||||||
|
|
||||||
</FrameLayout>
|
</FrameLayout>
|
||||||
|
@ -326,18 +326,6 @@
|
||||||
tools:text="Uploader" />
|
tools:text="Uploader" />
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
<!--<Button
|
|
||||||
android:id="@+id/detail_uploader_subscribe"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_gravity="center_vertical|right"
|
|
||||||
android:layout_marginRight="12dp"
|
|
||||||
android:text="@string/rss_button_title"
|
|
||||||
android:textSize="12sp"
|
|
||||||
android:theme="@style/RedButton"
|
|
||||||
app:drawableLeftCompat="@drawable/ic_rss_feed"
|
|
||||||
tools:ignore="RtlHardcoded"
|
|
||||||
android:visibility="gone"/>-->
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
<!-- VIEW & THUMBS -->
|
<!-- VIEW & THUMBS -->
|
||||||
|
@ -369,7 +357,7 @@
|
||||||
android:layout_height="@dimen/video_item_detail_like_image_height"
|
android:layout_height="@dimen/video_item_detail_like_image_height"
|
||||||
android:layout_below="@id/detail_view_count_view"
|
android:layout_below="@id/detail_view_count_view"
|
||||||
android:contentDescription="@string/detail_likes_img_view_description"
|
android:contentDescription="@string/detail_likes_img_view_description"
|
||||||
app:srcCompat="@drawable/ic_thumb_up" />
|
android:src="@drawable/ic_thumb_up" />
|
||||||
|
|
||||||
<org.schabi.newpipe.views.NewPipeTextView
|
<org.schabi.newpipe.views.NewPipeTextView
|
||||||
android:id="@+id/detail_thumbs_up_count_view"
|
android:id="@+id/detail_thumbs_up_count_view"
|
||||||
|
@ -393,7 +381,7 @@
|
||||||
android:layout_marginLeft="12dp"
|
android:layout_marginLeft="12dp"
|
||||||
android:layout_toRightOf="@id/detail_thumbs_up_count_view"
|
android:layout_toRightOf="@id/detail_thumbs_up_count_view"
|
||||||
android:contentDescription="@string/detail_dislikes_img_view_description"
|
android:contentDescription="@string/detail_dislikes_img_view_description"
|
||||||
app:srcCompat="@drawable/ic_thumb_down"
|
android:src="@drawable/ic_thumb_down"
|
||||||
tools:ignore="RtlHardcoded" />
|
tools:ignore="RtlHardcoded" />
|
||||||
|
|
||||||
<org.schabi.newpipe.views.NewPipeTextView
|
<org.schabi.newpipe.views.NewPipeTextView
|
||||||
|
@ -447,12 +435,12 @@
|
||||||
android:background="?attr/selectableItemBackgroundBorderless"
|
android:background="?attr/selectableItemBackgroundBorderless"
|
||||||
android:clickable="true"
|
android:clickable="true"
|
||||||
android:contentDescription="@string/add_to_playlist"
|
android:contentDescription="@string/add_to_playlist"
|
||||||
|
android:drawableTop="@drawable/ic_playlist_add"
|
||||||
android:focusable="true"
|
android:focusable="true"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:paddingVertical="@dimen/detail_control_padding"
|
android:paddingVertical="@dimen/detail_control_padding"
|
||||||
android:text="@string/controls_add_to_playlist_title"
|
android:text="@string/controls_add_to_playlist_title"
|
||||||
android:textSize="@dimen/detail_control_text_size"
|
android:textSize="@dimen/detail_control_text_size" />
|
||||||
app:drawableTopCompat="@drawable/ic_playlist_add" />
|
|
||||||
|
|
||||||
<org.schabi.newpipe.views.NewPipeTextView
|
<org.schabi.newpipe.views.NewPipeTextView
|
||||||
android:id="@+id/detail_controls_background"
|
android:id="@+id/detail_controls_background"
|
||||||
|
@ -463,12 +451,12 @@
|
||||||
android:background="?attr/selectableItemBackgroundBorderless"
|
android:background="?attr/selectableItemBackgroundBorderless"
|
||||||
android:clickable="true"
|
android:clickable="true"
|
||||||
android:contentDescription="@string/play_audio"
|
android:contentDescription="@string/play_audio"
|
||||||
|
android:drawableTop="@drawable/ic_headset"
|
||||||
android:focusable="true"
|
android:focusable="true"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:paddingVertical="@dimen/detail_control_padding"
|
android:paddingVertical="@dimen/detail_control_padding"
|
||||||
android:text="@string/controls_background_title"
|
android:text="@string/controls_background_title"
|
||||||
android:textSize="@dimen/detail_control_text_size"
|
android:textSize="@dimen/detail_control_text_size" />
|
||||||
app:drawableTopCompat="@drawable/ic_headset" />
|
|
||||||
|
|
||||||
<org.schabi.newpipe.views.NewPipeTextView
|
<org.schabi.newpipe.views.NewPipeTextView
|
||||||
android:id="@+id/detail_controls_popup"
|
android:id="@+id/detail_controls_popup"
|
||||||
|
@ -479,12 +467,12 @@
|
||||||
android:background="?attr/selectableItemBackgroundBorderless"
|
android:background="?attr/selectableItemBackgroundBorderless"
|
||||||
android:clickable="true"
|
android:clickable="true"
|
||||||
android:contentDescription="@string/open_in_popup_mode"
|
android:contentDescription="@string/open_in_popup_mode"
|
||||||
|
android:drawableTop="@drawable/ic_picture_in_picture"
|
||||||
android:focusable="true"
|
android:focusable="true"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:paddingVertical="@dimen/detail_control_padding"
|
android:paddingVertical="@dimen/detail_control_padding"
|
||||||
android:text="@string/controls_popup_title"
|
android:text="@string/controls_popup_title"
|
||||||
android:textSize="@dimen/detail_control_text_size"
|
android:textSize="@dimen/detail_control_text_size" />
|
||||||
app:drawableTopCompat="@drawable/ic_picture_in_picture" />
|
|
||||||
|
|
||||||
<org.schabi.newpipe.views.NewPipeTextView
|
<org.schabi.newpipe.views.NewPipeTextView
|
||||||
android:id="@+id/detail_controls_download"
|
android:id="@+id/detail_controls_download"
|
||||||
|
@ -495,12 +483,12 @@
|
||||||
android:background="?attr/selectableItemBackgroundBorderless"
|
android:background="?attr/selectableItemBackgroundBorderless"
|
||||||
android:clickable="true"
|
android:clickable="true"
|
||||||
android:contentDescription="@string/controls_download_desc"
|
android:contentDescription="@string/controls_download_desc"
|
||||||
|
android:drawableTop="@drawable/ic_file_download"
|
||||||
android:focusable="true"
|
android:focusable="true"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:paddingVertical="@dimen/detail_control_padding"
|
android:paddingVertical="@dimen/detail_control_padding"
|
||||||
android:text="@string/download"
|
android:text="@string/download"
|
||||||
android:textSize="@dimen/detail_control_text_size"
|
android:textSize="@dimen/detail_control_text_size" />
|
||||||
app:drawableTopCompat="@drawable/ic_file_download" />
|
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
|
@ -526,12 +514,12 @@
|
||||||
android:background="?attr/selectableItemBackgroundBorderless"
|
android:background="?attr/selectableItemBackgroundBorderless"
|
||||||
android:clickable="true"
|
android:clickable="true"
|
||||||
android:contentDescription="@string/share"
|
android:contentDescription="@string/share"
|
||||||
|
android:drawableTop="@drawable/ic_share"
|
||||||
android:focusable="true"
|
android:focusable="true"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:paddingVertical="@dimen/detail_control_padding"
|
android:paddingVertical="@dimen/detail_control_padding"
|
||||||
android:text="@string/share"
|
android:text="@string/share"
|
||||||
android:textSize="@dimen/detail_control_text_size"
|
android:textSize="@dimen/detail_control_text_size" />
|
||||||
app:drawableTopCompat="@drawable/ic_share" />
|
|
||||||
|
|
||||||
<org.schabi.newpipe.views.NewPipeTextView
|
<org.schabi.newpipe.views.NewPipeTextView
|
||||||
android:id="@+id/detail_controls_open_in_browser"
|
android:id="@+id/detail_controls_open_in_browser"
|
||||||
|
@ -542,12 +530,12 @@
|
||||||
android:background="?attr/selectableItemBackgroundBorderless"
|
android:background="?attr/selectableItemBackgroundBorderless"
|
||||||
android:clickable="true"
|
android:clickable="true"
|
||||||
android:contentDescription="@string/open_in_browser"
|
android:contentDescription="@string/open_in_browser"
|
||||||
|
android:drawableTop="@drawable/ic_language"
|
||||||
android:focusable="true"
|
android:focusable="true"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:paddingVertical="@dimen/detail_control_padding"
|
android:paddingVertical="@dimen/detail_control_padding"
|
||||||
android:text="@string/open_in_browser"
|
android:text="@string/open_in_browser"
|
||||||
android:textSize="@dimen/detail_control_text_size"
|
android:textSize="@dimen/detail_control_text_size" />
|
||||||
app:drawableTopCompat="@drawable/ic_language" />
|
|
||||||
|
|
||||||
<org.schabi.newpipe.views.NewPipeTextView
|
<org.schabi.newpipe.views.NewPipeTextView
|
||||||
android:id="@+id/detail_controls_play_with_kodi"
|
android:id="@+id/detail_controls_play_with_kodi"
|
||||||
|
@ -558,14 +546,14 @@
|
||||||
android:background="?attr/selectableItemBackgroundBorderless"
|
android:background="?attr/selectableItemBackgroundBorderless"
|
||||||
android:clickable="true"
|
android:clickable="true"
|
||||||
android:contentDescription="@string/play_with_kodi_title"
|
android:contentDescription="@string/play_with_kodi_title"
|
||||||
|
android:drawableTop="@drawable/ic_cast"
|
||||||
android:focusable="true"
|
android:focusable="true"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:paddingVertical="@dimen/detail_control_padding"
|
android:paddingVertical="@dimen/detail_control_padding"
|
||||||
android:text="@string/play_with_kodi_title"
|
android:text="@string/play_with_kodi_title"
|
||||||
android:textSize="@dimen/detail_control_text_size"
|
android:textSize="@dimen/detail_control_text_size" />
|
||||||
app:drawableTopCompat="@drawable/ic_cast" />
|
|
||||||
|
|
||||||
<TextView
|
<org.schabi.newpipe.views.NewPipeTextView
|
||||||
android:id="@+id/detail_controls_crash_the_player"
|
android:id="@+id/detail_controls_crash_the_player"
|
||||||
android:layout_width="@dimen/detail_control_width"
|
android:layout_width="@dimen/detail_control_width"
|
||||||
android:layout_height="@dimen/detail_control_height"
|
android:layout_height="@dimen/detail_control_height"
|
||||||
|
@ -574,12 +562,12 @@
|
||||||
android:background="?attr/selectableItemBackgroundBorderless"
|
android:background="?attr/selectableItemBackgroundBorderless"
|
||||||
android:clickable="true"
|
android:clickable="true"
|
||||||
android:contentDescription="@string/crash_the_player"
|
android:contentDescription="@string/crash_the_player"
|
||||||
|
android:drawableTop="@drawable/ic_bug_report"
|
||||||
android:focusable="true"
|
android:focusable="true"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:paddingVertical="@dimen/detail_control_padding"
|
android:paddingVertical="@dimen/detail_control_padding"
|
||||||
android:text="@string/crash_the_player"
|
android:text="@string/crash_the_player"
|
||||||
android:textSize="@dimen/detail_control_text_size"
|
android:textSize="@dimen/detail_control_text_size" />
|
||||||
app:drawableTopCompat="@drawable/ic_bug_report" />
|
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
|
@ -719,7 +707,7 @@
|
||||||
android:scaleType="center"
|
android:scaleType="center"
|
||||||
android:focusable="true"
|
android:focusable="true"
|
||||||
android:focusedByDefault="true"
|
android:focusedByDefault="true"
|
||||||
app:srcCompat="@drawable/ic_play_arrow"
|
android:src="@drawable/ic_play_arrow"
|
||||||
tools:ignore="ContentDescription,RtlHardcoded" />
|
tools:ignore="ContentDescription,RtlHardcoded" />
|
||||||
|
|
||||||
<ImageButton
|
<ImageButton
|
||||||
|
@ -729,7 +717,7 @@
|
||||||
android:background="?attr/selectableItemBackground"
|
android:background="?attr/selectableItemBackground"
|
||||||
android:padding="10dp"
|
android:padding="10dp"
|
||||||
android:scaleType="center"
|
android:scaleType="center"
|
||||||
app:srcCompat="@drawable/ic_close"
|
android:src="@drawable/ic_close"
|
||||||
tools:ignore="ContentDescription,RtlHardcoded" />
|
tools:ignore="ContentDescription,RtlHardcoded" />
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
|
@ -174,8 +174,8 @@
|
||||||
android:clickable="true"
|
android:clickable="true"
|
||||||
android:focusable="true"
|
android:focusable="true"
|
||||||
android:scaleType="fitXY"
|
android:scaleType="fitXY"
|
||||||
|
android:src="@drawable/ic_repeat"
|
||||||
android:tint="?attr/colorAccent"
|
android:tint="?attr/colorAccent"
|
||||||
app:srcCompat="@drawable/ic_repeat"
|
|
||||||
tools:ignore="ContentDescription" />
|
tools:ignore="ContentDescription" />
|
||||||
|
|
||||||
<androidx.appcompat.widget.AppCompatImageButton
|
<androidx.appcompat.widget.AppCompatImageButton
|
||||||
|
@ -189,8 +189,8 @@
|
||||||
android:clickable="true"
|
android:clickable="true"
|
||||||
android:focusable="true"
|
android:focusable="true"
|
||||||
android:scaleType="fitCenter"
|
android:scaleType="fitCenter"
|
||||||
|
android:src="@drawable/ic_previous"
|
||||||
android:tint="?attr/colorAccent"
|
android:tint="?attr/colorAccent"
|
||||||
app:srcCompat="@drawable/ic_previous"
|
|
||||||
tools:ignore="ContentDescription" />
|
tools:ignore="ContentDescription" />
|
||||||
|
|
||||||
<ImageButton
|
<ImageButton
|
||||||
|
@ -219,8 +219,8 @@
|
||||||
android:clickable="true"
|
android:clickable="true"
|
||||||
android:focusable="true"
|
android:focusable="true"
|
||||||
android:scaleType="fitCenter"
|
android:scaleType="fitCenter"
|
||||||
|
android:src="@drawable/ic_pause"
|
||||||
android:tint="?attr/colorAccent"
|
android:tint="?attr/colorAccent"
|
||||||
app:srcCompat="@drawable/ic_pause"
|
|
||||||
tools:ignore="ContentDescription" />
|
tools:ignore="ContentDescription" />
|
||||||
|
|
||||||
<ProgressBar
|
<ProgressBar
|
||||||
|
@ -268,8 +268,8 @@
|
||||||
android:clickable="true"
|
android:clickable="true"
|
||||||
android:focusable="true"
|
android:focusable="true"
|
||||||
android:scaleType="fitCenter"
|
android:scaleType="fitCenter"
|
||||||
|
android:src="@drawable/ic_next"
|
||||||
android:tint="?attr/colorAccent"
|
android:tint="?attr/colorAccent"
|
||||||
app:srcCompat="@drawable/ic_next"
|
|
||||||
tools:ignore="ContentDescription" />
|
tools:ignore="ContentDescription" />
|
||||||
|
|
||||||
<ImageButton
|
<ImageButton
|
||||||
|
@ -284,8 +284,8 @@
|
||||||
android:clickable="true"
|
android:clickable="true"
|
||||||
android:focusable="true"
|
android:focusable="true"
|
||||||
android:scaleType="fitXY"
|
android:scaleType="fitXY"
|
||||||
|
android:src="@drawable/ic_shuffle"
|
||||||
android:tint="?attr/colorAccent"
|
android:tint="?attr/colorAccent"
|
||||||
app:srcCompat="@drawable/ic_shuffle"
|
|
||||||
tools:ignore="ContentDescription" />
|
tools:ignore="ContentDescription" />
|
||||||
|
|
||||||
</RelativeLayout>
|
</RelativeLayout>
|
||||||
|
|
|
@ -193,8 +193,8 @@
|
||||||
android:layout_centerVertical="true"
|
android:layout_centerVertical="true"
|
||||||
android:minWidth="0dp"
|
android:minWidth="0dp"
|
||||||
android:scaleType="centerInside"
|
android:scaleType="centerInside"
|
||||||
|
android:src="@drawable/ic_delete"
|
||||||
android:visibility="gone"
|
android:visibility="gone"
|
||||||
app:srcCompat="@drawable/ic_delete"
|
|
||||||
tools:ignore="ContentDescription"
|
tools:ignore="ContentDescription"
|
||||||
tools:visibility="visible" />
|
tools:visibility="visible" />
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
||||||
xmlns:tools="http://schemas.android.com/tools"
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
|
@ -154,7 +153,7 @@
|
||||||
android:layout_alignParentEnd="true"
|
android:layout_alignParentEnd="true"
|
||||||
android:clickable="true"
|
android:clickable="true"
|
||||||
android:focusable="true"
|
android:focusable="true"
|
||||||
app:srcCompat="@drawable/ic_expand_more"
|
android:src="@drawable/ic_expand_more"
|
||||||
tools:ignore="ContentDescription" />
|
tools:ignore="ContentDescription" />
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
||||||
xmlns:tools="http://schemas.android.com/tools"
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent">
|
android:layout_height="match_parent">
|
||||||
|
@ -20,7 +19,7 @@
|
||||||
android:layout_centerVertical="true"
|
android:layout_centerVertical="true"
|
||||||
android:layout_marginLeft="12dp"
|
android:layout_marginLeft="12dp"
|
||||||
android:layout_marginRight="12dp"
|
android:layout_marginRight="12dp"
|
||||||
app:srcCompat="@drawable/ic_playlist_add"
|
android:src="@drawable/ic_playlist_add"
|
||||||
tools:ignore="ContentDescription,RtlHardcoded" />
|
tools:ignore="ContentDescription,RtlHardcoded" />
|
||||||
|
|
||||||
<org.schabi.newpipe.views.NewPipeTextView
|
<org.schabi.newpipe.views.NewPipeTextView
|
||||||
|
|
|
@ -39,7 +39,7 @@
|
||||||
android:layout_width="@dimen/drawer_header_newpipe_icon_size"
|
android:layout_width="@dimen/drawer_header_newpipe_icon_size"
|
||||||
android:layout_height="@dimen/drawer_header_newpipe_icon_size"
|
android:layout_height="@dimen/drawer_header_newpipe_icon_size"
|
||||||
android:layout_marginEnd="@dimen/drawer_header_newpipe_icon_title_space"
|
android:layout_marginEnd="@dimen/drawer_header_newpipe_icon_title_space"
|
||||||
app:srcCompat="@drawable/splash_foreground"
|
android:src="@drawable/splash_foreground"
|
||||||
tools:ignore="ContentDescription" />
|
tools:ignore="ContentDescription" />
|
||||||
|
|
||||||
<org.schabi.newpipe.views.NewPipeTextView
|
<org.schabi.newpipe.views.NewPipeTextView
|
||||||
|
@ -86,7 +86,7 @@
|
||||||
android:scaleType="fitCenter"
|
android:scaleType="fitCenter"
|
||||||
app:tint="@color/drawer_header_font_color"
|
app:tint="@color/drawer_header_font_color"
|
||||||
tools:ignore="ContentDescription"
|
tools:ignore="ContentDescription"
|
||||||
tools:srcCompat="@drawable/ic_smart_display" />
|
tools:src="@drawable/ic_smart_display" />
|
||||||
|
|
||||||
<org.schabi.newpipe.views.NewPipeTextView
|
<org.schabi.newpipe.views.NewPipeTextView
|
||||||
android:id="@+id/drawer_header_service_view"
|
android:id="@+id/drawer_header_service_view"
|
||||||
|
@ -104,7 +104,7 @@
|
||||||
android:layout_width="24dp"
|
android:layout_width="24dp"
|
||||||
android:layout_height="24dp"
|
android:layout_height="24dp"
|
||||||
android:layout_marginStart="4dp"
|
android:layout_marginStart="4dp"
|
||||||
app:srcCompat="@drawable/ic_arrow_drop_down"
|
android:src="@drawable/ic_arrow_drop_down"
|
||||||
app:tint="@color/drawer_header_font_color"
|
app:tint="@color/drawer_header_font_color"
|
||||||
tools:ignore="ContentDescription" />
|
tools:ignore="ContentDescription" />
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
android:layout_height="14dp"
|
android:layout_height="14dp"
|
||||||
android:layout_gravity="center"
|
android:layout_gravity="center"
|
||||||
android:scaleType="centerInside"
|
android:scaleType="centerInside"
|
||||||
app:srcCompat="@drawable/ic_add"
|
android:src="@drawable/ic_add"
|
||||||
tools:ignore="ContentDescription" />
|
tools:ignore="ContentDescription" />
|
||||||
|
|
||||||
<org.schabi.newpipe.views.NewPipeTextView
|
<org.schabi.newpipe.views.NewPipeTextView
|
||||||
|
|
|
@ -55,7 +55,7 @@
|
||||||
android:paddingTop="12dp"
|
android:paddingTop="12dp"
|
||||||
android:paddingRight="16dp"
|
android:paddingRight="16dp"
|
||||||
android:paddingBottom="12dp"
|
android:paddingBottom="12dp"
|
||||||
app:srcCompat="@drawable/ic_drag_handle"
|
android:src="@drawable/ic_drag_handle"
|
||||||
tools:ignore="ContentDescription,RtlHardcoded" />
|
tools:ignore="ContentDescription,RtlHardcoded" />
|
||||||
</RelativeLayout>
|
</RelativeLayout>
|
||||||
</androidx.cardview.widget.CardView>
|
</androidx.cardview.widget.CardView>
|
|
@ -1,5 +1,4 @@
|
||||||
<androidx.core.widget.NestedScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
<androidx.core.widget.NestedScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
||||||
xmlns:tools="http://schemas.android.com/tools"
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
|
@ -20,7 +19,7 @@
|
||||||
android:layout_gravity="center_horizontal"
|
android:layout_gravity="center_horizontal"
|
||||||
android:layout_marginBottom="8dp"
|
android:layout_marginBottom="8dp"
|
||||||
android:contentDescription="@string/app_name"
|
android:contentDescription="@string/app_name"
|
||||||
app:srcCompat="@mipmap/ic_launcher" />
|
android:src="@mipmap/ic_launcher" />
|
||||||
|
|
||||||
<org.schabi.newpipe.views.NewPipeTextView
|
<org.schabi.newpipe.views.NewPipeTextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
|
|
|
@ -40,10 +40,10 @@
|
||||||
android:layout_marginBottom="16dp"
|
android:layout_marginBottom="16dp"
|
||||||
android:clickable="true"
|
android:clickable="true"
|
||||||
android:focusable="true"
|
android:focusable="true"
|
||||||
|
android:src="@drawable/ic_add"
|
||||||
app:backgroundTint="?attr/colorPrimary"
|
app:backgroundTint="?attr/colorPrimary"
|
||||||
app:fabSize="auto"
|
app:fabSize="auto"
|
||||||
app:layout_constraintBottom_toBottomOf="parent"
|
app:layout_constraintBottom_toBottomOf="parent"
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintEnd_toEndOf="parent" />
|
||||||
app:srcCompat="@drawable/ic_add" />
|
|
||||||
|
|
||||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||||
|
|
|
@ -38,11 +38,11 @@
|
||||||
android:contentDescription="@string/description_select_enable"
|
android:contentDescription="@string/description_select_enable"
|
||||||
android:focusable="true"
|
android:focusable="true"
|
||||||
android:padding="5dp"
|
android:padding="5dp"
|
||||||
|
android:src="@drawable/ic_select_all"
|
||||||
app:layout_constraintBottom_toTopOf="@+id/barrier"
|
app:layout_constraintBottom_toTopOf="@+id/barrier"
|
||||||
app:layout_constraintDimensionRatio="1"
|
app:layout_constraintDimensionRatio="1"
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
app:layout_constraintTop_toTopOf="parent"
|
app:layout_constraintTop_toTopOf="parent" />
|
||||||
app:srcCompat="@drawable/ic_select_all" />
|
|
||||||
|
|
||||||
<androidx.constraintlayout.widget.Barrier
|
<androidx.constraintlayout.widget.Barrier
|
||||||
android:id="@+id/barrier"
|
android:id="@+id/barrier"
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
||||||
xmlns:tools="http://schemas.android.com/tools"
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent">
|
android:layout_height="match_parent">
|
||||||
|
@ -57,7 +56,7 @@
|
||||||
android:layout_alignParentEnd="true"
|
android:layout_alignParentEnd="true"
|
||||||
android:layout_marginStart="6dp"
|
android:layout_marginStart="6dp"
|
||||||
android:layout_marginEnd="12dp"
|
android:layout_marginEnd="12dp"
|
||||||
app:srcCompat="@drawable/ic_refresh"
|
android:src="@drawable/ic_refresh"
|
||||||
tools:ignore="ContentDescription" />
|
tools:ignore="ContentDescription" />
|
||||||
|
|
||||||
<View
|
<View
|
||||||
|
|
|
@ -44,8 +44,8 @@
|
||||||
android:layout_marginBottom="16dp"
|
android:layout_marginBottom="16dp"
|
||||||
android:clickable="true"
|
android:clickable="true"
|
||||||
android:focusable="true"
|
android:focusable="true"
|
||||||
|
android:src="@drawable/ic_add"
|
||||||
app:backgroundTint="?attr/colorPrimary"
|
app:backgroundTint="?attr/colorPrimary"
|
||||||
app:fabSize="auto"
|
app:fabSize="auto" />
|
||||||
app:srcCompat="@drawable/ic_add" />
|
|
||||||
|
|
||||||
</RelativeLayout>
|
</RelativeLayout>
|
||||||
|
|
|
@ -55,8 +55,8 @@
|
||||||
android:layout_height="64dp"
|
android:layout_height="64dp"
|
||||||
android:layout_gravity="center"
|
android:layout_gravity="center"
|
||||||
android:background="@android:color/transparent"
|
android:background="@android:color/transparent"
|
||||||
|
android:src="@drawable/ic_play_arrow_shadow"
|
||||||
android:visibility="invisible"
|
android:visibility="invisible"
|
||||||
app:srcCompat="@drawable/ic_play_arrow_shadow"
|
|
||||||
tools:ignore="ContentDescription"
|
tools:ignore="ContentDescription"
|
||||||
tools:visibility="visible" />
|
tools:visibility="visible" />
|
||||||
|
|
||||||
|
@ -187,7 +187,7 @@
|
||||||
android:layout_gravity="top|end"
|
android:layout_gravity="top|end"
|
||||||
android:layout_marginTop="11dp"
|
android:layout_marginTop="11dp"
|
||||||
android:layout_marginEnd="10dp"
|
android:layout_marginEnd="10dp"
|
||||||
app:srcCompat="@drawable/ic_expand_more"
|
android:src="@drawable/ic_expand_more"
|
||||||
tools:ignore="ContentDescription" />
|
tools:ignore="ContentDescription" />
|
||||||
|
|
||||||
</FrameLayout>
|
</FrameLayout>
|
||||||
|
@ -313,19 +313,6 @@
|
||||||
tools:text="Uploader" />
|
tools:text="Uploader" />
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
<!--<Button
|
|
||||||
android:id="@+id/detail_uploader_subscribe"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_gravity="center_vertical|right"
|
|
||||||
android:layout_marginRight="12dp"
|
|
||||||
android:text="@string/rss_button_title"
|
|
||||||
android:textSize="12sp"
|
|
||||||
android:theme="@style/RedButton"
|
|
||||||
app:drawableLeftCompat="@drawable/ic_rss_feed"
|
|
||||||
tools:ignore="RtlHardcoded"
|
|
||||||
android:visibility="gone"/>-->
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
<!-- VIEW & THUMBS -->
|
<!-- VIEW & THUMBS -->
|
||||||
|
@ -357,7 +344,7 @@
|
||||||
android:layout_height="@dimen/video_item_detail_like_image_height"
|
android:layout_height="@dimen/video_item_detail_like_image_height"
|
||||||
android:layout_below="@id/detail_view_count_view"
|
android:layout_below="@id/detail_view_count_view"
|
||||||
android:contentDescription="@string/detail_likes_img_view_description"
|
android:contentDescription="@string/detail_likes_img_view_description"
|
||||||
app:srcCompat="@drawable/ic_thumb_up" />
|
android:src="@drawable/ic_thumb_up" />
|
||||||
|
|
||||||
<org.schabi.newpipe.views.NewPipeTextView
|
<org.schabi.newpipe.views.NewPipeTextView
|
||||||
android:id="@+id/detail_thumbs_up_count_view"
|
android:id="@+id/detail_thumbs_up_count_view"
|
||||||
|
@ -381,7 +368,7 @@
|
||||||
android:layout_marginLeft="12dp"
|
android:layout_marginLeft="12dp"
|
||||||
android:layout_toRightOf="@id/detail_thumbs_up_count_view"
|
android:layout_toRightOf="@id/detail_thumbs_up_count_view"
|
||||||
android:contentDescription="@string/detail_dislikes_img_view_description"
|
android:contentDescription="@string/detail_dislikes_img_view_description"
|
||||||
app:srcCompat="@drawable/ic_thumb_down"
|
android:src="@drawable/ic_thumb_down"
|
||||||
tools:ignore="RtlHardcoded" />
|
tools:ignore="RtlHardcoded" />
|
||||||
|
|
||||||
<org.schabi.newpipe.views.NewPipeTextView
|
<org.schabi.newpipe.views.NewPipeTextView
|
||||||
|
@ -433,12 +420,12 @@
|
||||||
android:background="?attr/selectableItemBackgroundBorderless"
|
android:background="?attr/selectableItemBackgroundBorderless"
|
||||||
android:clickable="true"
|
android:clickable="true"
|
||||||
android:contentDescription="@string/add_to_playlist"
|
android:contentDescription="@string/add_to_playlist"
|
||||||
|
android:drawableTop="@drawable/ic_playlist_add"
|
||||||
android:focusable="true"
|
android:focusable="true"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:paddingVertical="@dimen/detail_control_padding"
|
android:paddingVertical="@dimen/detail_control_padding"
|
||||||
android:text="@string/controls_add_to_playlist_title"
|
android:text="@string/controls_add_to_playlist_title"
|
||||||
android:textSize="@dimen/detail_control_text_size"
|
android:textSize="@dimen/detail_control_text_size" />
|
||||||
app:drawableTopCompat="@drawable/ic_playlist_add" />
|
|
||||||
|
|
||||||
<org.schabi.newpipe.views.NewPipeTextView
|
<org.schabi.newpipe.views.NewPipeTextView
|
||||||
android:id="@+id/detail_controls_background"
|
android:id="@+id/detail_controls_background"
|
||||||
|
@ -449,12 +436,12 @@
|
||||||
android:background="?attr/selectableItemBackgroundBorderless"
|
android:background="?attr/selectableItemBackgroundBorderless"
|
||||||
android:clickable="true"
|
android:clickable="true"
|
||||||
android:contentDescription="@string/play_audio"
|
android:contentDescription="@string/play_audio"
|
||||||
|
android:drawableTop="@drawable/ic_headset"
|
||||||
android:focusable="true"
|
android:focusable="true"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:paddingVertical="@dimen/detail_control_padding"
|
android:paddingVertical="@dimen/detail_control_padding"
|
||||||
android:text="@string/controls_background_title"
|
android:text="@string/controls_background_title"
|
||||||
android:textSize="@dimen/detail_control_text_size"
|
android:textSize="@dimen/detail_control_text_size" />
|
||||||
app:drawableTopCompat="@drawable/ic_headset" />
|
|
||||||
|
|
||||||
<org.schabi.newpipe.views.NewPipeTextView
|
<org.schabi.newpipe.views.NewPipeTextView
|
||||||
android:id="@+id/detail_controls_popup"
|
android:id="@+id/detail_controls_popup"
|
||||||
|
@ -465,12 +452,12 @@
|
||||||
android:background="?attr/selectableItemBackgroundBorderless"
|
android:background="?attr/selectableItemBackgroundBorderless"
|
||||||
android:clickable="true"
|
android:clickable="true"
|
||||||
android:contentDescription="@string/open_in_popup_mode"
|
android:contentDescription="@string/open_in_popup_mode"
|
||||||
|
android:drawableTop="@drawable/ic_picture_in_picture"
|
||||||
android:focusable="true"
|
android:focusable="true"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:paddingVertical="@dimen/detail_control_padding"
|
android:paddingVertical="@dimen/detail_control_padding"
|
||||||
android:text="@string/controls_popup_title"
|
android:text="@string/controls_popup_title"
|
||||||
android:textSize="@dimen/detail_control_text_size"
|
android:textSize="@dimen/detail_control_text_size" />
|
||||||
app:drawableTopCompat="@drawable/ic_picture_in_picture" />
|
|
||||||
|
|
||||||
<org.schabi.newpipe.views.NewPipeTextView
|
<org.schabi.newpipe.views.NewPipeTextView
|
||||||
android:id="@+id/detail_controls_download"
|
android:id="@+id/detail_controls_download"
|
||||||
|
@ -481,12 +468,12 @@
|
||||||
android:background="?attr/selectableItemBackgroundBorderless"
|
android:background="?attr/selectableItemBackgroundBorderless"
|
||||||
android:clickable="true"
|
android:clickable="true"
|
||||||
android:contentDescription="@string/controls_download_desc"
|
android:contentDescription="@string/controls_download_desc"
|
||||||
|
android:drawableTop="@drawable/ic_file_download"
|
||||||
android:focusable="true"
|
android:focusable="true"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:paddingVertical="@dimen/detail_control_padding"
|
android:paddingVertical="@dimen/detail_control_padding"
|
||||||
android:text="@string/download"
|
android:text="@string/download"
|
||||||
android:textSize="@dimen/detail_control_text_size"
|
android:textSize="@dimen/detail_control_text_size" />
|
||||||
app:drawableTopCompat="@drawable/ic_file_download" />
|
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
|
@ -510,12 +497,12 @@
|
||||||
android:background="?attr/selectableItemBackgroundBorderless"
|
android:background="?attr/selectableItemBackgroundBorderless"
|
||||||
android:clickable="true"
|
android:clickable="true"
|
||||||
android:contentDescription="@string/share"
|
android:contentDescription="@string/share"
|
||||||
|
android:drawableTop="@drawable/ic_share"
|
||||||
android:focusable="true"
|
android:focusable="true"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:paddingVertical="@dimen/detail_control_padding"
|
android:paddingVertical="@dimen/detail_control_padding"
|
||||||
android:text="@string/share"
|
android:text="@string/share"
|
||||||
android:textSize="@dimen/detail_control_text_size"
|
android:textSize="@dimen/detail_control_text_size" />
|
||||||
app:drawableTopCompat="@drawable/ic_share" />
|
|
||||||
|
|
||||||
<org.schabi.newpipe.views.NewPipeTextView
|
<org.schabi.newpipe.views.NewPipeTextView
|
||||||
android:id="@+id/detail_controls_open_in_browser"
|
android:id="@+id/detail_controls_open_in_browser"
|
||||||
|
@ -526,12 +513,12 @@
|
||||||
android:background="?attr/selectableItemBackgroundBorderless"
|
android:background="?attr/selectableItemBackgroundBorderless"
|
||||||
android:clickable="true"
|
android:clickable="true"
|
||||||
android:contentDescription="@string/open_in_browser"
|
android:contentDescription="@string/open_in_browser"
|
||||||
|
android:drawableTop="@drawable/ic_language"
|
||||||
android:focusable="true"
|
android:focusable="true"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:paddingVertical="@dimen/detail_control_padding"
|
android:paddingVertical="@dimen/detail_control_padding"
|
||||||
android:text="@string/open_in_browser"
|
android:text="@string/open_in_browser"
|
||||||
android:textSize="@dimen/detail_control_text_size"
|
android:textSize="@dimen/detail_control_text_size" />
|
||||||
app:drawableTopCompat="@drawable/ic_language" />
|
|
||||||
|
|
||||||
<org.schabi.newpipe.views.NewPipeTextView
|
<org.schabi.newpipe.views.NewPipeTextView
|
||||||
android:id="@+id/detail_controls_play_with_kodi"
|
android:id="@+id/detail_controls_play_with_kodi"
|
||||||
|
@ -542,14 +529,14 @@
|
||||||
android:background="?attr/selectableItemBackgroundBorderless"
|
android:background="?attr/selectableItemBackgroundBorderless"
|
||||||
android:clickable="true"
|
android:clickable="true"
|
||||||
android:contentDescription="@string/play_with_kodi_title"
|
android:contentDescription="@string/play_with_kodi_title"
|
||||||
|
android:drawableTop="@drawable/ic_cast"
|
||||||
android:focusable="true"
|
android:focusable="true"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:paddingVertical="@dimen/detail_control_padding"
|
android:paddingVertical="@dimen/detail_control_padding"
|
||||||
android:text="@string/play_with_kodi_title"
|
android:text="@string/play_with_kodi_title"
|
||||||
android:textSize="@dimen/detail_control_text_size"
|
android:textSize="@dimen/detail_control_text_size" />
|
||||||
app:drawableTopCompat="@drawable/ic_cast" />
|
|
||||||
|
|
||||||
<TextView
|
<org.schabi.newpipe.views.NewPipeTextView
|
||||||
android:id="@+id/detail_controls_crash_the_player"
|
android:id="@+id/detail_controls_crash_the_player"
|
||||||
android:layout_width="@dimen/detail_control_width"
|
android:layout_width="@dimen/detail_control_width"
|
||||||
android:layout_height="@dimen/detail_control_height"
|
android:layout_height="@dimen/detail_control_height"
|
||||||
|
@ -558,12 +545,12 @@
|
||||||
android:background="?attr/selectableItemBackgroundBorderless"
|
android:background="?attr/selectableItemBackgroundBorderless"
|
||||||
android:clickable="true"
|
android:clickable="true"
|
||||||
android:contentDescription="@string/crash_the_player"
|
android:contentDescription="@string/crash_the_player"
|
||||||
|
android:drawableTop="@drawable/ic_bug_report"
|
||||||
android:focusable="true"
|
android:focusable="true"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:paddingVertical="@dimen/detail_control_padding"
|
android:paddingVertical="@dimen/detail_control_padding"
|
||||||
android:text="@string/crash_the_player"
|
android:text="@string/crash_the_player"
|
||||||
android:textSize="@dimen/detail_control_text_size"
|
android:textSize="@dimen/detail_control_text_size" />
|
||||||
app:drawableTopCompat="@drawable/ic_bug_report" />
|
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
|
@ -696,7 +683,7 @@
|
||||||
android:scaleType="center"
|
android:scaleType="center"
|
||||||
android:focusable="true"
|
android:focusable="true"
|
||||||
android:focusedByDefault="true"
|
android:focusedByDefault="true"
|
||||||
app:srcCompat="@drawable/ic_play_arrow"
|
android:src="@drawable/ic_play_arrow"
|
||||||
tools:ignore="ContentDescription,RtlHardcoded" />
|
tools:ignore="ContentDescription,RtlHardcoded" />
|
||||||
|
|
||||||
<ImageButton
|
<ImageButton
|
||||||
|
@ -706,7 +693,7 @@
|
||||||
android:background="?attr/selectableItemBackground"
|
android:background="?attr/selectableItemBackground"
|
||||||
android:padding="10dp"
|
android:padding="10dp"
|
||||||
android:scaleType="center"
|
android:scaleType="center"
|
||||||
app:srcCompat="@drawable/ic_close"
|
android:src="@drawable/ic_close"
|
||||||
tools:ignore="ContentDescription,RtlHardcoded" />
|
tools:ignore="ContentDescription,RtlHardcoded" />
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
|
@ -75,7 +75,7 @@
|
||||||
android:paddingTop="12dp"
|
android:paddingTop="12dp"
|
||||||
android:paddingRight="10dp"
|
android:paddingRight="10dp"
|
||||||
android:paddingBottom="12dp"
|
android:paddingBottom="12dp"
|
||||||
app:srcCompat="@drawable/ic_drag_handle"
|
android:src="@drawable/ic_drag_handle"
|
||||||
tools:ignore="ContentDescription,RtlHardcoded" />
|
tools:ignore="ContentDescription,RtlHardcoded" />
|
||||||
</RelativeLayout>
|
</RelativeLayout>
|
||||||
</androidx.cardview.widget.CardView>
|
</androidx.cardview.widget.CardView>
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
||||||
xmlns:tools="http://schemas.android.com/tools"
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
|
@ -64,7 +63,7 @@
|
||||||
android:layout_width="20dp"
|
android:layout_width="20dp"
|
||||||
android:layout_height="20dp"
|
android:layout_height="20dp"
|
||||||
android:layout_gravity="center"
|
android:layout_gravity="center"
|
||||||
app:srcCompat="@drawable/ic_search_add"
|
android:src="@drawable/ic_search_add"
|
||||||
tools:ignore="ContentDescription,RtlHardcoded" />
|
tools:ignore="ContentDescription,RtlHardcoded" />
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
|
|
|
@ -55,7 +55,7 @@
|
||||||
android:paddingTop="12dp"
|
android:paddingTop="12dp"
|
||||||
android:paddingRight="16dp"
|
android:paddingRight="16dp"
|
||||||
android:paddingBottom="12dp"
|
android:paddingBottom="12dp"
|
||||||
app:srcCompat="@drawable/ic_drag_handle"
|
android:src="@drawable/ic_drag_handle"
|
||||||
tools:ignore="ContentDescription,RtlHardcoded" />
|
tools:ignore="ContentDescription,RtlHardcoded" />
|
||||||
</RelativeLayout>
|
</RelativeLayout>
|
||||||
</androidx.cardview.widget.CardView>
|
</androidx.cardview.widget.CardView>
|
||||||
|
|
|
@ -32,8 +32,8 @@
|
||||||
android:layout_marginRight="@dimen/video_item_detail_pinned_right_margin"
|
android:layout_marginRight="@dimen/video_item_detail_pinned_right_margin"
|
||||||
android:layout_toEndOf="@+id/itemThumbnailView"
|
android:layout_toEndOf="@+id/itemThumbnailView"
|
||||||
android:contentDescription="@string/detail_pinned_comment_view_description"
|
android:contentDescription="@string/detail_pinned_comment_view_description"
|
||||||
|
android:src="@drawable/ic_pin"
|
||||||
android:visibility="gone"
|
android:visibility="gone"
|
||||||
app:srcCompat="@drawable/ic_pin"
|
|
||||||
tools:visibility="visible" />
|
tools:visibility="visible" />
|
||||||
|
|
||||||
<org.schabi.newpipe.views.NewPipeTextView
|
<org.schabi.newpipe.views.NewPipeTextView
|
||||||
|
@ -69,7 +69,7 @@
|
||||||
android:layout_below="@id/itemCommentContentView"
|
android:layout_below="@id/itemCommentContentView"
|
||||||
android:layout_toRightOf="@+id/itemThumbnailView"
|
android:layout_toRightOf="@+id/itemThumbnailView"
|
||||||
android:contentDescription="@string/detail_likes_img_view_description"
|
android:contentDescription="@string/detail_likes_img_view_description"
|
||||||
app:srcCompat="@drawable/ic_thumb_up" />
|
android:src="@drawable/ic_thumb_up" />
|
||||||
|
|
||||||
<org.schabi.newpipe.views.NewPipeTextView
|
<org.schabi.newpipe.views.NewPipeTextView
|
||||||
android:id="@+id/detail_thumbs_up_count_view"
|
android:id="@+id/detail_thumbs_up_count_view"
|
||||||
|
@ -92,37 +92,9 @@
|
||||||
android:layout_marginLeft="@dimen/video_item_detail_heart_margin"
|
android:layout_marginLeft="@dimen/video_item_detail_heart_margin"
|
||||||
android:layout_toRightOf="@+id/detail_thumbs_up_count_view"
|
android:layout_toRightOf="@+id/detail_thumbs_up_count_view"
|
||||||
android:contentDescription="@string/detail_heart_img_view_description"
|
android:contentDescription="@string/detail_heart_img_view_description"
|
||||||
|
android:src="@drawable/ic_heart"
|
||||||
android:visibility="gone"
|
android:visibility="gone"
|
||||||
tools:visibility="visible"
|
tools:visibility="visible" />
|
||||||
app:srcCompat="@drawable/ic_heart" />
|
|
||||||
|
|
||||||
|
|
||||||
<!--we can uncomment below code if we need dislike button and count in future-->
|
|
||||||
|
|
||||||
<!--<ImageView
|
|
||||||
android:id="@+id/detail_thumbs_down_img_view"
|
|
||||||
android:layout_width="@dimen/video_item_detail_like_image_width"
|
|
||||||
android:layout_height="@dimen/video_item_detail_like_image_height"
|
|
||||||
android:layout_below="@id/itemCommentContentView"
|
|
||||||
android:layout_marginLeft="12dp"
|
|
||||||
android:layout_toRightOf="@id/detail_thumbs_up_count_view"
|
|
||||||
android:contentDescription="@string/detail_dislikes_img_view_description"
|
|
||||||
app:srcCompat="?attr/thumbs_down"
|
|
||||||
tools:ignore="RtlHardcoded" />
|
|
||||||
|
|
||||||
<org.schabi.newpipe.views.NewPipeTextView
|
|
||||||
android:id="@+id/detail_thumbs_down_count_view"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="@dimen/video_item_detail_like_image_height"
|
|
||||||
android:layout_below="@id/itemCommentContentView"
|
|
||||||
android:layout_marginLeft="@dimen/video_item_detail_like_margin"
|
|
||||||
android:layout_toRightOf="@id/detail_thumbs_down_img_view"
|
|
||||||
android:gravity="center_vertical"
|
|
||||||
android:lines="1"
|
|
||||||
android:textAppearance="?android:attr/textAppearanceMedium"
|
|
||||||
android:textSize="@dimen/video_item_detail_likes_text_size"
|
|
||||||
tools:ignore="RtlHardcoded"
|
|
||||||
tools:text="10K" />-->
|
|
||||||
|
|
||||||
<org.schabi.newpipe.views.NewPipeTextView
|
<org.schabi.newpipe.views.NewPipeTextView
|
||||||
android:id="@+id/itemPublishedTime"
|
android:id="@+id/itemPublishedTime"
|
||||||
|
|
|
@ -39,7 +39,7 @@
|
||||||
android:layout_below="@id/itemCommentContentView"
|
android:layout_below="@id/itemCommentContentView"
|
||||||
android:layout_toRightOf="@+id/itemThumbnailView"
|
android:layout_toRightOf="@+id/itemThumbnailView"
|
||||||
android:contentDescription="@string/detail_likes_img_view_description"
|
android:contentDescription="@string/detail_likes_img_view_description"
|
||||||
app:srcCompat="@drawable/ic_thumb_up" />
|
android:src="@drawable/ic_thumb_up" />
|
||||||
|
|
||||||
<org.schabi.newpipe.views.NewPipeTextView
|
<org.schabi.newpipe.views.NewPipeTextView
|
||||||
android:id="@+id/detail_thumbs_up_count_view"
|
android:id="@+id/detail_thumbs_up_count_view"
|
||||||
|
@ -54,33 +54,6 @@
|
||||||
tools:ignore="RtlHardcoded"
|
tools:ignore="RtlHardcoded"
|
||||||
tools:text="12M" />
|
tools:text="12M" />
|
||||||
|
|
||||||
<!--we can uncomment below code if we need dislike button and count in future-->
|
|
||||||
|
|
||||||
<!--<ImageView
|
|
||||||
android:id="@+id/detail_thumbs_down_img_view"
|
|
||||||
android:layout_width="@dimen/video_item_detail_like_image_width"
|
|
||||||
android:layout_height="@dimen/video_item_detail_like_image_height"
|
|
||||||
android:layout_below="@id/itemCommentContentView"
|
|
||||||
android:layout_marginLeft="12dp"
|
|
||||||
android:layout_toRightOf="@id/detail_thumbs_up_count_view"
|
|
||||||
android:contentDescription="@string/detail_dislikes_img_view_description"
|
|
||||||
app:srcCompat="?attr/thumbs_down"
|
|
||||||
tools:ignore="RtlHardcoded" />
|
|
||||||
|
|
||||||
<org.schabi.newpipe.views.NewPipeTextView
|
|
||||||
android:id="@+id/detail_thumbs_down_count_view"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="@dimen/video_item_detail_like_image_height"
|
|
||||||
android:layout_below="@id/itemCommentContentView"
|
|
||||||
android:layout_marginLeft="@dimen/video_item_detail_like_margin"
|
|
||||||
android:layout_toRightOf="@id/detail_thumbs_down_img_view"
|
|
||||||
android:gravity="center_vertical"
|
|
||||||
android:lines="1"
|
|
||||||
android:textAppearance="?android:attr/textAppearanceMedium"
|
|
||||||
android:textSize="@dimen/video_item_detail_likes_text_size"
|
|
||||||
tools:ignore="RtlHardcoded"
|
|
||||||
tools:text="10K" />-->
|
|
||||||
|
|
||||||
<org.schabi.newpipe.views.NewPipeTextView
|
<org.schabi.newpipe.views.NewPipeTextView
|
||||||
android:id="@+id/itemPublishedTime"
|
android:id="@+id/itemPublishedTime"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
||||||
xmlns:tools="http://schemas.android.com/tools"
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
android:id="@+id/itemRoot"
|
android:id="@+id/itemRoot"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
|
@ -29,6 +28,8 @@
|
||||||
android:layout_alignEnd="@id/itemThumbnailView"
|
android:layout_alignEnd="@id/itemThumbnailView"
|
||||||
android:layout_alignBottom="@id/itemThumbnailView"
|
android:layout_alignBottom="@id/itemThumbnailView"
|
||||||
android:background="@color/playlist_stream_count_background_color"
|
android:background="@color/playlist_stream_count_background_color"
|
||||||
|
android:drawableTop="@drawable/ic_playlist_play"
|
||||||
|
android:drawableTint="@color/duration_text_color"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:paddingTop="16dp"
|
android:paddingTop="16dp"
|
||||||
android:paddingBottom="14dp"
|
android:paddingBottom="14dp"
|
||||||
|
@ -36,8 +37,6 @@
|
||||||
android:textColor="@color/duration_text_color"
|
android:textColor="@color/duration_text_color"
|
||||||
android:textSize="@dimen/video_item_search_duration_text_size"
|
android:textSize="@dimen/video_item_search_duration_text_size"
|
||||||
android:textStyle="bold"
|
android:textStyle="bold"
|
||||||
app:drawableTint="@color/duration_text_color"
|
|
||||||
app:drawableTopCompat="@drawable/ic_playlist_play"
|
|
||||||
tools:text="314159" />
|
tools:text="314159" />
|
||||||
|
|
||||||
<org.schabi.newpipe.views.NewPipeTextView
|
<org.schabi.newpipe.views.NewPipeTextView
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
||||||
xmlns:tools="http://schemas.android.com/tools"
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
android:id="@+id/itemRoot"
|
android:id="@+id/itemRoot"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
|
@ -30,6 +29,8 @@
|
||||||
android:layout_alignEnd="@id/itemThumbnailView"
|
android:layout_alignEnd="@id/itemThumbnailView"
|
||||||
android:layout_alignBottom="@id/itemThumbnailView"
|
android:layout_alignBottom="@id/itemThumbnailView"
|
||||||
android:background="@color/playlist_stream_count_background_color"
|
android:background="@color/playlist_stream_count_background_color"
|
||||||
|
android:drawableTop="@drawable/ic_playlist_play"
|
||||||
|
android:drawableTint="@color/duration_text_color"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:paddingTop="16dp"
|
android:paddingTop="16dp"
|
||||||
android:paddingBottom="14dp"
|
android:paddingBottom="14dp"
|
||||||
|
@ -37,8 +38,6 @@
|
||||||
android:textColor="@color/duration_text_color"
|
android:textColor="@color/duration_text_color"
|
||||||
android:textSize="@dimen/video_item_search_duration_text_size"
|
android:textSize="@dimen/video_item_search_duration_text_size"
|
||||||
android:textStyle="bold"
|
android:textStyle="bold"
|
||||||
app:drawableTint="@color/duration_text_color"
|
|
||||||
app:drawableTopCompat="@drawable/ic_playlist_play"
|
|
||||||
tools:text="314159" />
|
tools:text="314159" />
|
||||||
|
|
||||||
<org.schabi.newpipe.views.NewPipeTextView
|
<org.schabi.newpipe.views.NewPipeTextView
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
||||||
xmlns:tools="http://schemas.android.com/tools"
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
android:id="@+id/itemRoot"
|
android:id="@+id/itemRoot"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
|
@ -30,6 +29,8 @@
|
||||||
android:layout_alignEnd="@id/itemThumbnailView"
|
android:layout_alignEnd="@id/itemThumbnailView"
|
||||||
android:layout_alignBottom="@id/itemThumbnailView"
|
android:layout_alignBottom="@id/itemThumbnailView"
|
||||||
android:background="@color/playlist_stream_count_background_color"
|
android:background="@color/playlist_stream_count_background_color"
|
||||||
|
android:drawableTop="@drawable/ic_playlist_play"
|
||||||
|
android:drawableTint="@color/duration_text_color"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:paddingTop="4dp"
|
android:paddingTop="4dp"
|
||||||
android:paddingBottom="6dp"
|
android:paddingBottom="6dp"
|
||||||
|
@ -37,8 +38,6 @@
|
||||||
android:textColor="@color/duration_text_color"
|
android:textColor="@color/duration_text_color"
|
||||||
android:textSize="@dimen/video_item_search_duration_text_size"
|
android:textSize="@dimen/video_item_search_duration_text_size"
|
||||||
android:textStyle="bold"
|
android:textStyle="bold"
|
||||||
app:drawableTint="@color/duration_text_color"
|
|
||||||
app:drawableTopCompat="@drawable/ic_playlist_play"
|
|
||||||
tools:text="3141" />
|
tools:text="3141" />
|
||||||
|
|
||||||
<org.schabi.newpipe.views.NewPipeTextView
|
<org.schabi.newpipe.views.NewPipeTextView
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
||||||
xmlns:tools="http://schemas.android.com/tools"
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
android:id="@+id/itemRoot"
|
android:id="@+id/itemRoot"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
|
@ -49,7 +48,7 @@
|
||||||
android:contentDescription="@string/detail_drag_description"
|
android:contentDescription="@string/detail_drag_description"
|
||||||
android:paddingLeft="@dimen/video_item_search_image_right_margin"
|
android:paddingLeft="@dimen/video_item_search_image_right_margin"
|
||||||
android:scaleType="center"
|
android:scaleType="center"
|
||||||
app:srcCompat="@drawable/ic_drag_handle"
|
android:src="@drawable/ic_drag_handle"
|
||||||
tools:ignore="RtlHardcoded,RtlSymmetry" />
|
tools:ignore="RtlHardcoded,RtlSymmetry" />
|
||||||
|
|
||||||
<org.schabi.newpipe.views.NewPipeTextView
|
<org.schabi.newpipe.views.NewPipeTextView
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
||||||
xmlns:tools="http://schemas.android.com/tools"
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
android:id="@+id/itemRoot"
|
android:id="@+id/itemRoot"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
|
@ -50,7 +49,7 @@
|
||||||
android:contentDescription="@string/detail_drag_description"
|
android:contentDescription="@string/detail_drag_description"
|
||||||
android:paddingLeft="@dimen/video_item_search_image_right_margin"
|
android:paddingLeft="@dimen/video_item_search_image_right_margin"
|
||||||
android:scaleType="center"
|
android:scaleType="center"
|
||||||
app:srcCompat="@drawable/ic_drag_handle"
|
android:src="@drawable/ic_drag_handle"
|
||||||
tools:ignore="RtlHardcoded,RtlSymmetry" />
|
tools:ignore="RtlHardcoded,RtlSymmetry" />
|
||||||
|
|
||||||
<org.schabi.newpipe.views.NewPipeTextView
|
<org.schabi.newpipe.views.NewPipeTextView
|
||||||
|
|
|
@ -39,7 +39,7 @@
|
||||||
android:layout_marginRight="1dp"
|
android:layout_marginRight="1dp"
|
||||||
android:contentDescription="TODO"
|
android:contentDescription="TODO"
|
||||||
android:scaleType="center"
|
android:scaleType="center"
|
||||||
app:srcCompat="@drawable/ic_more_vert"
|
android:src="@drawable/ic_more_vert"
|
||||||
app:tint="?attr/actionColor" />
|
app:tint="?attr/actionColor" />
|
||||||
|
|
||||||
</RelativeLayout>
|
</RelativeLayout>
|
||||||
|
|
|
@ -72,7 +72,7 @@
|
||||||
android:layout_marginRight="4dp"
|
android:layout_marginRight="4dp"
|
||||||
android:contentDescription="TODO"
|
android:contentDescription="TODO"
|
||||||
android:scaleType="centerInside"
|
android:scaleType="centerInside"
|
||||||
app:srcCompat="@drawable/ic_more_vert"
|
android:src="@drawable/ic_more_vert"
|
||||||
app:tint="?attr/actionColor" />
|
app:tint="?attr/actionColor" />
|
||||||
|
|
||||||
</RelativeLayout>
|
</RelativeLayout>
|
||||||
|
|
|
@ -52,8 +52,8 @@
|
||||||
android:layout_gravity="top|center_horizontal"
|
android:layout_gravity="top|center_horizontal"
|
||||||
android:layout_marginTop="4dp"
|
android:layout_marginTop="4dp"
|
||||||
android:scaleType="centerInside"
|
android:scaleType="centerInside"
|
||||||
|
android:src="@drawable/ic_done"
|
||||||
app:tint="@color/white"
|
app:tint="@color/white"
|
||||||
app:srcCompat="@drawable/ic_done"
|
|
||||||
tools:ignore="ContentDescription" />
|
tools:ignore="ContentDescription" />
|
||||||
</FrameLayout>
|
</FrameLayout>
|
||||||
</FrameLayout>
|
</FrameLayout>
|
||||||
|
|
|
@ -89,10 +89,10 @@
|
||||||
android:layout_gravity="center_vertical"
|
android:layout_gravity="center_vertical"
|
||||||
android:paddingHorizontal="@dimen/video_item_search_image_right_margin"
|
android:paddingHorizontal="@dimen/video_item_search_image_right_margin"
|
||||||
android:scaleType="center"
|
android:scaleType="center"
|
||||||
|
android:src="@drawable/ic_drag_handle"
|
||||||
app:layout_constraintBottom_toBottomOf="parent"
|
app:layout_constraintBottom_toBottomOf="parent"
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
app:layout_constraintTop_toTopOf="parent"
|
app:layout_constraintTop_toTopOf="parent"
|
||||||
app:srcCompat="@drawable/ic_drag_handle"
|
|
||||||
tools:ignore="ContentDescription,RtlHardcoded" />
|
tools:ignore="ContentDescription,RtlHardcoded" />
|
||||||
|
|
||||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||||
|
|
|
@ -112,8 +112,8 @@
|
||||||
android:focusable="true"
|
android:focusable="true"
|
||||||
android:padding="@dimen/player_main_buttons_padding"
|
android:padding="@dimen/player_main_buttons_padding"
|
||||||
android:scaleType="fitXY"
|
android:scaleType="fitXY"
|
||||||
|
android:src="@drawable/ic_close"
|
||||||
android:visibility="gone"
|
android:visibility="gone"
|
||||||
app:srcCompat="@drawable/ic_close"
|
|
||||||
app:tint="@color/white"
|
app:tint="@color/white"
|
||||||
tools:ignore="ContentDescription,RtlHardcoded" />
|
tools:ignore="ContentDescription,RtlHardcoded" />
|
||||||
|
|
||||||
|
@ -198,8 +198,8 @@
|
||||||
android:paddingEnd="3dp"
|
android:paddingEnd="3dp"
|
||||||
android:paddingBottom="3dp"
|
android:paddingBottom="3dp"
|
||||||
android:scaleType="fitCenter"
|
android:scaleType="fitCenter"
|
||||||
|
android:src="@drawable/ic_list"
|
||||||
android:visibility="gone"
|
android:visibility="gone"
|
||||||
app:srcCompat="@drawable/ic_list"
|
|
||||||
app:tint="@color/white"
|
app:tint="@color/white"
|
||||||
tools:ignore="ContentDescription,RtlHardcoded" />
|
tools:ignore="ContentDescription,RtlHardcoded" />
|
||||||
|
|
||||||
|
@ -216,8 +216,8 @@
|
||||||
android:paddingEnd="6dp"
|
android:paddingEnd="6dp"
|
||||||
android:paddingBottom="3dp"
|
android:paddingBottom="3dp"
|
||||||
android:scaleType="fitCenter"
|
android:scaleType="fitCenter"
|
||||||
|
android:src="@drawable/ic_format_list_numbered"
|
||||||
android:visibility="gone"
|
android:visibility="gone"
|
||||||
app:srcCompat="@drawable/ic_format_list_numbered"
|
|
||||||
app:tint="@color/white"
|
app:tint="@color/white"
|
||||||
tools:ignore="ContentDescription,RtlHardcoded" />
|
tools:ignore="ContentDescription,RtlHardcoded" />
|
||||||
|
|
||||||
|
@ -230,7 +230,7 @@
|
||||||
android:focusable="true"
|
android:focusable="true"
|
||||||
android:padding="@dimen/player_main_buttons_padding"
|
android:padding="@dimen/player_main_buttons_padding"
|
||||||
android:scaleType="fitXY"
|
android:scaleType="fitXY"
|
||||||
app:srcCompat="@drawable/ic_expand_more"
|
android:src="@drawable/ic_expand_more"
|
||||||
app:tint="@color/white"
|
app:tint="@color/white"
|
||||||
tools:ignore="ContentDescription,RtlHardcoded" />
|
tools:ignore="ContentDescription,RtlHardcoded" />
|
||||||
|
|
||||||
|
@ -294,7 +294,7 @@
|
||||||
android:focusable="true"
|
android:focusable="true"
|
||||||
android:padding="@dimen/player_main_buttons_padding"
|
android:padding="@dimen/player_main_buttons_padding"
|
||||||
android:scaleType="fitXY"
|
android:scaleType="fitXY"
|
||||||
app:srcCompat="@drawable/ic_cast"
|
android:src="@drawable/ic_cast"
|
||||||
app:tint="@color/white"
|
app:tint="@color/white"
|
||||||
tools:ignore="RtlHardcoded" />
|
tools:ignore="RtlHardcoded" />
|
||||||
|
|
||||||
|
@ -309,7 +309,7 @@
|
||||||
android:focusable="true"
|
android:focusable="true"
|
||||||
android:padding="@dimen/player_main_buttons_padding"
|
android:padding="@dimen/player_main_buttons_padding"
|
||||||
android:scaleType="fitXY"
|
android:scaleType="fitXY"
|
||||||
app:srcCompat="@drawable/ic_language"
|
android:src="@drawable/ic_language"
|
||||||
app:tint="@color/white"
|
app:tint="@color/white"
|
||||||
tools:ignore="RtlHardcoded" />
|
tools:ignore="RtlHardcoded" />
|
||||||
|
|
||||||
|
@ -324,7 +324,7 @@
|
||||||
android:focusable="true"
|
android:focusable="true"
|
||||||
android:padding="@dimen/player_main_buttons_padding"
|
android:padding="@dimen/player_main_buttons_padding"
|
||||||
android:scaleType="fitXY"
|
android:scaleType="fitXY"
|
||||||
app:srcCompat="@drawable/ic_share"
|
android:src="@drawable/ic_share"
|
||||||
app:tint="@color/white"
|
app:tint="@color/white"
|
||||||
tools:ignore="RtlHardcoded" />
|
tools:ignore="RtlHardcoded" />
|
||||||
|
|
||||||
|
@ -338,7 +338,7 @@
|
||||||
android:focusable="true"
|
android:focusable="true"
|
||||||
android:padding="@dimen/player_main_buttons_padding"
|
android:padding="@dimen/player_main_buttons_padding"
|
||||||
android:scaleType="fitXY"
|
android:scaleType="fitXY"
|
||||||
app:srcCompat="@drawable/ic_volume_off"
|
android:src="@drawable/ic_volume_off"
|
||||||
app:tint="@color/white"
|
app:tint="@color/white"
|
||||||
tools:ignore="RtlHardcoded" />
|
tools:ignore="RtlHardcoded" />
|
||||||
|
|
||||||
|
@ -351,8 +351,8 @@
|
||||||
android:focusable="true"
|
android:focusable="true"
|
||||||
android:padding="@dimen/player_main_buttons_padding"
|
android:padding="@dimen/player_main_buttons_padding"
|
||||||
android:scaleType="fitCenter"
|
android:scaleType="fitCenter"
|
||||||
|
android:src="@drawable/ic_fullscreen"
|
||||||
android:visibility="gone"
|
android:visibility="gone"
|
||||||
app:srcCompat="@drawable/ic_fullscreen"
|
|
||||||
app:tint="@color/white"
|
app:tint="@color/white"
|
||||||
tools:ignore="ContentDescription,RtlHardcoded"
|
tools:ignore="ContentDescription,RtlHardcoded"
|
||||||
tools:visibility="visible" />
|
tools:visibility="visible" />
|
||||||
|
@ -397,8 +397,8 @@
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:paddingTop="2dp"
|
android:paddingTop="2dp"
|
||||||
|
android:src="@drawable/dummy_thumbnail"
|
||||||
android:visibility="gone"
|
android:visibility="gone"
|
||||||
app:srcCompat="@drawable/dummy_thumbnail"
|
|
||||||
tools:visibility="visible" />
|
tools:visibility="visible" />
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
@ -475,8 +475,8 @@
|
||||||
android:nextFocusUp="@id/playbackSeekBar"
|
android:nextFocusUp="@id/playbackSeekBar"
|
||||||
android:padding="@dimen/player_main_buttons_padding"
|
android:padding="@dimen/player_main_buttons_padding"
|
||||||
android:scaleType="fitCenter"
|
android:scaleType="fitCenter"
|
||||||
|
android:src="@drawable/ic_fullscreen"
|
||||||
android:visibility="gone"
|
android:visibility="gone"
|
||||||
app:srcCompat="@drawable/ic_fullscreen"
|
|
||||||
app:tint="@color/white"
|
app:tint="@color/white"
|
||||||
tools:ignore="ContentDescription,RtlHardcoded"
|
tools:ignore="ContentDescription,RtlHardcoded"
|
||||||
tools:visibility="visible" />
|
tools:visibility="visible" />
|
||||||
|
@ -500,7 +500,7 @@
|
||||||
android:clickable="true"
|
android:clickable="true"
|
||||||
android:focusable="true"
|
android:focusable="true"
|
||||||
android:scaleType="fitCenter"
|
android:scaleType="fitCenter"
|
||||||
app:srcCompat="@drawable/ic_previous"
|
android:src="@drawable/ic_previous"
|
||||||
app:tint="@color/white"
|
app:tint="@color/white"
|
||||||
tools:ignore="ContentDescription" />
|
tools:ignore="ContentDescription" />
|
||||||
|
|
||||||
|
@ -512,7 +512,7 @@
|
||||||
android:layout_weight="1"
|
android:layout_weight="1"
|
||||||
android:background="?attr/selectableItemBackgroundBorderless"
|
android:background="?attr/selectableItemBackgroundBorderless"
|
||||||
android:scaleType="fitCenter"
|
android:scaleType="fitCenter"
|
||||||
app:srcCompat="@drawable/ic_pause"
|
android:src="@drawable/ic_pause"
|
||||||
app:tint="@color/white"
|
app:tint="@color/white"
|
||||||
tools:ignore="ContentDescription" />
|
tools:ignore="ContentDescription" />
|
||||||
|
|
||||||
|
@ -526,7 +526,7 @@
|
||||||
android:clickable="true"
|
android:clickable="true"
|
||||||
android:focusable="true"
|
android:focusable="true"
|
||||||
android:scaleType="fitCenter"
|
android:scaleType="fitCenter"
|
||||||
app:srcCompat="@drawable/ic_next"
|
android:src="@drawable/ic_next"
|
||||||
app:tint="@color/white"
|
app:tint="@color/white"
|
||||||
tools:ignore="ContentDescription" />
|
tools:ignore="ContentDescription" />
|
||||||
|
|
||||||
|
@ -577,8 +577,8 @@
|
||||||
android:focusable="true"
|
android:focusable="true"
|
||||||
android:padding="10dp"
|
android:padding="10dp"
|
||||||
android:scaleType="fitXY"
|
android:scaleType="fitXY"
|
||||||
|
android:src="@drawable/exo_controls_repeat_off"
|
||||||
android:tint="?attr/colorAccent"
|
android:tint="?attr/colorAccent"
|
||||||
app:srcCompat="@drawable/exo_controls_repeat_off"
|
|
||||||
tools:ignore="ContentDescription,RtlHardcoded" />
|
tools:ignore="ContentDescription,RtlHardcoded" />
|
||||||
|
|
||||||
<androidx.appcompat.widget.AppCompatImageButton
|
<androidx.appcompat.widget.AppCompatImageButton
|
||||||
|
@ -592,8 +592,8 @@
|
||||||
android:focusable="true"
|
android:focusable="true"
|
||||||
android:padding="10dp"
|
android:padding="10dp"
|
||||||
android:scaleType="fitXY"
|
android:scaleType="fitXY"
|
||||||
|
android:src="@drawable/ic_shuffle"
|
||||||
android:tint="?attr/colorAccent"
|
android:tint="?attr/colorAccent"
|
||||||
app:srcCompat="@drawable/ic_shuffle"
|
|
||||||
tools:ignore="ContentDescription,RtlHardcoded" />
|
tools:ignore="ContentDescription,RtlHardcoded" />
|
||||||
|
|
||||||
<androidx.appcompat.widget.AppCompatTextView
|
<androidx.appcompat.widget.AppCompatTextView
|
||||||
|
@ -618,8 +618,8 @@
|
||||||
android:focusable="true"
|
android:focusable="true"
|
||||||
android:padding="10dp"
|
android:padding="10dp"
|
||||||
android:scaleType="fitXY"
|
android:scaleType="fitXY"
|
||||||
|
android:src="@drawable/ic_playlist_add"
|
||||||
android:tint="?attr/colorAccent"
|
android:tint="?attr/colorAccent"
|
||||||
app:srcCompat="@drawable/ic_playlist_add"
|
|
||||||
tools:ignore="ContentDescription,RtlHardcoded" />
|
tools:ignore="ContentDescription,RtlHardcoded" />
|
||||||
|
|
||||||
<androidx.appcompat.widget.AppCompatImageButton
|
<androidx.appcompat.widget.AppCompatImageButton
|
||||||
|
@ -635,7 +635,7 @@
|
||||||
android:focusable="true"
|
android:focusable="true"
|
||||||
android:padding="10dp"
|
android:padding="10dp"
|
||||||
android:scaleType="fitXY"
|
android:scaleType="fitXY"
|
||||||
app:srcCompat="@drawable/ic_close"
|
android:src="@drawable/ic_close"
|
||||||
app:tint="@color/white" />
|
app:tint="@color/white" />
|
||||||
|
|
||||||
</RelativeLayout>
|
</RelativeLayout>
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<merge xmlns:android="http://schemas.android.com/apk/res/android"
|
<merge xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
||||||
xmlns:tools="http://schemas.android.com/tools"
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
tools:ignore="ContentDescription"
|
tools:ignore="ContentDescription"
|
||||||
tools:layout_height="wrap_content"
|
tools:layout_height="wrap_content"
|
||||||
|
@ -19,21 +18,21 @@
|
||||||
android:id="@+id/icon_1"
|
android:id="@+id/icon_1"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
app:srcCompat="@drawable/ic_play_seek_triangle"
|
android:src="@drawable/ic_play_seek_triangle"
|
||||||
tools:alpha="0.18" />
|
tools:alpha="0.18" />
|
||||||
|
|
||||||
<androidx.appcompat.widget.AppCompatImageView
|
<androidx.appcompat.widget.AppCompatImageView
|
||||||
android:id="@+id/icon_2"
|
android:id="@+id/icon_2"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
app:srcCompat="@drawable/ic_play_seek_triangle"
|
android:src="@drawable/ic_play_seek_triangle"
|
||||||
tools:alpha="0.5" />
|
tools:alpha="0.5" />
|
||||||
|
|
||||||
<androidx.appcompat.widget.AppCompatImageView
|
<androidx.appcompat.widget.AppCompatImageView
|
||||||
android:id="@+id/icon_3"
|
android:id="@+id/icon_3"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
app:srcCompat="@drawable/ic_play_seek_triangle"
|
android:src="@drawable/ic_play_seek_triangle"
|
||||||
tools:alpha="1" />
|
tools:alpha="1" />
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
|
@ -10,8 +10,8 @@
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_gravity="bottom|center_horizontal"
|
android:layout_gravity="bottom|center_horizontal"
|
||||||
android:layout_marginBottom="24dp"
|
android:layout_marginBottom="24dp"
|
||||||
|
android:src="@drawable/ic_close"
|
||||||
app:backgroundTint="@color/light_youtube_primary_color"
|
app:backgroundTint="@color/light_youtube_primary_color"
|
||||||
app:borderWidth="0dp"
|
app:borderWidth="0dp"
|
||||||
app:fabSize="normal"
|
app:fabSize="normal" />
|
||||||
app:srcCompat="@drawable/ic_close" />
|
|
||||||
</FrameLayout>
|
</FrameLayout>
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
||||||
xmlns:tools="http://schemas.android.com/tools"
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
|
@ -20,13 +19,12 @@
|
||||||
<org.schabi.newpipe.views.NewPipeTextView
|
<org.schabi.newpipe.views.NewPipeTextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
|
android:drawableStart="@drawable/ic_headset"
|
||||||
android:drawablePadding="4dp"
|
android:drawablePadding="4dp"
|
||||||
android:gravity="center_vertical"
|
android:gravity="center_vertical"
|
||||||
android:text="@string/controls_background_title"
|
android:text="@string/controls_background_title"
|
||||||
android:textColor="?attr/colorAccent"
|
android:textColor="?attr/colorAccent"
|
||||||
android:textSize="@dimen/channel_rss_title_size"
|
android:textSize="@dimen/channel_rss_title_size" />
|
||||||
app:drawableLeftCompat="@drawable/ic_headset"
|
|
||||||
app:drawableStartCompat="@drawable/ic_headset" />
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
<View
|
<View
|
||||||
|
@ -77,12 +75,11 @@
|
||||||
<org.schabi.newpipe.views.NewPipeTextView
|
<org.schabi.newpipe.views.NewPipeTextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
|
android:drawableStart="@drawable/ic_picture_in_picture"
|
||||||
android:drawablePadding="4dp"
|
android:drawablePadding="4dp"
|
||||||
android:gravity="center_vertical"
|
android:gravity="center_vertical"
|
||||||
android:text="@string/controls_popup_title"
|
android:text="@string/controls_popup_title"
|
||||||
android:textColor="?attr/colorAccent"
|
android:textColor="?attr/colorAccent"
|
||||||
android:textSize="@dimen/channel_rss_title_size"
|
android:textSize="@dimen/channel_rss_title_size" />
|
||||||
app:drawableLeftCompat="@drawable/ic_picture_in_picture"
|
|
||||||
app:drawableStartCompat="@drawable/ic_picture_in_picture" />
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
||||||
xmlns:tools="http://schemas.android.com/tools"
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
|
@ -22,7 +21,7 @@
|
||||||
android:layout_centerVertical="true"
|
android:layout_centerVertical="true"
|
||||||
android:layout_marginLeft="12dp"
|
android:layout_marginLeft="12dp"
|
||||||
android:layout_marginRight="12dp"
|
android:layout_marginRight="12dp"
|
||||||
app:srcCompat="@drawable/ic_filter_list"
|
android:src="@drawable/ic_filter_list"
|
||||||
tools:ignore="ContentDescription,RtlHardcoded" />
|
tools:ignore="ContentDescription,RtlHardcoded" />
|
||||||
|
|
||||||
<org.schabi.newpipe.views.NewPipeTextView
|
<org.schabi.newpipe.views.NewPipeTextView
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
||||||
xmlns:tools="http://schemas.android.com/tools"
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="48dp">
|
android:layout_height="48dp">
|
||||||
|
@ -13,7 +12,7 @@
|
||||||
android:layout_centerVertical="true"
|
android:layout_centerVertical="true"
|
||||||
android:layout_marginLeft="6dp"
|
android:layout_marginLeft="6dp"
|
||||||
android:scaleType="fitCenter"
|
android:scaleType="fitCenter"
|
||||||
app:srcCompat="@drawable/ic_volume_off"
|
android:src="@drawable/ic_volume_off"
|
||||||
tools:ignore="ContentDescription,RtlHardcoded" />
|
tools:ignore="ContentDescription,RtlHardcoded" />
|
||||||
|
|
||||||
<org.schabi.newpipe.views.NewPipeTextView
|
<org.schabi.newpipe.views.NewPipeTextView
|
||||||
|
|
|
@ -48,8 +48,8 @@
|
||||||
android:layout_gravity="center"
|
android:layout_gravity="center"
|
||||||
android:contentDescription="@string/search"
|
android:contentDescription="@string/search"
|
||||||
android:scaleType="fitCenter"
|
android:scaleType="fitCenter"
|
||||||
|
android:src="@drawable/ic_close"
|
||||||
app:tint="?attr/toolbarSearchColor"
|
app:tint="?attr/toolbarSearchColor"
|
||||||
app:srcCompat="@drawable/ic_close"
|
|
||||||
tools:ignore="RtlHardcoded" />
|
tools:ignore="RtlHardcoded" />
|
||||||
</FrameLayout>
|
</FrameLayout>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue