Merge pull request #7061 from TiA4f8R/custom-textview-edittext

Use custom TextViews and EditTexts in all XML resources
This commit is contained in:
litetex 2021-10-27 20:47:15 +02:00 committed by GitHub
commit e9e2afa61a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
73 changed files with 459 additions and 301 deletions

View File

@ -0,0 +1,61 @@
package org.schabi.newpipe.util;
import android.content.Context;
import android.text.Selection;
import android.text.Spannable;
import android.widget.TextView;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import org.schabi.newpipe.util.external_communication.ShareUtils;
import org.schabi.newpipe.views.NewPipeEditText;
import org.schabi.newpipe.views.NewPipeTextView;
public final class NewPipeTextViewHelper {
private NewPipeTextViewHelper() {
}
/**
* Share the selected text of {@link NewPipeTextView NewPipeTextViews} and
* {@link NewPipeEditText NewPipeEditTexts} with
* {@link ShareUtils#shareText(Context, String, String)}.
*
* <p>
* This allows EMUI users to get the Android share sheet instead of the EMUI share sheet when
* using the {@code Share} command of the popup menu which appears when selecting text.
* </p>
*
* @param textView the {@link TextView} on which sharing the selected text. It should be a
* {@link NewPipeTextView} or a {@link NewPipeEditText} (even if
* {@link TextView standard TextViews} are supported).
*/
public static void shareSelectedTextWithShareUtils(@NonNull final TextView textView) {
final CharSequence textViewText = textView.getText();
shareSelectedTextIfNotNullAndNotEmpty(textView, getSelectedText(textView, textViewText));
if (textViewText instanceof Spannable) {
Selection.setSelection((Spannable) textViewText, textView.getSelectionEnd());
}
}
@Nullable
private static CharSequence getSelectedText(@NonNull final TextView textView,
@Nullable final CharSequence text) {
if (!textView.hasSelection() || text == null) {
return null;
}
final int start = textView.getSelectionStart();
final int end = textView.getSelectionEnd();
return String.valueOf(start > end ? text.subSequence(end, start)
: text.subSequence(start, end));
}
private static void shareSelectedTextIfNotNullAndNotEmpty(
@NonNull final TextView textView,
@Nullable final CharSequence selectedText) {
if (selectedText != null && selectedText.length() != 0) {
ShareUtils.shareText(textView.getContext(), "", selectedText.toString());
}
}
}

View File

@ -0,0 +1,45 @@
package org.schabi.newpipe.views;
import android.content.Context;
import android.util.AttributeSet;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.appcompat.widget.AppCompatEditText;
import org.schabi.newpipe.util.NewPipeTextViewHelper;
import org.schabi.newpipe.util.external_communication.ShareUtils;
/**
* An {@link AppCompatEditText} which uses {@link ShareUtils#shareText(Context, String, String)}
* when sharing selected text by using the {@code Share} command of the floating actions.
* <p>
* This allows NewPipe to show Android share sheet instead of EMUI share sheet when sharing text
* from {@link AppCompatEditText} on EMUI devices.
* </p>
*/
public class NewPipeEditText extends AppCompatEditText {
public NewPipeEditText(@NonNull final Context context) {
super(context);
}
public NewPipeEditText(@NonNull final Context context, @Nullable final AttributeSet attrs) {
super(context, attrs);
}
public NewPipeEditText(@NonNull final Context context,
@Nullable final AttributeSet attrs,
final int defStyleAttr) {
super(context, attrs, defStyleAttr);
}
@Override
public boolean onTextContextMenuItem(final int id) {
if (id == android.R.id.shareText) {
NewPipeTextViewHelper.shareSelectedTextWithShareUtils(this);
return true;
}
return super.onTextContextMenuItem(id);
}
}

View File

@ -0,0 +1,45 @@
package org.schabi.newpipe.views;
import android.content.Context;
import android.util.AttributeSet;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.appcompat.widget.AppCompatTextView;
import org.schabi.newpipe.util.NewPipeTextViewHelper;
import org.schabi.newpipe.util.external_communication.ShareUtils;
/**
* An {@link AppCompatTextView} which uses {@link ShareUtils#shareText(Context, String, String)}
* when sharing selected text by using the {@code Share} command of the floating actions.
* <p>
* This allows NewPipe to show Android share sheet instead of EMUI share sheet when sharing text
* from {@link AppCompatTextView} on EMUI devices.
* </p>
*/
public class NewPipeTextView extends AppCompatTextView {
public NewPipeTextView(@NonNull final Context context) {
super(context);
}
public NewPipeTextView(@NonNull final Context context, @Nullable final AttributeSet attrs) {
super(context, attrs);
}
public NewPipeTextView(@NonNull final Context context,
@Nullable final AttributeSet attrs,
final int defStyleAttr) {
super(context, attrs, defStyleAttr);
}
@Override
public boolean onTextContextMenuItem(final int id) {
if (id == android.R.id.shareText) {
NewPipeTextViewHelper.shareSelectedTextWithShareUtils(this);
return true;
}
return super.onTextContextMenuItem(id);
}
}

View File

@ -60,7 +60,7 @@
android:padding="8dp" android:padding="8dp"
tools:ignore="RtlHardcoded,RtlSymmetry"> tools:ignore="RtlHardcoded,RtlSymmetry">
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/song_name" android:id="@+id/song_name"
style="@android:style/TextAppearance.StatusBar.EventContent.Title" style="@android:style/TextAppearance.StatusBar.EventContent.Title"
android:layout_width="match_parent" android:layout_width="match_parent"
@ -71,7 +71,7 @@
android:textSize="14sp" android:textSize="14sp"
tools:text="Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis nec aliquam augue, eget cursus est. Ut id tristique enim, ut scelerisque tellus. Sed ultricies ipsum non mauris ultricies, commodo malesuada velit porta." /> tools:text="Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis nec aliquam augue, eget cursus est. Ut id tristique enim, ut scelerisque tellus. Sed ultricies ipsum non mauris ultricies, commodo malesuada velit porta." />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/artist_name" android:id="@+id/artist_name"
style="@android:style/TextAppearance.StatusBar.EventContent" style="@android:style/TextAppearance.StatusBar.EventContent"
android:layout_width="match_parent" android:layout_width="match_parent"
@ -82,7 +82,7 @@
tools:text="Duis posuere arcu condimentum lobortis mattis." /> tools:text="Duis posuere arcu condimentum lobortis mattis." />
</LinearLayout> </LinearLayout>
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/seek_display" android:id="@+id/seek_display"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -269,7 +269,7 @@
android:paddingLeft="16dp" android:paddingLeft="16dp"
android:paddingRight="16dp"> android:paddingRight="16dp">
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/current_time" android:id="@+id/current_time"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="match_parent" android:layout_height="match_parent"
@ -291,7 +291,7 @@
tools:progress="25" tools:progress="25"
tools:secondaryProgress="50" /> tools:secondaryProgress="50" />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/end_time" android:id="@+id/end_time"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="match_parent" android:layout_height="match_parent"
@ -301,7 +301,7 @@
tools:ignore="HardcodedText" tools:ignore="HardcodedText"
tools:text="1:23:49" /> tools:text="1:23:49" />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/live_sync" android:id="@+id/live_sync"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="match_parent" android:layout_height="match_parent"

View File

