mirror of
https://github.com/FossifyOrg/Gallery.git
synced 2024-11-22 20:48:00 +01:00
FIX: Wrong direction of swap in Arabic and other RTL languages #35
This commit is contained in:
parent
b2cea47c8d
commit
2b7e7033ee
2 changed files with 4 additions and 1 deletions
|
@ -41,6 +41,7 @@ dependencies {
|
|||
compile 'com.jakewharton:butterknife:8.0.1'
|
||||
compile 'com.davemorrissey.labs:subsampling-scale-image-view:3.5.0'
|
||||
compile 'com.theartofdev.edmodo:android-image-cropper:2.3.1'
|
||||
compile 'com.booking:rtlviewpager:1.0.1'
|
||||
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
|
||||
|
||||
apt 'com.jakewharton:butterknife-compiler:8.0.1'
|
||||
|
|
|
@ -5,7 +5,9 @@ import android.support.v4.view.ViewPager;
|
|||
import android.util.AttributeSet;
|
||||
import android.view.MotionEvent;
|
||||
|
||||
public class MyViewPager extends ViewPager {
|
||||
import com.booking.rtlviewpager.RtlViewPager;
|
||||
|
||||
public class MyViewPager extends RtlViewPager {
|
||||
|
||||
public MyViewPager(Context context) {
|
||||
super(context);
|
||||
|
|
Loading…
Reference in a new issue