Skip to content

Commit 156d713

Browse files
removed resizig text from popup player, as requested in #5514
1 parent b9cd551 commit 156d713

4 files changed

Lines changed: 0 additions & 38 deletions

File tree

app/src/main/java/org/schabi/newpipe/player/Player.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4049,10 +4049,6 @@ public TextView getCurrentDisplaySeek() {
40494049
return binding.currentDisplaySeek;
40504050
}
40514051

4052-
public TextView getResizingIndicator() {
4053-
return binding.resizingIndicator;
4054-
}
4055-
40564052
@Nullable
40574053
public WindowManager.LayoutParams getPopupLayoutParams() {
40584054
return popupLayoutParams;

app/src/main/java/org/schabi/newpipe/player/event/PlayerGestureListener.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -251,15 +251,13 @@ public void onPopupResizingStart() {
251251

252252
player.hideControls(0, 0);
253253
animate(player.getCurrentDisplaySeek(), false, 0, ALPHA, 0);
254-
animate(player.getResizingIndicator(), true, 200, ALPHA, 0);
255254
}
256255

257256
@Override
258257
public void onPopupResizingEnd() {
259258
if (DEBUG) {
260259
Log.d(TAG, "onPopupResizingEnd called");
261260
}
262-
animate(player.getResizingIndicator(), false, 100, ALPHA, 0);
263261
}
264262
}
265263

app/src/main/res/layout-large-land/player.xml

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -680,22 +680,6 @@
680680

681681
</RelativeLayout>
682682

683-
<TextView
684-
android:id="@+id/resizing_indicator"
685-
android:layout_width="wrap_content"
686-
android:layout_height="wrap_content"
687-
android:layout_gravity="left|top"
688-
android:background="#6e000000"
689-
android:gravity="center"
690-
android:padding="5dp"
691-
android:text="@string/popup_resizing_indicator_title"
692-
android:textColor="@android:color/white"
693-
android:textSize="18sp"
694-
android:textStyle="bold"
695-
android:visibility="gone"
696-
tools:ignore="RtlHardcoded"
697-
tools:visibility="gone" />
698-
699683
<View
700684
android:id="@+id/closingOverlay"
701685
android:layout_width="match_parent"

app/src/main/res/layout/player.xml

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -676,22 +676,6 @@
676676

677677
</RelativeLayout>
678678

679-
<TextView
680-
android:id="@+id/resizing_indicator"
681-
android:layout_width="wrap_content"
682-
android:layout_height="wrap_content"
683-
android:layout_gravity="left|top"
684-
android:background="#6e000000"
685-
android:gravity="center"
686-
android:padding="5dp"
687-
android:text="@string/popup_resizing_indicator_title"
688-
android:textColor="@android:color/white"
689-
android:textSize="18sp"
690-
android:textStyle="bold"
691-
android:visibility="gone"
692-
tools:ignore="RtlHardcoded"
693-
tools:visibility="gone" />
694-
695679
<View
696680
android:id="@+id/closingOverlay"
697681
android:layout_width="match_parent"

0 commit comments

Comments
 (0)