mirror of
https://gitlab.futo.org/videostreaming/grayjay.git
synced 2025-08-07 00:29:23 +00:00
Removed drag handles when searching in playlist.
This commit is contained in:
parent
43887586b5
commit
993b812c3b
3 changed files with 6 additions and 2 deletions
|
@ -224,7 +224,8 @@ abstract class VideoListEditorView : LinearLayout {
|
||||||
|
|
||||||
fun updateVideoFilters() {
|
fun updateVideoFilters() {
|
||||||
val videos = _loadedVideos ?: return;
|
val videos = _loadedVideos ?: return;
|
||||||
_videoListEditorView.setVideos(filterVideos(videos), _loadedVideosCanEdit);
|
val filteredVideos = filterVideos(videos)
|
||||||
|
_videoListEditorView.setVideos(filteredVideos, _loadedVideosCanEdit && filteredVideos.size == videos.size);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected fun setButtonDownloadVisible(isVisible: Boolean) {
|
protected fun setButtonDownloadVisible(isVisible: Boolean) {
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
package com.futo.platformplayer.views.adapters
|
package com.futo.platformplayer.views.adapters
|
||||||
|
|
||||||
import android.view.LayoutInflater
|
import android.view.LayoutInflater
|
||||||
|
import android.view.View
|
||||||
import android.view.ViewGroup
|
import android.view.ViewGroup
|
||||||
import androidx.recyclerview.widget.ItemTouchHelper
|
import androidx.recyclerview.widget.ItemTouchHelper
|
||||||
import androidx.recyclerview.widget.RecyclerView
|
import androidx.recyclerview.widget.RecyclerView
|
||||||
|
|
|
@ -19,6 +19,7 @@
|
||||||
android:scaleType="fitCenter"
|
android:scaleType="fitCenter"
|
||||||
android:paddingTop="10dp"
|
android:paddingTop="10dp"
|
||||||
android:paddingBottom="10dp"
|
android:paddingBottom="10dp"
|
||||||
|
android:paddingStart="12dp"
|
||||||
app:layout_constraintLeft_toLeftOf="parent"
|
app:layout_constraintLeft_toLeftOf="parent"
|
||||||
app:layout_constraintTop_toTopOf="@id/layout_video_thumbnail"
|
app:layout_constraintTop_toTopOf="@id/layout_video_thumbnail"
|
||||||
app:layout_constraintBottom_toBottomOf="@id/layout_video_thumbnail" />
|
app:layout_constraintBottom_toBottomOf="@id/layout_video_thumbnail" />
|
||||||
|
@ -30,7 +31,8 @@
|
||||||
app:layout_constraintLeft_toRightOf="@id/image_drag_drop"
|
app:layout_constraintLeft_toRightOf="@id/image_drag_drop"
|
||||||
app:layout_constraintBottom_toBottomOf="parent"
|
app:layout_constraintBottom_toBottomOf="parent"
|
||||||
app:layout_constraintTop_toTopOf="parent"
|
app:layout_constraintTop_toTopOf="parent"
|
||||||
app:layout_constraintDimensionRatio="W,1.7:1" >
|
app:layout_constraintDimensionRatio="W,1.7:1"
|
||||||
|
android:layout_marginStart="12dp">
|
||||||
|
|
||||||
<com.google.android.material.imageview.ShapeableImageView
|
<com.google.android.material.imageview.ShapeableImageView
|
||||||
android:id="@+id/image_video_thumbnail"
|
android:id="@+id/image_video_thumbnail"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue