diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 1639f6be2..5f36f8e62 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -27,6 +27,7 @@ + android:screenOrientation="portrait" + android:theme="@style/FullScreenTheme"/> diff --git a/app/src/main/java/com/simplemobiletools/gallery/activities/ViewPagerActivity.java b/app/src/main/java/com/simplemobiletools/gallery/activities/ViewPagerActivity.java index c16dc0b23..dc3e40c08 100644 --- a/app/src/main/java/com/simplemobiletools/gallery/activities/ViewPagerActivity.java +++ b/app/src/main/java/com/simplemobiletools/gallery/activities/ViewPagerActivity.java @@ -11,16 +11,16 @@ import android.view.Menu; import android.view.MenuItem; import android.view.View; -import java.io.File; -import java.util.ArrayList; -import java.util.List; -import java.util.regex.Pattern; - import com.simplemobiletools.gallery.Constants; import com.simplemobiletools.gallery.MyViewPager; import com.simplemobiletools.gallery.R; import com.simplemobiletools.gallery.adapters.MyPagerAdapter; +import java.io.File; +import java.util.ArrayList; +import java.util.List; +import java.util.regex.Pattern; + public class ViewPagerActivity extends AppCompatActivity { private int pos; private boolean isFullScreen; @@ -34,8 +34,8 @@ public class ViewPagerActivity extends AppCompatActivity { setContentView(R.layout.activity_photo); pos = 0; - actionbar = getSupportActionBar(); isFullScreen = true; + actionbar = getSupportActionBar(); hideSystemUI(); final MyPagerAdapter adapter = new MyPagerAdapter(getSupportFragmentManager()); diff --git a/app/src/main/res/values/colors.xml b/app/src/main/res/values/colors.xml index 422169a59..2bea239d1 100644 --- a/app/src/main/res/values/colors.xml +++ b/app/src/main/res/values/colors.xml @@ -4,4 +4,5 @@ #303F9F #FF4081 #ff222222 + #66000000 diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml index b4390a216..12e6d228d 100644 --- a/app/src/main/res/values/styles.xml +++ b/app/src/main/res/values/styles.xml @@ -6,4 +6,15 @@ @color/colorAccent + + + +