@ -70,7 +70,7 @@
tools:ignore="ContentDescription" tools:ignore="ContentDescription"
tools:visibility="visible" /> tools:visibility="visible" />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/touch_append_detail" android:id="@+id/touch_append_detail"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -88,7 +88,7 @@
tools:ignore="RtlHardcoded" tools:ignore="RtlHardcoded"
tools:visibility="visible" /> tools:visibility="visible" />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/detail_duration_view" android:id="@+id/detail_duration_view"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -113,7 +113,7 @@
tools:text="12:38" tools:text="12:38"
tools:visibility="visible" /> tools:visibility="visible" />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/detail_position_view" android:id="@+id/detail_position_view"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -179,7 +179,7 @@
android:paddingStart="12dp" android:paddingStart="12dp"
tools:ignore="RtlSymmetry"> tools:ignore="RtlSymmetry">
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/detail_video_title_view" android:id="@+id/detail_video_title_view"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
@ -291,7 +291,7 @@
android:gravity="center_vertical" android:gravity="center_vertical"
android:orientation="vertical"> android:orientation="vertical">
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/detail_sub_channel_text_view" android:id="@+id/detail_sub_channel_text_view"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -307,7 +307,7 @@
tools:ignore="RtlHardcoded" tools:ignore="RtlHardcoded"
tools:text="Channel" /> tools:text="Channel" />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/detail_uploader_text_view" android:id="@+id/detail_uploader_text_view"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -348,7 +348,7 @@
android:paddingLeft="6dp" android:paddingLeft="6dp"
android:paddingRight="6dp"> android:paddingRight="6dp">
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/detail_view_count_view" android:id="@+id/detail_view_count_view"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -369,7 +369,7 @@
android:contentDescription="@string/detail_likes_img_view_description" android:contentDescription="@string/detail_likes_img_view_description"
app:srcCompat="@drawable/ic_thumb_up" /> app:srcCompat="@drawable/ic_thumb_up" />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/detail_thumbs_up_count_view" android:id="@+id/detail_thumbs_up_count_view"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="@dimen/video_item_detail_like_image_height" android:layout_height="@dimen/video_item_detail_like_image_height"
@ -394,7 +394,7 @@
app:srcCompat="@drawable/ic_thumb_down" app:srcCompat="@drawable/ic_thumb_down"
tools:ignore="RtlHardcoded" /> tools:ignore="RtlHardcoded" />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/detail_thumbs_down_count_view" android:id="@+id/detail_thumbs_down_count_view"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="@dimen/video_item_detail_like_image_height" android:layout_height="@dimen/video_item_detail_like_image_height"
@ -408,7 +408,7 @@
tools:ignore="RtlHardcoded" tools:ignore="RtlHardcoded"
tools:text="10K" /> tools:text="10K" />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/detail_thumbs_disabled_view" android:id="@+id/detail_thumbs_disabled_view"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="@dimen/video_item_detail_like_image_height" android:layout_height="@dimen/video_item_detail_like_image_height"
@ -436,7 +436,7 @@
android:orientation="horizontal" android:orientation="horizontal"
android:padding="@dimen/detail_control_padding"> android:padding="@dimen/detail_control_padding">
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/detail_controls_playlist_append" android:id="@+id/detail_controls_playlist_append"
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"
@ -452,7 +452,7 @@
android:textSize="@dimen/detail_control_text_size" android:textSize="@dimen/detail_control_text_size"
app:drawableTopCompat="@drawable/ic_playlist_add" /> app:drawableTopCompat="@drawable/ic_playlist_add" />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/detail_controls_background" android:id="@+id/detail_controls_background"
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"
@ -468,7 +468,7 @@
android:textSize="@dimen/detail_control_text_size" android:textSize="@dimen/detail_control_text_size"
app:drawableTopCompat="@drawable/ic_headset" /> app:drawableTopCompat="@drawable/ic_headset" />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/detail_controls_popup" android:id="@+id/detail_controls_popup"
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"
@ -484,7 +484,7 @@
android:textSize="@dimen/detail_control_text_size" android:textSize="@dimen/detail_control_text_size"
app:drawableTopCompat="@drawable/ic_picture_in_picture" /> app:drawableTopCompat="@drawable/ic_picture_in_picture" />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/detail_controls_download" android:id="@+id/detail_controls_download"
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"
@ -515,7 +515,7 @@
android:visibility="gone" android:visibility="gone"
tools:visibility="visible"> tools:visibility="visible">
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/detail_controls_share" android:id="@+id/detail_controls_share"
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"
@ -531,7 +531,7 @@
android:textSize="@dimen/detail_control_text_size" android:textSize="@dimen/detail_control_text_size"
app:drawableTopCompat="@drawable/ic_share" /> app:drawableTopCompat="@drawable/ic_share" />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/detail_controls_open_in_browser" android:id="@+id/detail_controls_open_in_browser"
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"
@ -547,7 +547,7 @@
android:textSize="@dimen/detail_control_text_size" android:textSize="@dimen/detail_control_text_size"
app:drawableTopCompat="@drawable/ic_language" /> app:drawableTopCompat="@drawable/ic_language" />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/detail_controls_play_with_kodi" android:id="@+id/detail_controls_play_with_kodi"
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"
@ -573,7 +573,7 @@
android:layout_marginRight="8dp" android:layout_marginRight="8dp"
android:background="?attr/separator_color" /> android:background="?attr/separator_color" />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/detail_meta_info_text_view" android:id="@+id/detail_meta_info_text_view"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -654,7 +654,7 @@
android:orientation="vertical" android:orientation="vertical"
tools:ignore="RtlHardcoded"> tools:ignore="RtlHardcoded">
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/overlay_title_text_view" android:id="@+id/overlay_title_text_view"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -668,7 +668,7 @@
tools:ignore="RtlHardcoded" tools:ignore="RtlHardcoded"
tools:text="The Video Title LONG very LONVideo Title LONG very LONG" /> tools:text="The Video Title LONG very LONVideo Title LONG very LONG" />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/overlay_channel_text_view" android:id="@+id/overlay_channel_text_view"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"

View File

@ -118,7 +118,7 @@
android:orientation="vertical" android:orientation="vertical"
tools:ignore="RtlHardcoded"> tools:ignore="RtlHardcoded">
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/titleTextView" android:id="@+id/titleTextView"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -133,7 +133,7 @@
tools:ignore="RtlHardcoded" tools:ignore="RtlHardcoded"
tools:text="The Video Title LONG very LONG" /> tools:text="The Video Title LONG very LONG" />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/channelTextView" android:id="@+id/channelTextView"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -147,7 +147,7 @@
tools:text="The Video Artist LONG very LONG very Long" /> tools:text="The Video Artist LONG very LONG very Long" />
</LinearLayout> </LinearLayout>
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/qualityTextView" android:id="@+id/qualityTextView"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="35dp" android:layout_height="35dp"
@ -161,7 +161,7 @@
tools:ignore="HardcodedText,RtlHardcoded" tools:ignore="HardcodedText,RtlHardcoded"
tools:text="720p" /> tools:text="720p" />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/playbackSpeed" android:id="@+id/playbackSpeed"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="35dp" android:layout_height="35dp"
@ -237,7 +237,7 @@
tools:ignore="RtlHardcoded" tools:ignore="RtlHardcoded"
tools:visibility="visible"> tools:visibility="visible">
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/resizeTextView" android:id="@+id/resizeTextView"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="35dp" android:layout_height="35dp"
@ -257,7 +257,7 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_weight="3"> android:layout_weight="3">
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/captionTextView" android:id="@+id/captionTextView"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -369,7 +369,7 @@
android:orientation="vertical" android:orientation="vertical"
android:paddingBottom="12dp"> android:paddingBottom="12dp">
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/currentDisplaySeek" android:id="@+id/currentDisplaySeek"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -409,7 +409,7 @@
android:paddingLeft="@dimen/player_main_controls_padding" android:paddingLeft="@dimen/player_main_controls_padding"
android:paddingRight="@dimen/player_main_controls_padding"> android:paddingRight="@dimen/player_main_controls_padding">
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/playbackCurrentTime" android:id="@+id/playbackCurrentTime"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="match_parent" android:layout_height="match_parent"
@ -433,7 +433,7 @@
tools:progress="25" tools:progress="25"
tools:secondaryProgress="50" /> tools:secondaryProgress="50" />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/playbackEndTime" android:id="@+id/playbackEndTime"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="match_parent" android:layout_height="match_parent"
@ -443,7 +443,7 @@
tools:ignore="HardcodedText" tools:ignore="HardcodedText"
tools:text="1:23:49" /> tools:text="1:23:49" />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/playbackLiveSync" android:id="@+id/playbackLiveSync"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="match_parent" android:layout_height="match_parent"

View File

@ -26,7 +26,7 @@
android:paddingRight="@dimen/activity_horizontal_margin" android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingBottom="@dimen/activity_vertical_margin"> android:paddingBottom="@dimen/activity_vertical_margin">
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/errorSorryView" android:id="@+id/errorSorryView"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -35,21 +35,21 @@
android:textAppearance="?android:attr/textAppearanceLarge" android:textAppearance="?android:attr/textAppearanceLarge"
android:textStyle="bold" /> android:textStyle="bold" />
<TextView <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:paddingTop="@dimen/activity_vertical_margin" android:paddingTop="@dimen/activity_vertical_margin"
android:text="@string/what_happened_headline" android:text="@string/what_happened_headline"
android:textAppearance="?android:attr/textAppearanceMedium" /> android:textAppearance="?android:attr/textAppearanceMedium" />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/errorMessageView" android:id="@+id/errorMessageView"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="@string/info_labels" android:text="@string/info_labels"
android:textColor="?attr/colorAccent" /> android:textColor="?attr/colorAccent" />
<TextView <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:paddingTop="@dimen/activity_vertical_margin" android:paddingTop="@dimen/activity_vertical_margin"
@ -61,7 +61,7 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:orientation="horizontal"> android:orientation="horizontal">
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/errorInfoLabelsView" android:id="@+id/errorInfoLabelsView"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -73,7 +73,7 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:paddingLeft="16dp"> android:paddingLeft="16dp">
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/errorInfosView" android:id="@+id/errorInfosView"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" /> android:layout_height="wrap_content" />
@ -82,7 +82,7 @@
</LinearLayout> </LinearLayout>
<TextView <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:paddingTop="@dimen/activity_vertical_margin" android:paddingTop="@dimen/activity_vertical_margin"
@ -94,7 +94,7 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="center"> android:layout_gravity="center">
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/errorView" android:id="@+id/errorView"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -102,14 +102,14 @@
android:typeface="monospace" /> android:typeface="monospace" />
</HorizontalScrollView> </HorizontalScrollView>
<TextView <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:paddingTop="@dimen/activity_vertical_margin" android:paddingTop="@dimen/activity_vertical_margin"
android:text="@string/your_comment" android:text="@string/your_comment"
android:textAppearance="?android:attr/textAppearanceMedium" /> android:textAppearance="?android:attr/textAppearanceMedium" />
<EditText <org.schabi.newpipe.views.NewPipeEditText
android:id="@+id/errorCommentBox" android:id="@+id/errorCommentBox"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -121,7 +121,7 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="@string/error_report_button_text" /> android:text="@string/error_report_button_text" />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="10dp" android:layout_marginTop="10dp"

View File

