diff --git a/drawable_resources/icon-android-with-dev-as-layer.svg b/drawable_resources/icon-android-with-dev-as-layer.svg deleted file mode 100644 index 4f8879d3ec..0000000000 --- a/drawable_resources/icon-android-with-dev-as-layer.svg +++ /dev/null @@ -1,94 +0,0 @@ - -image/svg+xml diff --git a/drawable_resources/icon-background.png b/drawable_resources/icon-background.png deleted file mode 100644 index c4cc8d7ac1..0000000000 Binary files a/drawable_resources/icon-background.png and /dev/null differ diff --git a/drawable_resources/icon-background.svg b/drawable_resources/icon-background.svg index 3ed4da8724..fc99ed29e9 100644 --- a/drawable_resources/icon-background.svg +++ b/drawable_resources/icon-background.svg @@ -1,308 +1,4 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + diff --git a/drawable_resources/logo_dev.svg b/drawable_resources/logo_dev.svg index 838e127b78..e4d64be47e 100644 --- a/drawable_resources/logo_dev.svg +++ b/drawable_resources/logo_dev.svg @@ -1,24 +1,15 @@ -image/svg+xml + + image/svg+xmlimage/svg+xml + inkscape:window-width="1920" inkscape:window-height="1171" id="namedview17" showgrid="false" + inkscape:zoom="0.44360902" inkscape:cx="322.43529" inkscape:cy="149.39575" inkscape:window-x="1920" + inkscape:window-y="0" inkscape:window-maximized="1" inkscape:current-layer="svg15" + inkscape:pagecheckerboard="true" /> + + style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:163.70762634px;line-height:125%;font-family:Helvetica;-inkscape-font-specification:Helvetica;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;clip-rule:evenodd;fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:8.18538094px;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:1.41420996;stroke-opacity:1" + id="text828" transform="translate(3e-5,-2.7252)"> - - + id="path817" inkscape:connector-curvature="0" /> diff --git a/src/main/ic_launcher-web.png b/src/main/ic_launcher-web.png index 460ce7a7b3..dc58ff797a 100644 Binary files a/src/main/ic_launcher-web.png and b/src/main/ic_launcher-web.png differ diff --git a/src/main/java/com/owncloud/android/ui/activity/DrawerActivity.java b/src/main/java/com/owncloud/android/ui/activity/DrawerActivity.java index d838b29084..b8b4ccde18 100644 --- a/src/main/java/com/owncloud/android/ui/activity/DrawerActivity.java +++ b/src/main/java/com/owncloud/android/ui/activity/DrawerActivity.java @@ -1150,7 +1150,7 @@ public abstract class DrawerActivity extends ToolbarActivity } else if (backgroundDefault.isTrue() && backgroundPlain.isFalse()) { // use nc13 background image with themed color Drawable[] drawables = {new ColorDrawable(primaryColor), - getResources().getDrawable(R.drawable.background_nc13)}; + getResources().getDrawable(R.drawable.background)}; LayerDrawable layerDrawable = new LayerDrawable(drawables); setNavigationHeaderBackground(layerDrawable, navigationHeader); } else { @@ -1175,8 +1175,8 @@ public abstract class DrawerActivity extends ToolbarActivity int backgroundResource; OwnCloudVersion ownCloudVersion = accountManager.getServerVersion(getAccount()); - if (ownCloudVersion.compareTo(OwnCloudVersion.nextcloud_13) >= 0) { - backgroundResource = R.drawable.background_nc13; + if (ownCloudVersion.compareTo(OwnCloudVersion.nextcloud_18) >= 0) { + backgroundResource = R.drawable.background_nc18; } else { backgroundResource = R.drawable.background; } diff --git a/src/main/java/com/owncloud/android/ui/activity/UserInfoActivity.java b/src/main/java/com/owncloud/android/ui/activity/UserInfoActivity.java index db5e18e2e7..833c9176bd 100644 --- a/src/main/java/com/owncloud/android/ui/activity/UserInfoActivity.java +++ b/src/main/java/com/owncloud/android/ui/activity/UserInfoActivity.java @@ -26,7 +26,6 @@ package com.owncloud.android.ui.activity; import android.accounts.Account; -import androidx.appcompat.app.AlertDialog; import android.app.Dialog; import android.graphics.PorterDuff; import android.graphics.drawable.ColorDrawable; @@ -79,6 +78,7 @@ import androidx.annotation.DrawableRes; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import androidx.annotation.StringRes; +import androidx.appcompat.app.AlertDialog; import androidx.core.graphics.drawable.DrawableCompat; import androidx.fragment.app.DialogFragment; import androidx.fragment.app.FragmentManager; diff --git a/src/main/res/drawable-v24/ic_launcher_background.xml b/src/main/res/drawable-v24/ic_launcher_background.xml new file mode 100644 index 0000000000..c1ee647893 --- /dev/null +++ b/src/main/res/drawable-v24/ic_launcher_background.xml @@ -0,0 +1,27 @@ + + + + + + + + + + diff --git a/src/main/res/drawable-v26/ic_launcher_background.xml b/src/main/res/drawable-v26/ic_launcher_background.xml deleted file mode 100644 index a9025ed777..0000000000 --- a/src/main/res/drawable-v26/ic_launcher_background.xml +++ /dev/null @@ -1,1222 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/main/res/drawable-xxxhdpi/background.jpg b/src/main/res/drawable-xxxhdpi/background.jpg deleted file mode 100644 index 6a44a8163b..0000000000 Binary files a/src/main/res/drawable-xxxhdpi/background.jpg and /dev/null differ diff --git a/src/main/res/drawable-xxxhdpi/background_nc13.png b/src/main/res/drawable-xxxhdpi/background.png similarity index 100% rename from src/main/res/drawable-xxxhdpi/background_nc13.png rename to src/main/res/drawable-xxxhdpi/background.png diff --git a/src/main/res/drawable-xxxhdpi/background_nc18.png b/src/main/res/drawable-xxxhdpi/background_nc18.png new file mode 100644 index 0000000000..c0547f9f09 Binary files /dev/null and b/src/main/res/drawable-xxxhdpi/background_nc18.png differ diff --git a/src/main/res/drawable/ic_launcher_foreground.xml b/src/main/res/drawable/ic_launcher_foreground.xml new file mode 100644 index 0000000000..62bf9cd47d --- /dev/null +++ b/src/main/res/drawable/ic_launcher_foreground.xml @@ -0,0 +1,14 @@ + + + + + diff --git a/src/main/res/mipmap-anydpi-v26/ic_launcher.xml b/src/main/res/mipmap-anydpi-v26/ic_launcher.xml index 7358e82874..bbd3e02123 100644 --- a/src/main/res/mipmap-anydpi-v26/ic_launcher.xml +++ b/src/main/res/mipmap-anydpi-v26/ic_launcher.xml @@ -1,24 +1,5 @@ - - + \ No newline at end of file diff --git a/src/main/res/mipmap-hdpi/ic_launcher.png b/src/main/res/mipmap-hdpi/ic_launcher.png index 0ef1b13b77..2e264cebd3 100644 Binary files a/src/main/res/mipmap-hdpi/ic_launcher.png and b/src/main/res/mipmap-hdpi/ic_launcher.png differ diff --git a/src/main/res/mipmap-mdpi/ic_launcher.png b/src/main/res/mipmap-mdpi/ic_launcher.png index 5d9112b31f..e34b6164db 100644 Binary files a/src/main/res/mipmap-mdpi/ic_launcher.png and b/src/main/res/mipmap-mdpi/ic_launcher.png differ diff --git a/src/main/res/mipmap-xhdpi/ic_launcher.png b/src/main/res/mipmap-xhdpi/ic_launcher.png index c2d50529ec..ddee9370af 100644 Binary files a/src/main/res/mipmap-xhdpi/ic_launcher.png and b/src/main/res/mipmap-xhdpi/ic_launcher.png differ diff --git a/src/main/res/mipmap-xxhdpi/ic_launcher.png b/src/main/res/mipmap-xxhdpi/ic_launcher.png index 0e8878ab24..702614fa72 100644 Binary files a/src/main/res/mipmap-xxhdpi/ic_launcher.png and b/src/main/res/mipmap-xxhdpi/ic_launcher.png differ diff --git a/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/src/main/res/mipmap-xxxhdpi/ic_launcher.png index 9dbfbce3c3..d4dbd35854 100644 Binary files a/src/main/res/mipmap-xxxhdpi/ic_launcher.png and b/src/main/res/mipmap-xxxhdpi/ic_launcher.png differ diff --git a/src/qa/ic_launcher-web.png b/src/qa/ic_launcher-web.png index 8b772004de..3ff9315abd 100644 Binary files a/src/qa/ic_launcher-web.png and b/src/qa/ic_launcher-web.png differ diff --git a/src/qa/res/drawable-v24/ic_launcher_background.xml b/src/qa/res/drawable-v24/ic_launcher_background.xml new file mode 100644 index 0000000000..c1ee647893 --- /dev/null +++ b/src/qa/res/drawable-v24/ic_launcher_background.xml @@ -0,0 +1,27 @@ + + + + + + + + + + diff --git a/src/qa/res/drawable-v26/ic_launcher_foreground.xml b/src/qa/res/drawable-v24/ic_launcher_foreground.xml similarity index 100% rename from src/qa/res/drawable-v26/ic_launcher_foreground.xml rename to src/qa/res/drawable-v24/ic_launcher_foreground.xml diff --git a/src/qa/res/drawable-v26/ic_launcher_background.xml b/src/qa/res/drawable-v26/ic_launcher_background.xml deleted file mode 100644 index d11f5bf128..0000000000 --- a/src/qa/res/drawable-v26/ic_launcher_background.xml +++ /dev/null @@ -1,1222 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/qa/res/drawable/ic_launcher_foreground.xml b/src/qa/res/drawable/ic_launcher_foreground.xml index 19d78d67cc..f1a7af82cf 100644 --- a/src/qa/res/drawable/ic_launcher_foreground.xml +++ b/src/qa/res/drawable/ic_launcher_foreground.xml @@ -1,32 +1,34 @@ + android:viewportWidth="1803.3898" + android:viewportHeight="1803.3898"> + android:translateX="369.69492" + android:translateY="369.69492"> - - + + diff --git a/src/qa/res/mipmap-hdpi/ic_launcher.png b/src/qa/res/mipmap-hdpi/ic_launcher.png index 0f5b931a63..fa11843cd5 100644 Binary files a/src/qa/res/mipmap-hdpi/ic_launcher.png and b/src/qa/res/mipmap-hdpi/ic_launcher.png differ diff --git a/src/qa/res/mipmap-mdpi/ic_launcher.png b/src/qa/res/mipmap-mdpi/ic_launcher.png index d2e43f4fd8..d4ce379209 100644 Binary files a/src/qa/res/mipmap-mdpi/ic_launcher.png and b/src/qa/res/mipmap-mdpi/ic_launcher.png differ diff --git a/src/qa/res/mipmap-xhdpi/ic_launcher.png b/src/qa/res/mipmap-xhdpi/ic_launcher.png index 9a4b5c6721..08f44155dc 100644 Binary files a/src/qa/res/mipmap-xhdpi/ic_launcher.png and b/src/qa/res/mipmap-xhdpi/ic_launcher.png differ diff --git a/src/qa/res/mipmap-xxhdpi/ic_launcher.png b/src/qa/res/mipmap-xxhdpi/ic_launcher.png index 832df9f527..ce52f9e3cb 100644 Binary files a/src/qa/res/mipmap-xxhdpi/ic_launcher.png and b/src/qa/res/mipmap-xxhdpi/ic_launcher.png differ diff --git a/src/qa/res/mipmap-xxxhdpi/ic_launcher.png b/src/qa/res/mipmap-xxxhdpi/ic_launcher.png index b964e3fc61..64f67f5d99 100644 Binary files a/src/qa/res/mipmap-xxxhdpi/ic_launcher.png and b/src/qa/res/mipmap-xxxhdpi/ic_launcher.png differ diff --git a/src/versionDev/ic_launcher-web.png b/src/versionDev/ic_launcher-web.png index e84c2cbdf2..78e9d43de8 100644 Binary files a/src/versionDev/ic_launcher-web.png and b/src/versionDev/ic_launcher-web.png differ diff --git a/src/versionDev/res/drawable-v24/ic_launcher_background.xml b/src/versionDev/res/drawable-v24/ic_launcher_background.xml new file mode 100644 index 0000000000..c1ee647893 --- /dev/null +++ b/src/versionDev/res/drawable-v24/ic_launcher_background.xml @@ -0,0 +1,27 @@ + + + + + + + + + + diff --git a/src/versionDev/res/drawable/ic_launcher_foreground.xml b/src/versionDev/res/drawable/ic_launcher_foreground.xml new file mode 100644 index 0000000000..bc12cafbc0 --- /dev/null +++ b/src/versionDev/res/drawable/ic_launcher_foreground.xml @@ -0,0 +1,26 @@ + + + + + + + + diff --git a/src/versionDev/res/mipmap-anydpi-v26/ic_launcher.xml b/src/versionDev/res/mipmap-anydpi-v26/ic_launcher.xml index 7358e82874..bbd3e02123 100644 --- a/src/versionDev/res/mipmap-anydpi-v26/ic_launcher.xml +++ b/src/versionDev/res/mipmap-anydpi-v26/ic_launcher.xml @@ -1,24 +1,5 @@ - - + \ No newline at end of file diff --git a/src/versionDev/res/mipmap-hdpi/ic_launcher.png b/src/versionDev/res/mipmap-hdpi/ic_launcher.png index 15aa25eef0..121245cd9f 100644 Binary files a/src/versionDev/res/mipmap-hdpi/ic_launcher.png and b/src/versionDev/res/mipmap-hdpi/ic_launcher.png differ diff --git a/src/versionDev/res/mipmap-mdpi/ic_launcher.png b/src/versionDev/res/mipmap-mdpi/ic_launcher.png index 66c1825c47..0b982ea174 100644 Binary files a/src/versionDev/res/mipmap-mdpi/ic_launcher.png and b/src/versionDev/res/mipmap-mdpi/ic_launcher.png differ diff --git a/src/versionDev/res/mipmap-xhdpi/ic_launcher.png b/src/versionDev/res/mipmap-xhdpi/ic_launcher.png index 95739558a7..10d17f57aa 100644 Binary files a/src/versionDev/res/mipmap-xhdpi/ic_launcher.png and b/src/versionDev/res/mipmap-xhdpi/ic_launcher.png differ diff --git a/src/versionDev/res/mipmap-xxhdpi/ic_launcher.png b/src/versionDev/res/mipmap-xxhdpi/ic_launcher.png index ddef019921..84d0855eb6 100644 Binary files a/src/versionDev/res/mipmap-xxhdpi/ic_launcher.png and b/src/versionDev/res/mipmap-xxhdpi/ic_launcher.png differ diff --git a/src/versionDev/res/mipmap-xxxhdpi/ic_launcher.png b/src/versionDev/res/mipmap-xxxhdpi/ic_launcher.png index b04d47c500..9a704f5507 100644 Binary files a/src/versionDev/res/mipmap-xxxhdpi/ic_launcher.png and b/src/versionDev/res/mipmap-xxxhdpi/ic_launcher.png differ