diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index d498acc5d..b77f34322 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -26,7 +26,7 @@ android:screenOrientation="portrait"/> diff --git a/app/src/main/java/gallery/simplemobiletools/com/activities/PhotosActivity.java b/app/src/main/java/gallery/simplemobiletools/com/activities/PhotosActivity.java index a3b988557..7ec1e09b6 100644 --- a/app/src/main/java/gallery/simplemobiletools/com/activities/PhotosActivity.java +++ b/app/src/main/java/gallery/simplemobiletools/com/activities/PhotosActivity.java @@ -52,7 +52,7 @@ public class PhotosActivity extends AppCompatActivity implements AdapterView.OnI @Override public void onItemClick(AdapterView parent, View view, int position, long id) { - final Intent intent = new Intent(this, PhotoActivity.class); + final Intent intent = new Intent(this, ViewPagerActivity.class); intent.putExtra(Constants.PHOTO, photos.get(position)); startActivity(intent); } diff --git a/app/src/main/java/gallery/simplemobiletools/com/activities/PhotoActivity.java b/app/src/main/java/gallery/simplemobiletools/com/activities/ViewPagerActivity.java similarity index 97% rename from app/src/main/java/gallery/simplemobiletools/com/activities/PhotoActivity.java rename to app/src/main/java/gallery/simplemobiletools/com/activities/ViewPagerActivity.java index 753cd484f..71cb70b2b 100644 --- a/app/src/main/java/gallery/simplemobiletools/com/activities/PhotoActivity.java +++ b/app/src/main/java/gallery/simplemobiletools/com/activities/ViewPagerActivity.java @@ -15,7 +15,7 @@ import gallery.simplemobiletools.com.Constants; import gallery.simplemobiletools.com.R; import gallery.simplemobiletools.com.adapters.MyPagerAdapter; -public class PhotoActivity extends AppCompatActivity { +public class ViewPagerActivity extends AppCompatActivity { private int pos; @Override