@ -31,80 +31,86 @@
android:id="@+id/play_queue" android:id="@+id/play_queue"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_above="@id/metadata" android:layout_above="@id/center"
android:layout_below="@id/appbar" android:layout_below="@id/appbar"
android:scrollbars="vertical" android:scrollbars="vertical"
app:layoutManager="LinearLayoutManager" app:layoutManager="LinearLayoutManager"
tools:listitem="@layout/play_queue_item" /> tools:listitem="@layout/play_queue_item" />
<TextView <RelativeLayout
android:id="@+id/seek_display" android:id="@+id/center"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
android:layout_above="@id/metadata"
android:background="#c0000000"
android:paddingLeft="30dp"
android:paddingTop="5dp"
android:paddingRight="30dp"
android:paddingBottom="5dp"
android:textColor="@android:color/white"
android:textSize="22sp"
android:textStyle="bold"
android:visibility="gone"
tools:ignore="RtlHardcoded"
tools:text="1:06:29"
tools:visibility="visible" />
<LinearLayout
android:id="@+id/metadata"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_above="@id/progress_bar" android:layout_above="@+id/playback_controls">
android:background="?attr/selectableItemBackground"
android:clickable="true"
android:focusable="true"
android:orientation="vertical"
android:padding="8dp"
tools:ignore="RtlHardcoded,RtlSymmetry">
<TextView <LinearLayout
android:id="@+id/song_name" android:id="@+id/metadata"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:ellipsize="marquee" android:background="?attr/selectableItemBackground"
android:fadingEdge="horizontal" android:clickable="true"
android:marqueeRepeatLimit="marquee_forever" android:focusable="true"
android:scrollHorizontally="true" android:orientation="vertical"
android:singleLine="true" android:padding="8dp"
android:textAppearance="?android:attr/textAppearanceLarge" tools:ignore="RtlHardcoded,RtlSymmetry">
android:textSize="14sp"
tools:text="Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis nec aliquam augue, eget cursus est. Ut id tristique enim, ut scelerisque tellus. Sed ultricies ipsum non mauris ultricies, commodo malesuada velit porta." />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/artist_name" android:id="@+id/song_name"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content"
android:ellipsize="marquee"
android:fadingEdge="horizontal"
android:marqueeRepeatLimit="marquee_forever"
android:scrollHorizontally="true"
android:singleLine="true"
android:textAppearance="?android:attr/textAppearanceLarge"
android:textSize="14sp"
tools:text="Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis nec aliquam augue, eget cursus est. Ut id tristique enim, ut scelerisque tellus. Sed ultricies ipsum non mauris ultricies, commodo malesuada velit porta." />
<org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/artist_name"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:ellipsize="marquee"
android:fadingEdge="horizontal"
android:marqueeRepeatLimit="marquee_forever"
android:scrollHorizontally="true"
android:singleLine="true"
android:textAppearance="?android:attr/textAppearanceMedium"
android:textSize="12sp"
tools:text="Duis posuere arcu condimentum lobortis mattis." />
</LinearLayout>
<org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/seek_display"
android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:ellipsize="marquee" android:layout_centerInParent="true"
android:fadingEdge="horizontal" android:background="#c0000000"
android:marqueeRepeatLimit="marquee_forever" android:paddingLeft="30dp"
android:scrollHorizontally="true" android:paddingTop="5dp"
android:singleLine="true" android:paddingRight="30dp"
android:textAppearance="?android:attr/textAppearanceMedium" android:paddingBottom="5dp"
android:textSize="12sp" android:textColor="@android:color/white"
tools:text="Duis posuere arcu condimentum lobortis mattis." /> android:textSize="22sp"
</LinearLayout> android:textStyle="bold"
android:visibility="gone"
tools:ignore="RtlHardcoded"
tools:text="1:06:29"
tools:visibility="visible" />
</RelativeLayout>
<LinearLayout <LinearLayout
android:id="@+id/progress_bar" android:id="@+id/progress_bar"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:gravity="center"
android:orientation="horizontal" android:orientation="horizontal"
android:paddingLeft="12dp" android:paddingLeft="12dp"
android:paddingRight="12dp" android:paddingRight="12dp">
android:layout_above="@+id/playback_controls">
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/current_time" android:id="@+id/current_time"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="match_parent" android:layout_height="match_parent"
@ -129,7 +135,7 @@
tools:progress="25" tools:progress="25"
tools:secondaryProgress="50" /> tools:secondaryProgress="50" />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/end_time" android:id="@+id/end_time"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="match_parent" android:layout_height="match_parent"
@ -139,7 +145,7 @@
tools:ignore="HardcodedText" tools:ignore="HardcodedText"
tools:text="1:23:49" /> tools:text="1:23:49" />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/live_sync" android:id="@+id/live_sync"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="match_parent" android:layout_height="match_parent"
@ -157,9 +163,8 @@
android:id="@+id/playback_controls" android:id="@+id/playback_controls"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_above="@+id/progress_bar"
android:orientation="horizontal" android:orientation="horizontal"
android:layout_alignParentBottom="true"
android:layout_marginBottom="12dp"
tools:ignore="RtlHardcoded"> tools:ignore="RtlHardcoded">
<ImageButton <ImageButton
@ -289,4 +294,5 @@
tools:ignore="ContentDescription" /> tools:ignore="ContentDescription" />
</RelativeLayout> </RelativeLayout>
</RelativeLayout> </RelativeLayout>

View File

@ -49,7 +49,7 @@
tools:visibility="visible" /> tools:visibility="visible" />
</FrameLayout> </FrameLayout>
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/channel_title_view" android:id="@+id/channel_title_view"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -66,7 +66,7 @@
tools:ignore="RtlHardcoded" tools:ignore="RtlHardcoded"
tools:text="Lorem ipsum dolor" /> tools:text="Lorem ipsum dolor" />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/sub_channel_title_view" android:id="@+id/sub_channel_title_view"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -82,7 +82,7 @@
tools:layout_below="@id/channel_title_view" tools:layout_below="@id/channel_title_view"
tools:text="Lorem ipsum dolor" /> tools:text="Lorem ipsum dolor" />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/channel_subscriber_view" android:id="@+id/channel_subscriber_view"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"

View File

@ -7,7 +7,7 @@
android:paddingTop="@dimen/video_item_search_padding" android:paddingTop="@dimen/video_item_search_padding"
android:paddingRight="@dimen/video_item_search_padding"> android:paddingRight="@dimen/video_item_search_padding">
<EditText <org.schabi.newpipe.views.NewPipeEditText
android:id="@+id/dialogEditText" android:id="@+id/dialogEditText"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"

View File

@ -45,7 +45,7 @@
app:layout_constraintStart_toEndOf="@+id/icon_preview" app:layout_constraintStart_toEndOf="@+id/icon_preview"
app:layout_constraintTop_toTopOf="parent"> app:layout_constraintTop_toTopOf="parent">
<EditText <org.schabi.newpipe.views.NewPipeEditText
android:id="@+id/group_name_input" android:id="@+id/group_name_input"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
@ -57,7 +57,7 @@
</com.google.android.material.textfield.TextInputLayout> </com.google.android.material.textfield.TextInputLayout>
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/selected_subscription_count_view" android:id="@+id/selected_subscription_count_view"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -117,7 +117,7 @@
android:gravity="center_vertical" android:gravity="center_vertical"
android:orientation="vertical"> android:orientation="vertical">
<TextView <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:gravity="start|center_vertical" android:gravity="start|center_vertical"
@ -126,7 +126,7 @@
android:textSize="16sp" android:textSize="16sp"
android:textStyle="bold" /> android:textStyle="bold" />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/subscriptions_header_info" android:id="@+id/subscriptions_header_info"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -155,7 +155,7 @@
tools:spanCount="4" /> tools:spanCount="4" />
</LinearLayout> </LinearLayout>
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/delete_screen_message" android:id="@+id/delete_screen_message"
style="@style/TextAppearance.AppCompat.Subhead" style="@style/TextAppearance.AppCompat.Subhead"
android:layout_width="wrap_content" android:layout_width="wrap_content"

View File

@ -15,7 +15,7 @@
android:scrollbars="vertical"> android:scrollbars="vertical">
<!-- START HERE --> <!-- START HERE -->
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/tempoControlText" android:id="@+id/tempoControlText"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -34,7 +34,7 @@
android:layout_marginTop="4dp" android:layout_marginTop="4dp"
android:orientation="horizontal"> android:orientation="horizontal">
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/tempoStepDown" android:id="@+id/tempoStepDown"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="match_parent" android:layout_height="match_parent"
@ -62,7 +62,7 @@
android:layout_toRightOf="@id/tempoStepDown" android:layout_toRightOf="@id/tempoStepDown"
android:orientation="horizontal"> android:orientation="horizontal">
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/tempoMinimumText" android:id="@+id/tempoMinimumText"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -76,7 +76,7 @@
tools:ignore="HardcodedText" tools:ignore="HardcodedText"
tools:text="1.00x" /> tools:text="1.00x" />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/tempoCurrentText" android:id="@+id/tempoCurrentText"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -88,7 +88,7 @@
tools:ignore="HardcodedText" tools:ignore="HardcodedText"
tools:text="100%" /> tools:text="100%" />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/tempoMaximumText" android:id="@+id/tempoMaximumText"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -112,7 +112,7 @@
tools:progress="50" /> tools:progress="50" />
</RelativeLayout> </RelativeLayout>
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/tempoStepUp" android:id="@+id/tempoStepUp"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="match_parent" android:layout_height="match_parent"
@ -140,7 +140,7 @@
android:layout_margin="@dimen/video_item_search_padding" android:layout_margin="@dimen/video_item_search_padding"
android:background="?attr/separator_color" /> android:background="?attr/separator_color" />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/pitchControlText" android:id="@+id/pitchControlText"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -159,7 +159,7 @@
android:layout_marginTop="4dp" android:layout_marginTop="4dp"
android:orientation="horizontal"> android:orientation="horizontal">
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/pitchStepDown" android:id="@+id/pitchStepDown"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="match_parent" android:layout_height="match_parent"
@ -177,6 +177,7 @@
tools:text="-5%" /> tools:text="-5%" />
<RelativeLayout <RelativeLayout
android:id="@+id/pitchDisplay"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_marginLeft="4dp" android:layout_marginLeft="4dp"
@ -187,7 +188,7 @@
android:layout_toRightOf="@+id/pitchStepDown" android:layout_toRightOf="@+id/pitchStepDown"
android:orientation="horizontal"> android:orientation="horizontal">
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/pitchMinimumText" android:id="@+id/pitchMinimumText"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -201,7 +202,7 @@
tools:ignore="HardcodedText" tools:ignore="HardcodedText"
tools:text="25%" /> tools:text="25%" />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/pitchCurrentText" android:id="@+id/pitchCurrentText"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -213,7 +214,7 @@
tools:ignore="HardcodedText" tools:ignore="HardcodedText"
tools:text="100%" /> tools:text="100%" />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/pitchMaximumText" android:id="@+id/pitchMaximumText"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -237,7 +238,7 @@
tools:progress="50" /> tools:progress="50" />
</RelativeLayout> </RelativeLayout>
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/pitchStepUp" android:id="@+id/pitchStepUp"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="match_parent" android:layout_height="match_parent"
@ -272,7 +273,7 @@
android:layout_below="@id/separatorStepSizeSelector" android:layout_below="@id/separatorStepSizeSelector"
android:orientation="horizontal"> android:orientation="horizontal">
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_weight="1" android:layout_weight="1"
@ -282,7 +283,7 @@
android:textColor="?attr/colorAccent" android:textColor="?attr/colorAccent"
android:textStyle="bold" /> android:textStyle="bold" />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/stepSizeOnePercent" android:id="@+id/stepSizeOnePercent"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="match_parent" android:layout_height="match_parent"
@ -293,7 +294,7 @@
android:gravity="center" android:gravity="center"
android:textColor="?attr/colorAccent" /> android:textColor="?attr/colorAccent" />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/stepSizeFivePercent" android:id="@+id/stepSizeFivePercent"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="match_parent" android:layout_height="match_parent"
@ -304,7 +305,7 @@
android:gravity="center" android:gravity="center"
android:textColor="?attr/colorAccent" /> android:textColor="?attr/colorAccent" />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/stepSizeTenPercent" android:id="@+id/stepSizeTenPercent"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="match_parent" android:layout_height="match_parent"
@ -315,7 +316,7 @@
android:gravity="center" android:gravity="center"
android:textColor="?attr/colorAccent" /> android:textColor="?attr/colorAccent" />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/stepSizeTwentyFivePercent" android:id="@+id/stepSizeTwentyFivePercent"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="match_parent" android:layout_height="match_parent"

