Skip to content

Commit

Permalink
Use the forked SlidingDrawer
Browse files Browse the repository at this point in the history
  • Loading branch information
gzsombor committed Aug 21, 2024
1 parent e807331 commit 592d2dc
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 14 deletions.
2 changes: 1 addition & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ dependencies {
/**** Frontend (UI-related) ****/

// Old SlidingDrawer widget component but improved
implementation 'com.github.moraisigor:slidingdrawer:1.7.1'
implementation 'com.github.SkyTubeTeam:SlidingDrawer:1.7.1'

// Image loading and caching library
def glideVersion = '4.15.0'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@

package free.rm.skytube.gui.fragments;

import static java.security.AccessController.getContext;
import static free.rm.skytube.gui.activities.YouTubePlayerActivity.YOUTUBE_VIDEO_OBJ;

import android.app.Activity;
Expand Down Expand Up @@ -51,10 +50,6 @@
import androidx.core.content.ContextCompat;
import androidx.media.AudioManagerCompat;

import androidx.preference.EditTextPreference;
import androidx.preference.PreferenceManager;


import com.bumptech.glide.Glide;
import com.bumptech.glide.request.RequestOptions;
import com.google.android.exoplayer2.C;
Expand Down
8 changes: 4 additions & 4 deletions app/src/main/res/layout/fragment_youtube_player_v1.xml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
<!--
VIDEO DESCRIPTION / INFO
-->
<hollowsoft.slidingdrawer.SlidingDrawer
<com.github.skytubeteam.slidingdrawer.SlidingDrawer
android:id="@+id/des_drawer"
android:layout_width="match_parent"
android:layout_height="@dimen/description_drawer_height"
Expand Down Expand Up @@ -90,13 +90,13 @@
android:padding="16dp"
android:gravity="left"
layout="@layout/video_description" />
</hollowsoft.slidingdrawer.SlidingDrawer>
</com.github.skytubeteam.slidingdrawer.SlidingDrawer>


<!--
COMMENTS
-->
<hollowsoft.slidingdrawer.SlidingDrawer
<com.github.skytubeteam.slidingdrawer.SlidingDrawer
android:id="@+id/comments_drawer"
android:layout_width="@dimen/comments_drawer_width"
android:layout_height="match_parent"
Expand Down Expand Up @@ -163,6 +163,6 @@
android:layout_centerInParent="true"
style="@style/LoadingProgressBar"/>
</RelativeLayout>
</hollowsoft.slidingdrawer.SlidingDrawer>
</com.github.skytubeteam.slidingdrawer.SlidingDrawer>

</FrameLayout>
8 changes: 4 additions & 4 deletions app/src/main/res/layout/fragment_youtube_player_v2.xml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
<!--
VIDEO DESCRIPTION / INFO
-->
<hollowsoft.slidingdrawer.SlidingDrawer
<com.github.skytubeteam.slidingdrawer.SlidingDrawer
android:id="@+id/des_drawer"
android:layout_width="match_parent"
android:layout_height="@dimen/description_drawer_height"
Expand All @@ -80,13 +80,13 @@
android:padding="16dp"
android:gravity="left"
layout="@layout/video_description" />
</hollowsoft.slidingdrawer.SlidingDrawer>
</com.github.skytubeteam.slidingdrawer.SlidingDrawer>


<!--
COMMENTS
-->
<hollowsoft.slidingdrawer.SlidingDrawer
<com.github.skytubeteam.slidingdrawer.SlidingDrawer
android:id="@+id/comments_drawer"
android:layout_width="@dimen/comments_drawer_width"
android:layout_height="match_parent"
Expand Down Expand Up @@ -144,7 +144,7 @@
android:layout_centerInParent="true"
style="@style/LoadingProgressBar"/>
</RelativeLayout>
</hollowsoft.slidingdrawer.SlidingDrawer>
</com.github.skytubeteam.slidingdrawer.SlidingDrawer>


</FrameLayout>

0 comments on commit 592d2dc

Please sign in to comment.