mirror of
https://github.com/FossifyOrg/Gallery.git
synced 2024-11-23 04:57:59 +01:00
moving MediaSideScroll to the Views folder, no real change
This commit is contained in:
parent
6f812bbbaa
commit
70f5a23575
4 changed files with 7 additions and 4 deletions
|
@ -32,6 +32,7 @@ import com.simplemobiletools.gallery.activities.VideoActivity
|
|||
import com.simplemobiletools.gallery.extensions.*
|
||||
import com.simplemobiletools.gallery.helpers.*
|
||||
import com.simplemobiletools.gallery.models.Medium
|
||||
import com.simplemobiletools.gallery.views.MediaSideScroll
|
||||
import kotlinx.android.synthetic.main.bottom_video_time_holder.view.*
|
||||
import kotlinx.android.synthetic.main.pager_video_item.view.*
|
||||
import java.io.File
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package com.simplemobiletools.gallery.helpers
|
||||
package com.simplemobiletools.gallery.views
|
||||
|
||||
import android.app.Activity
|
||||
import android.content.Context
|
||||
|
@ -13,6 +13,8 @@ import android.widget.TextView
|
|||
import com.simplemobiletools.gallery.R
|
||||
import com.simplemobiletools.gallery.activities.ViewPagerActivity
|
||||
import com.simplemobiletools.gallery.extensions.audioManager
|
||||
import com.simplemobiletools.gallery.helpers.CLICK_MAX_DURATION
|
||||
import com.simplemobiletools.gallery.helpers.DRAG_THRESHOLD
|
||||
|
||||
// allow horizontal swipes through the layout, else it can cause glitches at zoomed in images
|
||||
class MediaSideScroll(context: Context, attrs: AttributeSet) : RelativeLayout(context, attrs) {
|
|
@ -47,7 +47,7 @@
|
|||
android:visibility="gone"
|
||||
tools:text="My image\nAnother line"/>
|
||||
|
||||
<com.simplemobiletools.gallery.helpers.MediaSideScroll
|
||||
<com.simplemobiletools.gallery.views.MediaSideScroll
|
||||
android:id="@+id/photo_brightness_controller"
|
||||
android:layout_width="@dimen/media_side_slider_width"
|
||||
android:layout_height="match_parent"
|
||||
|
|
|
@ -17,14 +17,14 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:layout_centerInParent="true"/>
|
||||
|
||||
<com.simplemobiletools.gallery.helpers.MediaSideScroll
|
||||
<com.simplemobiletools.gallery.views.MediaSideScroll
|
||||
android:id="@+id/video_volume_controller"
|
||||
android:layout_width="@dimen/media_side_slider_width"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_alignParentEnd="true"
|
||||
android:layout_alignParentRight="true"/>
|
||||
|
||||
<com.simplemobiletools.gallery.helpers.MediaSideScroll
|
||||
<com.simplemobiletools.gallery.views.MediaSideScroll
|
||||
android:id="@+id/video_brightness_controller"
|
||||
android:layout_width="@dimen/media_side_slider_width"
|
||||
android:layout_height="match_parent"/>
|
||||
|
|
Loading…
Reference in a new issue