View File

@ -23,7 +23,7 @@
app:srcCompat="@drawable/ic_playlist_add" app:srcCompat="@drawable/ic_playlist_add"
tools:ignore="ContentDescription,RtlHardcoded" /> tools:ignore="ContentDescription,RtlHardcoded" />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="50dp" android:layout_height="50dp"
android:layout_toRightOf="@+id/newPlaylistIcon" android:layout_toRightOf="@+id/newPlaylistIcon"

View File

@ -9,7 +9,7 @@
android:paddingTop="@dimen/video_item_search_padding" android:paddingTop="@dimen/video_item_search_padding"
android:paddingRight="@dimen/video_item_search_padding"> android:paddingRight="@dimen/video_item_search_padding">
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/itemTitleView" android:id="@+id/itemTitleView"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -23,7 +23,7 @@
android:textSize="@dimen/channel_item_detail_title_text_size" android:textSize="@dimen/channel_item_detail_title_text_size"
tools:text="Lorem ipsum dolor sit amet, consectetur adipiscing elit. " /> tools:text="Lorem ipsum dolor sit amet, consectetur adipiscing elit. " />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/itemAdditionalDetails" android:id="@+id/itemAdditionalDetails"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"

View File

@ -7,7 +7,7 @@
android:id="@+id/toolbar_layout" android:id="@+id/toolbar_layout"
layout="@layout/toolbar_layout" /> layout="@layout/toolbar_layout" />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/file_name_text_view" android:id="@+id/file_name_text_view"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -18,7 +18,7 @@
android:layout_marginBottom="6dp" android:layout_marginBottom="6dp"
android:text="@string/msg_name" /> android:text="@string/msg_name" />
<EditText <org.schabi.newpipe.views.NewPipeEditText
android:id="@+id/file_name" android:id="@+id/file_name"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -71,7 +71,7 @@
android:minWidth="150dp" android:minWidth="150dp"
tools:listitem="@layout/stream_quality_item" /> tools:listitem="@layout/stream_quality_item" />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/threads_text_view" android:id="@+id/threads_text_view"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -90,7 +90,7 @@
android:orientation="horizontal" android:orientation="horizontal"
android:paddingBottom="12dp"> android:paddingBottom="12dp">
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/threads_count" android:id="@+id/threads_count"
android:layout_width="25dp" android:layout_width="25dp"
android:layout_height="match_parent" android:layout_height="match_parent"

View File

@ -42,7 +42,7 @@
app:srcCompat="@drawable/splash_foreground" app:srcCompat="@drawable/splash_foreground"
tools:ignore="ContentDescription" /> tools:ignore="ContentDescription" />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/drawer_header_newpipe_title" android:id="@+id/drawer_header_newpipe_title"
android:layout_width="@dimen/drawer_header_newpipe_title_default_width" android:layout_width="@dimen/drawer_header_newpipe_title_default_width"
android:layout_height="match_parent" android:layout_height="match_parent"
@ -88,7 +88,7 @@
tools:ignore="ContentDescription" tools:ignore="ContentDescription"
tools:srcCompat="@drawable/place_holder_youtube" /> tools:srcCompat="@drawable/place_holder_youtube" />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/drawer_header_service_view" android:id="@+id/drawer_header_service_view"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"

View File

@ -7,7 +7,7 @@
android:orientation="vertical" android:orientation="vertical"
android:padding="16dp"> android:padding="16dp">
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/error_message_view" android:id="@+id/error_message_view"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -17,7 +17,7 @@
android:textStyle="bold" android:textStyle="bold"
tools:text="Account terminated" /> tools:text="Account terminated" />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/error_message_service_info_view" android:id="@+id/error_message_service_info_view"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -29,7 +29,7 @@
tools:text="YouTube provides this reason:" tools:text="YouTube provides this reason:"
tools:visibility="visible" /> tools:visibility="visible" />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/error_message_service_explanation_view" android:id="@+id/error_message_service_explanation_view"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"

View File

@ -27,7 +27,7 @@
app:srcCompat="@drawable/ic_add" app:srcCompat="@drawable/ic_add"
tools:ignore="ContentDescription" /> tools:ignore="ContentDescription" />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/title" android:id="@+id/title"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"

View File

@ -28,7 +28,7 @@
tools:ignore="ContentDescription" tools:ignore="ContentDescription"
tools:src="@drawable/ic_fastfood" /> tools:src="@drawable/ic_fastfood" />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/title" android:id="@+id/title"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"

View File

@ -29,7 +29,7 @@
tools:ignore="ContentDescription,RtlHardcoded" tools:ignore="ContentDescription,RtlHardcoded"
tools:src="@drawable/ic_kiosk_hot" /> tools:src="@drawable/ic_kiosk_hot" />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/group_name" android:id="@+id/group_name"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"

View File

@ -33,7 +33,7 @@
android:gravity="center_vertical" android:gravity="center_vertical"
android:orientation="horizontal"> android:orientation="horizontal">
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_weight="1" android:layout_weight="1"
@ -64,7 +64,7 @@
android:paddingBottom="6dp" android:paddingBottom="6dp"
tools:ignore="RtlSymmetry"> tools:ignore="RtlSymmetry">
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="@dimen/subscription_import_export_title_height" android:layout_height="@dimen/subscription_import_export_title_height"
android:gravity="left|center" android:gravity="left|center"
@ -83,7 +83,7 @@
android:layout_marginLeft="36dp" android:layout_marginLeft="36dp"
android:orientation="vertical" /> android:orientation="vertical" />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="@dimen/subscription_import_export_title_height" android:layout_height="@dimen/subscription_import_export_title_height"
android:background="?attr/selectableItemBackground" android:background="?attr/selectableItemBackground"

View File

@ -22,7 +22,7 @@
android:contentDescription="@string/app_name" android:contentDescription="@string/app_name"
app:srcCompat="@mipmap/ic_launcher" /> app:srcCompat="@mipmap/ic_launcher" />
<TextView <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:layout_gravity="center_horizontal" android:layout_gravity="center_horizontal"
@ -30,7 +30,7 @@
android:textAppearance="@android:style/TextAppearance.Large" /> android:textAppearance="@android:style/TextAppearance.Large" />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/about_app_version" android:id="@+id/about_app_version"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -39,13 +39,13 @@
android:textAppearance="@android:style/TextAppearance.Medium" android:textAppearance="@android:style/TextAppearance.Medium"
tools:text="0.9.9" /> tools:text="0.9.9" />
<TextView <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:paddingBottom="5dp" android:paddingBottom="5dp"
android:text="@string/app_description" /> android:text="@string/app_description" />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:paddingTop="10dp" android:paddingTop="10dp"
@ -65,14 +65,14 @@
android:layout_gravity="end" android:layout_gravity="end"
android:text="@string/view_on_github" /> android:text="@string/view_on_github" />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:paddingTop="10dp" android:paddingTop="10dp"
android:text="@string/donation_title" android:text="@string/donation_title"
android:textAppearance="@android:style/TextAppearance.Medium" /> android:textAppearance="@android:style/TextAppearance.Medium" />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="@string/donation_encouragement" /> android:text="@string/donation_encouragement" />
@ -85,14 +85,14 @@
android:layout_gravity="end" android:layout_gravity="end"
android:text="@string/give_back" /> android:text="@string/give_back" />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:paddingTop="10dp" android:paddingTop="10dp"
android:text="@string/website_title" android:text="@string/website_title"
android:textAppearance="@android:style/TextAppearance.Medium" /> android:textAppearance="@android:style/TextAppearance.Medium" />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="@string/website_encouragement" /> android:text="@string/website_encouragement" />
@ -105,14 +105,14 @@
android:layout_gravity="end" android:layout_gravity="end"
android:text="@string/open_in_browser" /> android:text="@string/open_in_browser" />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:paddingTop="10dp" android:paddingTop="10dp"
android:text="@string/privacy_policy_title" android:text="@string/privacy_policy_title"
android:textAppearance="@android:style/TextAppearance.Medium" /> android:textAppearance="@android:style/TextAppearance.Medium" />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="@string/privacy_policy_encouragement" /> android:text="@string/privacy_policy_encouragement" />

View File

@ -30,7 +30,7 @@
android:visibility="gone" android:visibility="gone"
tools:visibility="visible"> tools:visibility="visible">
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/channel_kaomoji" android:id="@+id/channel_kaomoji"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -41,7 +41,7 @@
android:textSize="35sp" android:textSize="35sp"
tools:ignore="HardcodedText,UnusedAttribute" /> tools:ignore="HardcodedText,UnusedAttribute" />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/channel_no_videos" android:id="@+id/channel_no_videos"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -49,7 +49,7 @@
android:text="@string/empty_view_no_videos" android:text="@string/empty_view_no_videos"
android:textSize="24sp" /> android:textSize="24sp" />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/error_content_not_supported" android:id="@+id/error_content_not_supported"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"

View File

@ -6,7 +6,7 @@
android:layout_height="match_parent" android:layout_height="match_parent"
android:orientation="vertical"> android:orientation="vertical">
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/helpTextView" android:id="@+id/helpTextView"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"

View File

@ -30,7 +30,7 @@
android:visibility="gone" android:visibility="gone"
tools:visibility="visible"> tools:visibility="visible">
<TextView <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:layout_gravity="center" android:layout_gravity="center"
@ -40,7 +40,7 @@
android:textSize="35sp" android:textSize="35sp"
tools:ignore="HardcodedText,UnusedAttribute" /> tools:ignore="HardcodedText,UnusedAttribute" />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/empty_state_desc" android:id="@+id/empty_state_desc"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"

View File

@ -12,7 +12,7 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:animateLayoutChanges="true"> android:animateLayoutChanges="true">
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/detail_upload_date_view" android:id="@+id/detail_upload_date_view"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -52,7 +52,7 @@
app:barrierDirection="top" app:barrierDirection="top"
app:constraint_referenced_ids="detail_description_note_view,detail_description_view" /> app:constraint_referenced_ids="detail_description_note_view,detail_description_view" />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/detail_description_note_view" android:id="@+id/detail_description_note_view"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -69,7 +69,7 @@
app:layout_constraintTop_toBottomOf="@+id/detail_upload_date_view" app:layout_constraintTop_toBottomOf="@+id/detail_upload_date_view"
tools:visibility="visible" /> tools:visibility="visible" />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/detail_description_view" android:id="@+id/detail_description_view"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"

View File

@ -25,7 +25,7 @@
android:gravity="center_vertical" android:gravity="center_vertical"
android:orientation="vertical"> android:orientation="vertical">
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/refresh_text" android:id="@+id/refresh_text"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -36,7 +36,7 @@
android:textSize="14sp" android:textSize="14sp"
tools:text="@tools:sample/lorem/random" /> tools:text="@tools:sample/lorem/random" />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/refresh_subtitle_text" android:id="@+id/refresh_subtitle_text"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -105,7 +105,7 @@
android:visibility="gone" android:visibility="gone"
tools:visibility="visible" /> tools:visibility="visible" />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/loading_progress_text" android:id="@+id/loading_progress_text"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"

View File

@ -4,7 +4,7 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent"> android:layout_height="match_parent">
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/info_text_view" android:id="@+id/info_text_view"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -26,7 +26,7 @@
android:orientation="vertical" android:orientation="vertical"
android:padding="16dp"> android:padding="16dp">
<EditText <org.schabi.newpipe.views.NewPipeEditText
android:id="@+id/input_text" android:id="@+id/input_text"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"

View File

@ -6,7 +6,7 @@
android:layout_height="match_parent" android:layout_height="match_parent"
android:orientation="vertical"> android:orientation="vertical">
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/instanceHelpTV" android:id="@+id/instanceHelpTV"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"

View File

@ -31,7 +31,7 @@
android:visibility="gone" android:visibility="gone"
tools:visibility="visible"> tools:visibility="visible">
<TextView <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:layout_gravity="center" android:layout_gravity="center"
@ -41,7 +41,7 @@
android:textSize="35sp" android:textSize="35sp"
tools:ignore="HardcodedText,UnusedAttribute" /> tools:ignore="HardcodedText,UnusedAttribute" />
<TextView <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:layout_gravity="center" android:layout_gravity="center"

View File

@ -11,7 +11,7 @@
android:paddingTop="@dimen/activity_vertical_margin" android:paddingTop="@dimen/activity_vertical_margin"
android:paddingBottom="@dimen/activity_vertical_margin"> android:paddingBottom="@dimen/activity_vertical_margin">
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginLeft="@dimen/activity_horizontal_margin" android:layout_marginLeft="@dimen/activity_horizontal_margin"
@ -21,7 +21,7 @@
android:text="@string/app_license_title" android:text="@string/app_license_title"
android:textAppearance="@android:style/TextAppearance.Large" /> android:textAppearance="@android:style/TextAppearance.Large" />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginLeft="@dimen/activity_horizontal_margin" android:layout_marginLeft="@dimen/activity_horizontal_margin"
@ -37,7 +37,7 @@
android:layout_marginRight="@dimen/activity_vertical_margin" android:layout_marginRight="@dimen/activity_vertical_margin"
android:text="@string/read_full_license" /> android:text="@string/read_full_license" />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:paddingLeft="@dimen/activity_horizontal_margin" android:paddingLeft="@dimen/activity_horizontal_margin"

View File

@ -30,7 +30,7 @@
android:visibility="gone" android:visibility="gone"
tools:visibility="visible"> tools:visibility="visible">
<TextView <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:layout_gravity="center" android:layout_gravity="center"
@ -40,7 +40,7 @@
android:textSize="35sp" android:textSize="35sp"
tools:ignore="HardcodedText,UnusedAttribute" /> tools:ignore="HardcodedText,UnusedAttribute" />
<TextView <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:layout_gravity="center" android:layout_gravity="center"

View File

@ -30,7 +30,7 @@
android:visibility="gone" android:visibility="gone"
tools:visibility="visible"> tools:visibility="visible">
<TextView <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:layout_gravity="center" android:layout_gravity="center"
@ -40,7 +40,7 @@
android:textSize="35sp" android:textSize="35sp"
tools:ignore="HardcodedText,UnusedAttribute" /> tools:ignore="HardcodedText,UnusedAttribute" />
<TextView <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:layout_gravity="center" android:layout_gravity="center"

View File

@ -5,7 +5,7 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent"> android:layout_height="match_parent">
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/correct_suggestion" android:id="@+id/correct_suggestion"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -15,7 +15,7 @@
android:textSize="@dimen/search_suggestion_text_size" android:textSize="@dimen/search_suggestion_text_size"
tools:text="Showing results for lorem ipsum dolor sit amet consectetur adipisci elit" /> tools:text="Showing results for lorem ipsum dolor sit amet consectetur adipisci elit" />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/search_meta_info_text_view" android:id="@+id/search_meta_info_text_view"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -61,7 +61,7 @@
android:visibility="gone" android:visibility="gone"
tools:visibility="visible"> tools:visibility="visible">
<TextView <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:layout_gravity="center" android:layout_gravity="center"
@ -71,7 +71,7 @@
android:textSize="35sp" android:textSize="35sp"
tools:ignore="HardcodedText,UnusedAttribute" /> tools:ignore="HardcodedText,UnusedAttribute" />
<TextView <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:layout_gravity="center" android:layout_gravity="center"

View File

@ -60,7 +60,7 @@
tools:ignore="ContentDescription" tools:ignore="ContentDescription"
tools:visibility="visible" /> tools:visibility="visible" />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/touch_append_detail" android:id="@+id/touch_append_detail"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -78,7 +78,7 @@
tools:ignore="RtlHardcoded" tools:ignore="RtlHardcoded"
tools:visibility="visible" /> tools:visibility="visible" />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/detail_duration_view" android:id="@+id/detail_duration_view"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -103,7 +103,7 @@
tools:text="12:38" tools:text="12:38"
tools:visibility="visible" /> tools:visibility="visible" />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/detail_position_view" android:id="@+id/detail_position_view"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -167,7 +167,7 @@
android:paddingStart="12dp" android:paddingStart="12dp"
tools:ignore="RtlSymmetry"> tools:ignore="RtlSymmetry">
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/detail_video_title_view" android:id="@+id/detail_video_title_view"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
@ -280,7 +280,7 @@
android:gravity="center_vertical" android:gravity="center_vertical"
android:orientation="vertical"> android:orientation="vertical">
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/detail_sub_channel_text_view" android:id="@+id/detail_sub_channel_text_view"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -295,7 +295,7 @@
tools:ignore="RtlHardcoded" tools:ignore="RtlHardcoded"
tools:text="Channel" /> tools:text="Channel" />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/detail_uploader_text_view" android:id="@+id/detail_uploader_text_view"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -336,7 +336,7 @@
android:paddingLeft="6dp" android:paddingLeft="6dp"
android:paddingRight="6dp"> android:paddingRight="6dp">
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/detail_view_count_view" android:id="@+id/detail_view_count_view"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -357,7 +357,7 @@
android:contentDescription="@string/detail_likes_img_view_description" android:contentDescription="@string/detail_likes_img_view_description"
app:srcCompat="@drawable/ic_thumb_up" /> app:srcCompat="@drawable/ic_thumb_up" />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/detail_thumbs_up_count_view" android:id="@+id/detail_thumbs_up_count_view"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="@dimen/video_item_detail_like_image_height" android:layout_height="@dimen/video_item_detail_like_image_height"
@ -382,7 +382,7 @@
app:srcCompat="@drawable/ic_thumb_down" app:srcCompat="@drawable/ic_thumb_down"
tools:ignore="RtlHardcoded" /> tools:ignore="RtlHardcoded" />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/detail_thumbs_down_count_view" android:id="@+id/detail_thumbs_down_count_view"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="@dimen/video_item_detail_like_image_height" android:layout_height="@dimen/video_item_detail_like_image_height"
@ -396,7 +396,7 @@
tools:ignore="RtlHardcoded" tools:ignore="RtlHardcoded"
tools:text="10K" /> tools:text="10K" />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/detail_thumbs_disabled_view" android:id="@+id/detail_thumbs_disabled_view"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="@dimen/video_item_detail_like_image_height" android:layout_height="@dimen/video_item_detail_like_image_height"
@ -422,7 +422,7 @@
android:orientation="horizontal" android:orientation="horizontal"
android:padding="@dimen/detail_control_padding"> android:padding="@dimen/detail_control_padding">
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/detail_controls_playlist_append" android:id="@+id/detail_controls_playlist_append"
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"
@ -438,7 +438,7 @@
android:textSize="@dimen/detail_control_text_size" android:textSize="@dimen/detail_control_text_size"
app:drawableTopCompat="@drawable/ic_playlist_add" /> app:drawableTopCompat="@drawable/ic_playlist_add" />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/detail_controls_background" android:id="@+id/detail_controls_background"
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"
@ -454,7 +454,7 @@
android:textSize="@dimen/detail_control_text_size" android:textSize="@dimen/detail_control_text_size"
app:drawableTopCompat="@drawable/ic_headset" /> app:drawableTopCompat="@drawable/ic_headset" />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/detail_controls_popup" android:id="@+id/detail_controls_popup"
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"
@ -470,7 +470,7 @@
android:textSize="@dimen/detail_control_text_size" android:textSize="@dimen/detail_control_text_size"
app:drawableTopCompat="@drawable/ic_picture_in_picture" /> app:drawableTopCompat="@drawable/ic_picture_in_picture" />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/detail_controls_download" android:id="@+id/detail_controls_download"
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"
@ -499,7 +499,7 @@
android:visibility="gone" android:visibility="gone"
tools:visibility="visible"> tools:visibility="visible">
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/detail_controls_share" android:id="@+id/detail_controls_share"
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"
@ -515,7 +515,7 @@
android:textSize="@dimen/detail_control_text_size" android:textSize="@dimen/detail_control_text_size"
app:drawableTopCompat="@drawable/ic_share" /> app:drawableTopCompat="@drawable/ic_share" />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/detail_controls_open_in_browser" android:id="@+id/detail_controls_open_in_browser"
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"
@ -531,7 +531,7 @@
android:textSize="@dimen/detail_control_text_size" android:textSize="@dimen/detail_control_text_size"
app:drawableTopCompat="@drawable/ic_language" /> app:drawableTopCompat="@drawable/ic_language" />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/detail_controls_play_with_kodi" android:id="@+id/detail_controls_play_with_kodi"
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"
@ -557,7 +557,7 @@
android:layout_marginRight="8dp" android:layout_marginRight="8dp"
android:background="?attr/separator_color" /> android:background="?attr/separator_color" />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/detail_meta_info_text_view" android:id="@+id/detail_meta_info_text_view"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -630,7 +630,7 @@
android:theme="@style/ContrastTintTheme" android:theme="@style/ContrastTintTheme"
tools:ignore="RtlHardcoded"> tools:ignore="RtlHardcoded">
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/overlay_title_text_view" android:id="@+id/overlay_title_text_view"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -644,7 +644,7 @@
tools:ignore="RtlHardcoded" tools:ignore="RtlHardcoded"
tools:text="The Video Title LONG very LONVideo Title LONG very LONG" /> tools:text="The Video Title LONG very LONVideo Title LONG very LONG" />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/overlay_channel_text_view" android:id="@+id/overlay_channel_text_view"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"

