diff --git a/app/src/main/java/com/amaze/filemanager/ui/dialogs/EncryptAuthenticateDialog.kt b/app/src/main/java/com/amaze/filemanager/ui/dialogs/EncryptAuthenticateDialog.kt index 11763e598b..e83ef904bf 100644 --- a/app/src/main/java/com/amaze/filemanager/ui/dialogs/EncryptAuthenticateDialog.kt +++ b/app/src/main/java/com/amaze/filemanager/ui/dialogs/EncryptAuthenticateDialog.kt @@ -24,6 +24,8 @@ import android.annotation.SuppressLint import android.content.Context import android.content.Intent import android.content.SharedPreferences +import android.text.method.LinkMovementMethod +import android.text.util.Linkify import android.view.LayoutInflater import android.view.View import android.view.View.INVISIBLE @@ -95,10 +97,13 @@ object EncryptAuthenticateDialog { val useAzeEncrypt: AppCompatCheckBox = vb.checkboxUseAze val usageTextInfo: AppCompatTextView = vb.textViewCryptInfo.apply { + movementMethod = LinkMovementMethod.getInstance() + autoLinkMask = Linkify.WEB_URLS + linksClickable = true text = HtmlCompat.fromHtml( main.getString(R.string.encrypt_option_use_aescrypt_desc), - FROM_HTML_MODE_COMPACT, + HtmlCompat.FROM_HTML_MODE_COMPACT, ) } useAzeEncrypt.setOnCheckedChangeListener( @@ -242,6 +247,9 @@ object EncryptAuthenticateDialog { AESCRYPT_EXTENSION }}", ) + usageTextInfo.movementMethod = LinkMovementMethod.getInstance() + usageTextInfo.autoLinkMask = Linkify.WEB_URLS + usageTextInfo.linksClickable = true usageTextInfo.text = HtmlCompat.fromHtml( main.getString( diff --git a/app/src/main/java/com/amaze/filemanager/ui/dialogs/EncryptWithPresetPasswordSaveAsDialog.kt b/app/src/main/java/com/amaze/filemanager/ui/dialogs/EncryptWithPresetPasswordSaveAsDialog.kt index baa520724f..82955e7026 100644 --- a/app/src/main/java/com/amaze/filemanager/ui/dialogs/EncryptWithPresetPasswordSaveAsDialog.kt +++ b/app/src/main/java/com/amaze/filemanager/ui/dialogs/EncryptWithPresetPasswordSaveAsDialog.kt @@ -23,6 +23,8 @@ package com.amaze.filemanager.ui.dialogs import android.annotation.SuppressLint import android.content.Context import android.content.Intent +import android.text.method.LinkMovementMethod +import android.text.util.Linkify import android.view.LayoutInflater import android.view.View import android.widget.Toast @@ -88,10 +90,13 @@ object EncryptWithPresetPasswordSaveAsDialog { val useAzeEncrypt = vb.checkboxUseAze val usageTextInfo = vb.textViewCryptInfo.apply { + movementMethod = LinkMovementMethod.getInstance() + autoLinkMask = Linkify.WEB_URLS + linksClickable = true text = HtmlCompat.fromHtml( main.getString(R.string.encrypt_option_use_aescrypt_desc), - HtmlCompat.FROM_HTML_MODE_LEGACY, + HtmlCompat.FROM_HTML_MODE_COMPACT, ) } if (ENCRYPT_PASSWORD_FINGERPRINT != password) { diff --git a/app/src/main/res/layout/dialog_encrypt_authenticate.xml b/app/src/main/res/layout/dialog_encrypt_authenticate.xml index 5816333356..9a27b4ccfa 100644 --- a/app/src/main/res/layout/dialog_encrypt_authenticate.xml +++ b/app/src/main/res/layout/dialog_encrypt_authenticate.xml @@ -69,7 +69,7 @@

This feature makes files available on the local network, so your PC and mobile devices - have to be on the same local network. You can\’t access a shared Windows folder - over the Internet or when your smartphone is connected to its mobile data — it + have to be on the same local network. You can't access a shared Windows folder + over the Internet or when your smartphone is connected to its mobile data - it has to be connected to Wi-Fi.

@@ -659,10 +659,10 @@ Use Amaze Encryption Format AESCrypt is an open source file encryption format based on AES encryption. It is also portable, can be decrypted with AESCrypt programs on other platforms.

-

Amaze\'s Encryption Format is also based on AES encryption; but different from AESCrypt format, it can only be decrypted by this device; also you must not uninstall Amaze File Manager from this device nor change the way you lock screen, otherwise you will have no way to recover the encrypted file.

+

Amaze's Encryption Format is also based on AES encryption; but different from AESCrypt format, it can only be decrypted by this device; also you must not uninstall Amaze File Manager from this device nor change the way you lock screen, otherwise you will have no way to recover the encrypted file.

]]> Encrypted files must use \".aze\" as the file extension. Encrypted files must use \".aes\" as the file extension.