mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2026-10-15 04:01:47 +00:00
Improve chapter title length and alignment
Use SPDX and REUSE compatible license header
This commit is contained in:
@@ -1,19 +1,6 @@
|
||||
/*
|
||||
* Copyright (C) NewPipe Contributors
|
||||
* ChaptersSeekBar.java is part of NewPipe.
|
||||
*
|
||||
* NewPipe is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* NewPipe is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with NewPipe. If not, see <http://www.gnu.org/licenses/>.
|
||||
* SPDX-FileCopyrightText: 2026 NewPipe e.V. <https://newpipe-ev.de>
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
*/
|
||||
package org.schabi.newpipe.views;
|
||||
|
||||
|
||||
@@ -421,15 +421,17 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:background="#60000000"
|
||||
android:ellipsize="end"
|
||||
android:maxLines="1"
|
||||
android:maxWidth="250dp"
|
||||
android:maxLines="2"
|
||||
android:paddingLeft="5dp"
|
||||
android:paddingRight="5dp"
|
||||
android:paddingBottom="2dp"
|
||||
android:gravity="center"
|
||||
android:textColor="@android:color/white"
|
||||
android:textSize="12sp"
|
||||
android:visibility="gone"
|
||||
tools:ignore="RtlHardcoded"
|
||||
tools:text="Introduction"
|
||||
tools:text="This is a very long chapter title filled with needlessly little information despite its length"
|
||||
tools:visibility="visible" />
|
||||
|
||||
<org.schabi.newpipe.views.NewPipeTextView
|
||||
@@ -455,7 +457,8 @@
|
||||
android:paddingTop="2dp"
|
||||
android:src="@drawable/placeholder_thumbnail_video"
|
||||
android:visibility="gone"
|
||||
tools:visibility="visible" />
|
||||
tools:visibility="visible"
|
||||
tools:ignore="ContentDescription" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
@@ -483,7 +486,6 @@
|
||||
tools:ignore="HardcodedText"
|
||||
tools:text="1:06:29" />
|
||||
|
||||
|
||||
<org.schabi.newpipe.views.ChaptersSeekBar
|
||||
android:id="@+id/playbackSeekBar"
|
||||
style="@style/Widget.AppCompat.SeekBar"
|
||||
|
||||
Reference in New Issue
Block a user