View File

@ -8,7 +8,7 @@
android:paddingRight="16dp" android:paddingRight="16dp"
android:paddingBottom="12dp"> android:paddingBottom="12dp">
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/header_title" android:id="@+id/header_title"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"

View File

@ -35,7 +35,7 @@
app:layout_constraintStart_toEndOf="@id/previewImage" app:layout_constraintStart_toEndOf="@id/previewImage"
app:layout_constraintTop_toTopOf="parent"> app:layout_constraintTop_toTopOf="parent">
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/textViewTitle" android:id="@+id/textViewTitle"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -45,7 +45,7 @@
android:textSize="@dimen/video_item_search_title_text_size" android:textSize="@dimen/video_item_search_title_text_size"
tools:text="Lorem ipusum is widely used to create long sample text which is used here too" /> tools:text="Lorem ipusum is widely used to create long sample text which is used here too" />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/textViewChannel" android:id="@+id/textViewChannel"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -56,7 +56,7 @@
tools:text="Lorem ipsum creator" /> tools:text="Lorem ipsum creator" />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/textViewStartSeconds" android:id="@+id/textViewStartSeconds"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"

View File

@ -16,7 +16,7 @@
tools:ignore="ContentDescription,RtlHardcoded" tools:ignore="ContentDescription,RtlHardcoded"
tools:src="@drawable/ic_kiosk_hot" /> tools:src="@drawable/ic_kiosk_hot" />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/tabName" android:id="@+id/tabName"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"

View File

@ -23,7 +23,7 @@
android:src="@drawable/buddy" android:src="@drawable/buddy"
tools:ignore="RtlHardcoded" /> tools:ignore="RtlHardcoded" />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/itemTitleView" android:id="@+id/itemTitleView"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -36,7 +36,7 @@
android:textSize="@dimen/comment_item_title_text_size" android:textSize="@dimen/comment_item_title_text_size"
tools:text="Author Name, Lorem ipsum" /> tools:text="Author Name, Lorem ipsum" />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/itemCommentContentView" android:id="@+id/itemCommentContentView"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -58,7 +58,7 @@
android:contentDescription="@string/detail_likes_img_view_description" android:contentDescription="@string/detail_likes_img_view_description"
app:srcCompat="@drawable/ic_thumb_up" /> app:srcCompat="@drawable/ic_thumb_up" />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/detail_thumbs_up_count_view" android:id="@+id/detail_thumbs_up_count_view"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="@dimen/video_item_detail_like_image_height" android:layout_height="@dimen/video_item_detail_like_image_height"
@ -97,7 +97,7 @@
app:srcCompat="?attr/thumbs_down" app:srcCompat="?attr/thumbs_down"
tools:ignore="RtlHardcoded" /> tools:ignore="RtlHardcoded" />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/detail_thumbs_down_count_view" android:id="@+id/detail_thumbs_down_count_view"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="@dimen/video_item_detail_like_image_height" android:layout_height="@dimen/video_item_detail_like_image_height"
@ -111,7 +111,7 @@
tools:ignore="RtlHardcoded" tools:ignore="RtlHardcoded"
tools:text="10K" />--> tools:text="10K" />-->
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/itemPublishedTime" android:id="@+id/itemPublishedTime"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"

View File

@ -21,7 +21,7 @@
tools:ignore="RtlHardcoded" /> tools:ignore="RtlHardcoded" />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/itemCommentContentView" android:id="@+id/itemCommentContentView"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -40,7 +40,7 @@
android:contentDescription="@string/detail_likes_img_view_description" android:contentDescription="@string/detail_likes_img_view_description"
app:srcCompat="@drawable/ic_thumb_up" /> app:srcCompat="@drawable/ic_thumb_up" />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/detail_thumbs_up_count_view" android:id="@+id/detail_thumbs_up_count_view"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="@dimen/video_item_detail_like_image_height" android:layout_height="@dimen/video_item_detail_like_image_height"
@ -66,7 +66,7 @@
app:srcCompat="?attr/thumbs_down" app:srcCompat="?attr/thumbs_down"
tools:ignore="RtlHardcoded" /> tools:ignore="RtlHardcoded" />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/detail_thumbs_down_count_view" android:id="@+id/detail_thumbs_down_count_view"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="@dimen/video_item_detail_like_image_height" android:layout_height="@dimen/video_item_detail_like_image_height"
@ -80,7 +80,7 @@
tools:ignore="RtlHardcoded" tools:ignore="RtlHardcoded"
tools:text="10K" />--> tools:text="10K" />-->
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/itemPublishedTime" android:id="@+id/itemPublishedTime"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"

View File

@ -7,14 +7,14 @@
android:minHeight="128dp" android:minHeight="128dp"
android:orientation="vertical"> android:orientation="vertical">
<TextView <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:text="¯\\_(ツ)_/¯" android:text="¯\\_(ツ)_/¯"
android:textAppearance="?android:attr/textAppearanceLarge" android:textAppearance="?android:attr/textAppearanceLarge"
tools:ignore="HardcodedText" /> tools:ignore="HardcodedText" />
<TextView <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:layout_gravity="center" android:layout_gravity="center"

View File

@ -22,7 +22,7 @@
android:src="@drawable/dummy_thumbnail_playlist" android:src="@drawable/dummy_thumbnail_playlist"
tools:ignore="RtlHardcoded" /> tools:ignore="RtlHardcoded" />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/itemStreamCountView" android:id="@+id/itemStreamCountView"
android:layout_width="@dimen/playlist_item_thumbnail_stream_count_width" android:layout_width="@dimen/playlist_item_thumbnail_stream_count_width"
android:layout_height="match_parent" android:layout_height="match_parent"
@ -41,7 +41,7 @@
tools:ignore="RtlHardcoded" tools:ignore="RtlHardcoded"
tools:text="314159" /> tools:text="314159" />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/itemTitleView" android:id="@+id/itemTitleView"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -56,7 +56,7 @@
tools:ignore="RtlHardcoded" tools:ignore="RtlHardcoded"
tools:text="Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc tristique vitae sem vitae blanditLorem ipsumLorem ipsumLorem ipsumLorem ipsumLorem ipsumLorem ipsumLorem ipsum" /> tools:text="Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc tristique vitae sem vitae blanditLorem ipsumLorem ipsumLorem ipsumLorem ipsumLorem ipsumLorem ipsumLorem ipsum" />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/itemUploaderView" android:id="@+id/itemUploaderView"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"

View File

@ -23,7 +23,7 @@
android:src="@drawable/dummy_thumbnail_playlist" android:src="@drawable/dummy_thumbnail_playlist"
tools:ignore="RtlHardcoded" /> tools:ignore="RtlHardcoded" />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/itemStreamCountView" android:id="@+id/itemStreamCountView"
android:layout_width="@dimen/playlist_item_thumbnail_stream_count_width" android:layout_width="@dimen/playlist_item_thumbnail_stream_count_width"
android:layout_height="match_parent" android:layout_height="match_parent"
@ -42,7 +42,7 @@
tools:ignore="RtlHardcoded" tools:ignore="RtlHardcoded"
tools:text="314159" /> tools:text="314159" />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/itemTitleView" android:id="@+id/itemTitleView"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -55,7 +55,7 @@
tools:ignore="RtlHardcoded" tools:ignore="RtlHardcoded"
tools:text="Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc tristique vitae sem vitae blanditLorem ipsumLorem ipsumLorem ipsumLorem ipsumLorem ipsumLorem ipsumLorem ipsum" /> tools:text="Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc tristique vitae sem vitae blanditLorem ipsumLorem ipsumLorem ipsumLorem ipsumLorem ipsumLorem ipsumLorem ipsum" />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/itemUploaderView" android:id="@+id/itemUploaderView"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"

View File

