put progressbar on top of thumbnail and made it red
This commit is contained in:
parent
37d9be9095
commit
074963aee0
7 changed files with 235 additions and 86 deletions
|
|
@ -44,7 +44,6 @@ import java.util.Vector;
|
|||
import org.schabi.newpipe.services.VideoExtractor;
|
||||
import org.schabi.newpipe.services.ServiceList;
|
||||
import org.schabi.newpipe.services.StreamingService;
|
||||
import org.schabi.newpipe.views.DetailScrollView;
|
||||
|
||||
|
||||
/**
|
||||
|
|
@ -442,16 +441,6 @@ public class VideoItemDetailFragment extends Fragment {
|
|||
|
||||
}
|
||||
});
|
||||
|
||||
DetailScrollView scrollView = (DetailScrollView) activity.findViewById(R.id.detailMainContent);
|
||||
scrollView.setOnScrollViewListener(new DetailScrollView.OnScrollViewListener() {
|
||||
// This is used to make the thumbnailView move half the speed than the content does
|
||||
// while scrolling.
|
||||
@Override
|
||||
public void onScrollChanged(DetailScrollView v, int l, int t, int oldl, int oldt) {
|
||||
//Log.d(TAG, Integer.toString(l) + " : " + Integer.toString(t));
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue