moving MediaSideScroll to the Views folder, no real change

This commit is contained in:
tibbi 2018-10-22 13:57:23 +02:00
parent 6f812bbbaa
commit 70f5a23575
4 changed files with 7 additions and 4 deletions

View file

@ -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

View 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) {

View file

@ -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"

View file

@ -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"/>