@ -23,7 +23,7 @@
android:src="@drawable/dummy_thumbnail_playlist" android:src="@drawable/dummy_thumbnail_playlist"
tools:ignore="RtlHardcoded" /> tools:ignore="RtlHardcoded" />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/itemStreamCountView" android:id="@+id/itemStreamCountView"
android:layout_width="45dp" android:layout_width="45dp"
android:layout_height="match_parent" android:layout_height="match_parent"
@ -42,7 +42,7 @@
tools:ignore="RtlHardcoded" tools:ignore="RtlHardcoded"
tools:text="3141" /> tools:text="3141" />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/itemTitleView" android:id="@+id/itemTitleView"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -55,7 +55,7 @@
tools:ignore="RtlHardcoded" tools:ignore="RtlHardcoded"
tools:text="Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc tristique vitae sem vitae blanditLorem ipsumLorem ipsumLorem ipsumLorem ipsumLorem ipsumLorem ipsumLorem ipsum" /> tools:text="Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc tristique vitae sem vitae blanditLorem ipsumLorem ipsumLorem ipsumLorem ipsumLorem ipsumLorem ipsumLorem ipsum" />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/itemUploaderView" android:id="@+id/itemUploaderView"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"

View File

@ -21,7 +21,7 @@
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" /> app:layout_constraintTop_toTopOf="parent" />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/itemDurationView" android:id="@+id/itemDurationView"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -40,7 +40,7 @@
app:layout_constraintEnd_toEndOf="@+id/itemThumbnailView" app:layout_constraintEnd_toEndOf="@+id/itemThumbnailView"
tools:text="1:09:10" /> tools:text="1:09:10" />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/itemVideoTitleView" android:id="@+id/itemVideoTitleView"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -54,7 +54,7 @@
app:layout_constraintTop_toBottomOf="@+id/itemProgressView" app:layout_constraintTop_toBottomOf="@+id/itemProgressView"
tools:text="@tools:sample/lorem[10]" /> tools:text="@tools:sample/lorem[10]" />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/itemUploaderView" android:id="@+id/itemUploaderView"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -68,7 +68,7 @@
app:layout_constraintTop_toBottomOf="@+id/itemVideoTitleView" app:layout_constraintTop_toBottomOf="@+id/itemVideoTitleView"
tools:text="Uploader name long very very long long" /> tools:text="Uploader name long very very long long" />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/itemAdditionalDetails" android:id="@+id/itemAdditionalDetails"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"

View File

@ -21,7 +21,7 @@
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" /> app:layout_constraintTop_toTopOf="parent" />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/itemDurationView" android:id="@+id/itemDurationView"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -38,7 +38,7 @@
app:layout_constraintRight_toRightOf="@id/itemThumbnailView" app:layout_constraintRight_toRightOf="@id/itemThumbnailView"
tools:text="1:09:10" /> tools:text="1:09:10" />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/itemVideoTitleView" android:id="@+id/itemVideoTitleView"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -53,7 +53,7 @@
app:layout_constraintTop_toTopOf="parent" app:layout_constraintTop_toTopOf="parent"
tools:text="Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc tristique vitae sem vitae blanditLorem ipsumLorem ipsumLorem ipsumLorem ipsumLorem ipsumLorem ipsumLorem ipsum" /> tools:text="Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc tristique vitae sem vitae blanditLorem ipsumLorem ipsumLorem ipsumLorem ipsumLorem ipsumLorem ipsumLorem ipsum" />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/itemUploaderView" android:id="@+id/itemUploaderView"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -67,7 +67,7 @@
app:layout_constraintTop_toBottomOf="@+id/itemVideoTitleView" app:layout_constraintTop_toBottomOf="@+id/itemVideoTitleView"
tools:text="Uploader" /> tools:text="Uploader" />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/itemAdditionalDetails" android:id="@+id/itemAdditionalDetails"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"

View File

@ -22,7 +22,7 @@
android:src="@drawable/dummy_thumbnail" android:src="@drawable/dummy_thumbnail"
tools:ignore="RtlHardcoded" /> tools:ignore="RtlHardcoded" />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/itemDurationView" android:id="@+id/itemDurationView"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -43,7 +43,7 @@
tools:text="1:09:10" /> tools:text="1:09:10" />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/itemVideoTitleView" android:id="@+id/itemVideoTitleView"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -56,7 +56,7 @@
android:textSize="@dimen/video_item_search_title_text_size" android:textSize="@dimen/video_item_search_title_text_size"
tools:text="Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc tristique vitae sem vitae blanditLorem ipsumLorem ipsumLorem ipsumLorem ipsumLorem ipsumLorem ipsumLorem ipsum" /> tools:text="Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc tristique vitae sem vitae blanditLorem ipsumLorem ipsumLorem ipsumLorem ipsumLorem ipsumLorem ipsumLorem ipsum" />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/itemUploaderView" android:id="@+id/itemUploaderView"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"

View File

@ -22,7 +22,7 @@
android:src="@drawable/dummy_thumbnail" android:src="@drawable/dummy_thumbnail"
tools:ignore="RtlHardcoded" /> tools:ignore="RtlHardcoded" />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/itemDurationView" android:id="@+id/itemDurationView"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -53,7 +53,7 @@
app:srcCompat="@drawable/ic_drag_handle" app:srcCompat="@drawable/ic_drag_handle"
tools:ignore="RtlHardcoded,RtlSymmetry" /> tools:ignore="RtlHardcoded,RtlSymmetry" />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/itemVideoTitleView" android:id="@+id/itemVideoTitleView"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -68,7 +68,7 @@
android:textSize="@dimen/video_item_search_title_text_size" android:textSize="@dimen/video_item_search_title_text_size"
tools:text="Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc tristique..." /> tools:text="Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc tristique..." />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/itemAdditionalDetails" android:id="@+id/itemAdditionalDetails"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"

View File

@ -23,7 +23,7 @@
android:src="@drawable/dummy_thumbnail" android:src="@drawable/dummy_thumbnail"
tools:ignore="RtlHardcoded" /> tools:ignore="RtlHardcoded" />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/itemDurationView" android:id="@+id/itemDurationView"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -54,7 +54,7 @@
app:srcCompat="@drawable/ic_drag_handle" app:srcCompat="@drawable/ic_drag_handle"
tools:ignore="RtlHardcoded,RtlSymmetry" /> tools:ignore="RtlHardcoded,RtlSymmetry" />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/itemVideoTitleView" android:id="@+id/itemVideoTitleView"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -69,7 +69,7 @@
android:textSize="@dimen/video_item_search_title_text_size" android:textSize="@dimen/video_item_search_title_text_size"
tools:text="Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc tristique..." /> tools:text="Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc tristique..." />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/itemAdditionalDetails" android:id="@+id/itemAdditionalDetails"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"

View File

@ -5,7 +5,7 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:background="?attr/contrast_background_color"> android:background="?attr/contrast_background_color">
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/playlist_title_view" android:id="@+id/playlist_title_view"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -21,7 +21,7 @@
android:textSize="@dimen/playlist_detail_title_text_size" android:textSize="@dimen/playlist_detail_title_text_size"
tools:text="Mix musics #23 title Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc tristique vitae sem vitae blanditLorem ipsumLorem ipsumLorem ipsumLorem ipsumLorem ipsumLorem ipsumLorem ipsum" /> tools:text="Mix musics #23 title Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc tristique vitae sem vitae blanditLorem ipsumLorem ipsumLorem ipsumLorem ipsumLorem ipsumLorem ipsumLorem ipsum" />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/playlist_stream_count" android:id="@+id/playlist_stream_count"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"

View File

@ -8,7 +8,7 @@
android:paddingEnd="@dimen/activity_horizontal_margin" android:paddingEnd="@dimen/activity_horizontal_margin"
tools:context=".fragments.detail.VideoDetailFragment"> tools:context=".fragments.detail.VideoDetailFragment">
<TextView <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:layout_gravity="center_horizontal" android:layout_gravity="center_horizontal"
@ -19,7 +19,7 @@
android:textAppearance="?android:attr/textAppearanceLarge" android:textAppearance="?android:attr/textAppearanceLarge"
android:textSize="40sp" /> android:textSize="40sp" />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="center_horizontal" android:layout_gravity="center_horizontal"

View File

@ -17,7 +17,7 @@
android:layout_alignParentTop="true" android:layout_alignParentTop="true"
android:layout_marginTop="2dp"> android:layout_marginTop="2dp">
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/item_status" android:id="@+id/item_status"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -56,7 +56,7 @@
android:scaleType="fitXY" android:scaleType="fitXY"
app:tint="?attr/actionColor" /> app:tint="?attr/actionColor" />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/item_name" android:id="@+id/item_name"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -71,7 +71,7 @@
android:textSize="16sp" android:textSize="16sp"
android:textStyle="bold" /> android:textStyle="bold" />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/item_size" android:id="@+id/item_size"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"

View File

@ -21,7 +21,7 @@
android:scaleType="fitXY" android:scaleType="fitXY"
app:tint="?attr/actionColor" /> app:tint="?attr/actionColor" />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/item_name" android:id="@+id/item_name"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -34,7 +34,7 @@
android:textSize="16sp" android:textSize="16sp"
android:textStyle="bold" /> android:textStyle="bold" />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/item_size" android:id="@+id/item_size"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -46,7 +46,7 @@
android:textColor="@color/white" android:textColor="@color/white"
android:textSize="12sp" /> android:textSize="12sp" />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/item_status" android:id="@+id/item_status"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"

View File

@ -10,7 +10,7 @@
android:layout_marginRight="8dp" android:layout_marginRight="8dp"
android:orientation="vertical"> android:orientation="vertical">
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/item_name" android:id="@+id/item_name"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"

View File

@ -24,7 +24,7 @@
android:contentDescription="@string/list_thumbnail_view_description" android:contentDescription="@string/list_thumbnail_view_description"
tools:src="@drawable/buddy_channel_item" /> tools:src="@drawable/buddy_channel_item" />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/title_view" android:id="@+id/title_view"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"

View File

@ -24,7 +24,7 @@
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" /> app:layout_constraintTop_toTopOf="parent" />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/itemDurationView" android:id="@+id/itemDurationView"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -45,7 +45,7 @@
tools:text="1:09:10" /> tools:text="1:09:10" />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/itemVideoTitleView" android:id="@+id/itemVideoTitleView"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -64,7 +64,7 @@
app:layout_constraintVertical_chainStyle="packed" app:layout_constraintVertical_chainStyle="packed"
tools:text="Lorem ipsum dolor sit amet, consectetur adipisci elit. " /> tools:text="Lorem ipsum dolor sit amet, consectetur adipisci elit. " />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/itemAdditionalDetails" android:id="@+id/itemAdditionalDetails"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"

