diff --git a/app/app.iml b/app/app.iml
index 25f5406fe..7708950a2 100644
--- a/app/app.iml
+++ b/app/app.iml
@@ -21,11 +21,6 @@
-
-
-
-
-
@@ -44,7 +39,6 @@
-
@@ -59,7 +53,6 @@
-
@@ -67,7 +60,6 @@
-
@@ -75,7 +67,6 @@
-
@@ -83,7 +74,6 @@
-
@@ -91,7 +81,6 @@
-
@@ -99,7 +88,6 @@
-
@@ -107,7 +95,6 @@
-
@@ -115,7 +102,6 @@
-
@@ -123,7 +109,6 @@
-
@@ -143,9 +128,6 @@
-
-
-
diff --git a/app/build.gradle b/app/build.gradle
index bc833e4b4..5cdf78087 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -1,5 +1,4 @@
apply plugin: 'com.android.application'
-import org.apache.tools.ant.taskdefs.condition.Os
def getGitHubCommit = {
try {
@@ -80,8 +79,8 @@ android {
minSdkVersion 7
//noinspection GradleDependency,OldTargetApi
targetSdkVersion 29
- versionCode 239
- versionName "1.2.239-u"
+ versionCode 240
+ versionName "1.2.240-u"
}
buildTypes {
release {
@@ -100,16 +99,16 @@ android {
minSdkVersion 7
//noinspection OldTargetApi
targetSdkVersion 29
- versionCode 239
- versionName "1.2.239-d"
+ versionCode 240
+ versionName "1.2.240-d"
signingConfig signingConfigs.debug
}
releaseConfig {
minSdkVersion 7
applicationId 'uk.openvk.android.legacy'
targetSdkVersion 29
- versionCode 239
- versionName '1.2.239'
+ versionCode 240
+ versionName '1.2.240'
if (file('.signing/app-release.prop').exists()) {
signingConfig signingConfigs.release
}
@@ -120,8 +119,8 @@ android {
minSdkVersion 7
//noinspection OldTargetApi
targetSdkVersion 29
- versionCode 239
- versionName "1.2.239-f"
+ versionCode 240
+ versionName "1.2.240-f"
if (file('.signing/app-fdroid.prop').exists()) {
signingConfig signingConfigs.fdroid
}
diff --git a/app/src/main/java/uk/openvk/android/legacy/core/activities/PhotoViewerActivity.java b/app/src/main/java/uk/openvk/android/legacy/core/activities/PhotoViewerActivity.java
index fca3e6e71..e57b36f96 100644
--- a/app/src/main/java/uk/openvk/android/legacy/core/activities/PhotoViewerActivity.java
+++ b/app/src/main/java/uk/openvk/android/legacy/core/activities/PhotoViewerActivity.java
@@ -410,7 +410,7 @@ public boolean onCreateOptionsMenu(Menu menu)
@SuppressLint("NewApi")
@Override
protected void setTranslucentStatusBar() {
- resetTranslucentStatusBar();
+ //resetTranslucentStatusBar();
if(Build.VERSION.SDK_INT == Build.VERSION_CODES.KITKAT)
super.setLegacyTranslucentStatusBar(1, Color.parseColor("#D8000000"));
else if(Build.VERSION.SDK_INT >= Build.VERSION_CODES.P) {
@@ -424,7 +424,7 @@ else if(Build.VERSION.SDK_INT >= Build.VERSION_CODES.P) {
protected void enableFullScreenMode() {
if (!isFullScreenMode) {
- resetTranslucentStatusBar();
+ //resetTranslucentStatusBar();
getWindow().addFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN);
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) {
getWindow().getDecorView().setSystemUiVisibility(
@@ -447,8 +447,8 @@ protected void enableFullScreenMode() {
isFullScreenMode = !isFullScreenMode;
}
- @Override
- protected void resetTranslucentStatusBar() {
- super.resetTranslucentStatusBar();
- }
+// @Override
+// protected void resetTranslucentStatusBar() {
+// super.resetTranslucentStatusBar();
+// }
}
diff --git a/app/src/main/res/layout-land/activity_photo_album.xml b/app/src/main/res/layout-land/activity_photo_album.xml
new file mode 100644
index 000000000..e4a936f08
--- /dev/null
+++ b/app/src/main/res/layout-land/activity_photo_album.xml
@@ -0,0 +1,70 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/app/src/main/res/layout-sw600dp-land/activity_photo_album.xml b/app/src/main/res/layout-sw600dp-land/activity_photo_album.xml
new file mode 100644
index 000000000..75fedcb0a
--- /dev/null
+++ b/app/src/main/res/layout-sw600dp-land/activity_photo_album.xml
@@ -0,0 +1,70 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file