View File

@ -116,7 +116,7 @@
android:orientation="vertical" android:orientation="vertical"
tools:ignore="RtlHardcoded"> tools:ignore="RtlHardcoded">
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/titleTextView" android:id="@+id/titleTextView"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -133,7 +133,7 @@
tools:ignore="RtlHardcoded" tools:ignore="RtlHardcoded"
tools:text="The Video Title LONG very LONG" /> tools:text="The Video Title LONG very LONG" />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/channelTextView" android:id="@+id/channelTextView"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -149,7 +149,7 @@
tools:text="The Video Artist LONG very LONG very Long" /> tools:text="The Video Artist LONG very LONG very Long" />
</LinearLayout> </LinearLayout>
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/qualityTextView" android:id="@+id/qualityTextView"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="35dp" android:layout_height="35dp"
@ -163,7 +163,7 @@
tools:ignore="HardcodedText,RtlHardcoded" tools:ignore="HardcodedText,RtlHardcoded"
tools:text="720p" /> tools:text="720p" />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/playbackSpeed" android:id="@+id/playbackSpeed"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="35dp" android:layout_height="35dp"
@ -237,7 +237,7 @@
tools:ignore="RtlHardcoded" tools:ignore="RtlHardcoded"
tools:visibility="visible"> tools:visibility="visible">
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/resizeTextView" android:id="@+id/resizeTextView"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="35dp" android:layout_height="35dp"
@ -256,7 +256,7 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_weight="3"> android:layout_weight="3">
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/captionTextView" android:id="@+id/captionTextView"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -368,7 +368,7 @@
android:orientation="vertical" android:orientation="vertical"
android:paddingBottom="12dp"> android:paddingBottom="12dp">
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/currentDisplaySeek" android:id="@+id/currentDisplaySeek"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -408,7 +408,7 @@
android:paddingLeft="@dimen/player_main_controls_padding" android:paddingLeft="@dimen/player_main_controls_padding"
android:paddingRight="@dimen/player_main_controls_padding"> android:paddingRight="@dimen/player_main_controls_padding">
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/playbackCurrentTime" android:id="@+id/playbackCurrentTime"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="match_parent" android:layout_height="match_parent"
@ -431,7 +431,7 @@
tools:progress="25" tools:progress="25"
tools:secondaryProgress="50" /> tools:secondaryProgress="50" />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/playbackEndTime" android:id="@+id/playbackEndTime"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="match_parent" android:layout_height="match_parent"
@ -441,7 +441,7 @@
tools:ignore="HardcodedText" tools:ignore="HardcodedText"
tools:text="1:23:49" /> tools:text="1:23:49" />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/playbackLiveSync" android:id="@+id/playbackLiveSync"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="match_parent" android:layout_height="match_parent"

View File

@ -17,7 +17,7 @@
android:focusable="true" android:focusable="true"
android:gravity="center"> android:gravity="center">
<TextView <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:drawablePadding="4dp" android:drawablePadding="4dp"
@ -47,7 +47,7 @@
android:focusable="true" android:focusable="true"
android:gravity="center"> android:gravity="center">
<TextView <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:gravity="center_vertical" android:gravity="center_vertical"
@ -74,7 +74,7 @@
android:focusable="true" android:focusable="true"
android:gravity="center"> android:gravity="center">
<TextView <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:drawablePadding="4dp" android:drawablePadding="4dp"

View File

@ -6,7 +6,7 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:background="?attr/contrast_background_color"> android:background="?attr/contrast_background_color">
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/playlist_title_view" android:id="@+id/playlist_title_view"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -48,7 +48,7 @@
app:civ_border_color="#ffffff" app:civ_border_color="#ffffff"
app:civ_border_width="1dp" /> app:civ_border_width="1dp" />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/uploader_name" android:id="@+id/uploader_name"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
@ -62,7 +62,7 @@
tools:text="Typical uploader name" /> tools:text="Typical uploader name" />
</RelativeLayout> </RelativeLayout>
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/playlist_stream_count" android:id="@+id/playlist_stream_count"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"

View File

@ -5,7 +5,7 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:background="?attr/selectableItemBackground"> android:background="?attr/selectableItemBackground">
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginStart="16dp" android:layout_marginStart="16dp"

View File

@ -6,7 +6,7 @@
android:orientation="vertical" android:orientation="vertical"
android:padding="13dp"> android:padding="13dp">
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginStart="10dp" android:layout_marginStart="10dp"
@ -22,10 +22,10 @@
android:id="@+id/items_list" android:id="@+id/items_list"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
tools:listitem="@layout/select_channel_item"></androidx.recyclerview.widget.RecyclerView> tools:listitem="@layout/select_channel_item" />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/empty_state_view" android:id="@+id/empty_state_view"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"

View File

@ -21,7 +21,7 @@
android:src="@drawable/buddy" android:src="@drawable/buddy"
tools:ignore="RtlHardcoded" /> tools:ignore="RtlHardcoded" />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/itemTitleView" android:id="@+id/itemTitleView"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"

View File

@ -6,7 +6,7 @@
android:orientation="vertical" android:orientation="vertical"
android:padding="13dp"> android:padding="13dp">
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginStart="10dp" android:layout_marginStart="10dp"
@ -21,5 +21,5 @@
android:id="@+id/items_list" android:id="@+id/items_list"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
tools:listitem="@layout/select_kiosk_item"></androidx.recyclerview.widget.RecyclerView> tools:listitem="@layout/select_kiosk_item" />
</LinearLayout> </LinearLayout>

View File

@ -22,7 +22,7 @@
app:tint="@color/contrastColor" app:tint="@color/contrastColor"
tools:ignore="RtlHardcoded" /> tools:ignore="RtlHardcoded" />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/itemTitleView" android:id="@+id/itemTitleView"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"

View File

@ -6,7 +6,7 @@
android:orientation="vertical" android:orientation="vertical"
android:padding="13dp"> android:padding="13dp">
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginStart="10dp" android:layout_marginStart="10dp"
@ -27,7 +27,7 @@
</androidx.recyclerview.widget.RecyclerView> </androidx.recyclerview.widget.RecyclerView>
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/empty_state_view" android:id="@+id/empty_state_view"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"

View File

@ -15,7 +15,7 @@
android:background="?attr/toolbar_shadow" /> android:background="?attr/toolbar_shadow" />
</FrameLayout> </FrameLayout>
<View <org.schabi.newpipe.views.NewPipeTextView
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="1dp" android:layout_height="1dp"
android:background="?attr/separator_color" /> android:background="?attr/separator_color" />

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<TextView xmlns:android="http://schemas.android.com/apk/res/android" <org.schabi.newpipe.views.NewPipeTextView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
android:id="@android:id/title" android:id="@android:id/title"
android:layout_width="match_parent" android:layout_width="match_parent"

View File

@ -7,7 +7,7 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:paddingTop="16dp"> android:paddingTop="16dp">
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/textView" android:id="@+id/textView"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"

View File

@ -21,7 +21,7 @@
tools:ignore="ContentDescription" tools:ignore="ContentDescription"
tools:src="@drawable/ic_previous" /> tools:src="@drawable/ic_previous" />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/notificationActionTitle" android:id="@+id/notificationActionTitle"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -38,7 +38,7 @@
app:layout_constraintVertical_chainStyle="packed" app:layout_constraintVertical_chainStyle="packed"
tools:text="Second action button | Lorem ipsum dolor sit amet, consectetur adipisci elit" /> tools:text="Second action button | Lorem ipsum dolor sit amet, consectetur adipisci elit" />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/notificationActionSummary" android:id="@+id/notificationActionSummary"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"

View File

@ -25,7 +25,7 @@
app:srcCompat="@drawable/ic_filter_list" app:srcCompat="@drawable/ic_filter_list"
tools:ignore="ContentDescription,RtlHardcoded" /> tools:ignore="ContentDescription,RtlHardcoded" />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/sortButtonText" android:id="@+id/sortButtonText"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="50dp" android:layout_height="50dp"

View File

@ -16,7 +16,7 @@
app:srcCompat="@drawable/ic_volume_off" app:srcCompat="@drawable/ic_volume_off"
tools:ignore="ContentDescription,RtlHardcoded" /> tools:ignore="ContentDescription,RtlHardcoded" />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/stream_format_name" android:id="@+id/stream_format_name"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="22dp" android:layout_height="22dp"
@ -32,7 +32,7 @@
tools:ignore="RtlHardcoded" tools:ignore="RtlHardcoded"
tools:text="MPEG-4" /> tools:text="MPEG-4" />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/stream_quality" android:id="@+id/stream_quality"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="26dp" android:layout_height="26dp"
@ -48,7 +48,7 @@
tools:ignore="RtlHardcoded" tools:ignore="RtlHardcoded"
tools:text="1080p60" /> tools:text="1080p60" />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@+id/stream_size" android:id="@+id/stream_size"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="48dp" android:layout_height="48dp"

View File

@ -18,7 +18,7 @@
tools:ignore="ContentDescription,RtlHardcoded" tools:ignore="ContentDescription,RtlHardcoded"
tools:src="@drawable/place_holder_youtube" /> tools:src="@drawable/place_holder_youtube" />
<TextView <org.schabi.newpipe.views.NewPipeTextView
android:id="@android:id/text1" android:id="@android:id/text1"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="@dimen/subscription_import_export_item_height" android:layout_height="@dimen/subscription_import_export_item_height"

View File

@ -6,7 +6,7 @@
android:layout_height="?attr/actionBarSize" android:layout_height="?attr/actionBarSize"
tools:background="?attr/colorPrimary"> tools:background="?attr/colorPrimary">
<EditText <org.schabi.newpipe.views.NewPipeEditText
android:id="@+id/toolbar_search_edit_text" android:id="@+id/toolbar_search_edit_text"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"