diff --git a/app/src/main/java/com/owncloud/android/ui/AppVersionPreference.kt b/app/src/main/java/com/owncloud/android/ui/AppVersionPreference.kt index f561ab71260a..ee0e0b43402a 100644 --- a/app/src/main/java/com/owncloud/android/ui/AppVersionPreference.kt +++ b/app/src/main/java/com/owncloud/android/ui/AppVersionPreference.kt @@ -25,7 +25,7 @@ class AppVersionPreference : Preference { private fun updatePreferenceView(title: TextView, summary: TextView) { val appVersion = appVersion val titleColor: Int = context.resources.getColor(R.color.fontAppbar, null) - title.text = StringUtils.getColoredSpan( + title.text = StringUtils.getColorSpan( context.getString(R.string.app_name), titleColor ) diff --git a/app/src/main/java/com/owncloud/android/ui/ThemeableSwitchPreference.java b/app/src/main/java/com/owncloud/android/ui/ThemeableSwitchPreference.java index 0840470a135e..a63bb42e6d29 100644 --- a/app/src/main/java/com/owncloud/android/ui/ThemeableSwitchPreference.java +++ b/app/src/main/java/com/owncloud/android/ui/ThemeableSwitchPreference.java @@ -102,8 +102,8 @@ private void findSwitch(ViewGroup viewGroup) { int trackColorCheckedEnabled = - getContext().getResources().getColor(R.color.switch_thumb_checked_enabled, null); - int trackColorUncheckedEnabled = getContext().getResources().getColor(R.color.dark_grey, null); + getContext().getResources().getColor(R.color.switch_track_checked_enabled, null); + int trackColorUncheckedEnabled = getContext().getResources().getColor(R.color.switch_track_unchecked_enabled, null); int trackColorCheckedDisabled = getContext().getResources().getColor(R.color.switch_track_checked_disabled, null); int trackColorUncheckedDisabled = diff --git a/app/src/main/java/com/owncloud/android/ui/activity/SettingsActivity.java b/app/src/main/java/com/owncloud/android/ui/activity/SettingsActivity.java index 17c41d7f0d3b..a61e542e1bca 100644 --- a/app/src/main/java/com/owncloud/android/ui/activity/SettingsActivity.java +++ b/app/src/main/java/com/owncloud/android/ui/activity/SettingsActivity.java @@ -40,6 +40,7 @@ import android.preference.PreferenceManager; import android.preference.PreferenceScreen; import android.preference.SwitchPreference; +import android.text.TextUtils; import android.view.Menu; import android.view.MenuInflater; import android.view.MenuItem; @@ -59,6 +60,7 @@ import com.owncloud.android.BuildConfig; import com.owncloud.android.MainApp; import com.owncloud.android.R; +import com.nmc.android.ui.PrivacySettingsActivity; import com.owncloud.android.authentication.AuthenticatorActivity; import com.owncloud.android.datamodel.ArbitraryDataProvider; import com.owncloud.android.datamodel.ArbitraryDataProviderImpl; @@ -188,6 +190,10 @@ public void onCreate(Bundle savedInstanceState) { // More setupMoreCategory(titleColor); + // About + // Not required in NMC + //setupAboutCategory(appVersion); + // Data Privacy setupDataPrivacyCategory(titleColor); @@ -247,18 +253,110 @@ private void setupDevCategory(PreferenceScreen preferenceScreen) { } } + private void setupAboutCategory(String appVersion) { + final PreferenceCategory preferenceCategoryAbout = (PreferenceCategory) findPreference("about"); + viewThemeUtils.files.themePreferenceCategory(preferenceCategoryAbout); + + /* About App */ + Preference pAboutApp = findPreference("about_app"); + if (pAboutApp != null) { + pAboutApp.setTitle(String.format(getString(R.string.about_android), getString(R.string.app_name))); + + String buildNumber = getResources().getString(R.string.buildNumber); + + if (TextUtils.isEmpty(buildNumber)) { + pAboutApp.setSummary(String.format(getString(R.string.about_version), appVersion)); + } else { + pAboutApp.setSummary(String.format(getString(R.string.about_version_with_build), + appVersion, + buildNumber)); + } + } + + // license + boolean licenseEnabled = getResources().getBoolean(R.bool.license_enabled); + Preference licensePreference = findPreference("license"); + if (licensePreference != null) { + if (licenseEnabled) { + licensePreference.setSummary(R.string.prefs_gpl_v2); + licensePreference.setOnPreferenceClickListener(preference -> { + DisplayUtils.startLinkIntent(this, R.string.license_url); + return true; + }); + } else { + preferenceCategoryAbout.removePreference(licensePreference); + } + } + + // privacy + boolean privacyEnabled = getResources().getBoolean(R.bool.privacy_enabled); + Preference privacyPreference = findPreference("privacy"); + if (privacyPreference != null) { + if (privacyEnabled && URLUtil.isValidUrl(getString(R.string.privacy_url))) { + privacyPreference.setOnPreferenceClickListener(preference -> { + try { + Uri privacyUrl = Uri.parse(getString(R.string.privacy_url)); + String mimeType = MimeTypeUtil.getBestMimeTypeByFilename(privacyUrl.getLastPathSegment()); + + Intent intent; + if (MimeTypeUtil.isPDF(mimeType)) { + intent = new Intent(Intent.ACTION_VIEW, privacyUrl); + DisplayUtils.startIntentIfAppAvailable(intent, this, R.string.no_pdf_app_available); + } else { + intent = new Intent(getApplicationContext(), ExternalSiteWebView.class); + intent.putExtra(ExternalSiteWebView.EXTRA_TITLE, + getResources().getString(R.string.privacy)); + intent.putExtra(ExternalSiteWebView.EXTRA_URL, privacyUrl.toString()); + intent.putExtra(ExternalSiteWebView.EXTRA_SHOW_SIDEBAR, false); + intent.putExtra(ExternalSiteWebView.EXTRA_MENU_ITEM_ID, -1); + } + + startActivity(intent); + } catch (Exception e) { + Log_OC.e(TAG, "Could not parse privacy url"); + preferenceCategoryAbout.removePreference(privacyPreference); + } + return true; + }); + } else { + preferenceCategoryAbout.removePreference(privacyPreference); + } + } + + // source code + boolean sourcecodeEnabled = getResources().getBoolean(R.bool.sourcecode_enabled); + Preference sourcecodePreference = findPreference("sourcecode"); + if (sourcecodePreference != null) { + if (sourcecodeEnabled) { + sourcecodePreference.setOnPreferenceClickListener(preference -> { + DisplayUtils.startLinkIntent(this, R.string.sourcecode_url); + return true; + }); + } else { + preferenceCategoryAbout.removePreference(sourcecodePreference); + } + } + } + + /** + * NMC customization + */ private void setupDataPrivacyCategory(int titleColor) { PreferenceCategory preferenceCategoryAbout = (PreferenceCategory) findPreference("data_protection"); - preferenceCategoryAbout.setTitle(StringUtils.getColoredSpan(getString(R.string.prefs_category_data_privacy), + preferenceCategoryAbout.setTitle(StringUtils.getColorSpan(getString(R.string.prefs_category_data_privacy), titleColor)); //privacy settings Preference privacySettingPreference = findPreference("privacy_settings"); if (privacySettingPreference != null) { - privacySettingPreference.setTitle(StringUtils.getColoredSpan(getString(R.string.privacy_settings), + privacySettingPreference.setTitle(StringUtils.getColorSpan(getString(R.string.privacy_settings), titleColor)); privacySettingPreference.setOnPreferenceClickListener(preference -> { - + //Compile time error will be shown here while running build from here + //look for nmc/1878-privacy for the PrivacySettingsActivity. + //this is workaround to avoid code conflict of settings and privacy + // TODO: 05/17/23 find a way to have the redirection in privacy branch. + PrivacySettingsActivity.openPrivacySettingsActivity(this, false); return true; }); } @@ -267,7 +365,7 @@ private void setupDataPrivacyCategory(int titleColor) { Preference privacyPolicyPreference = findPreference("privacy_policy"); if (privacyPolicyPreference != null) { - privacyPolicyPreference.setTitle(StringUtils.getColoredSpan(getString(R.string.privacy_policy), + privacyPolicyPreference.setTitle(StringUtils.getColorSpan(getString(R.string.privacy_policy), titleColor)); if (URLUtil.isValidUrl(getString(R.string.privacy_url))) { privacyPolicyPreference.setOnPreferenceClickListener(preference -> { @@ -303,7 +401,7 @@ private void setupDataPrivacyCategory(int titleColor) { // source code Preference sourcecodePreference = findPreference("sourcecode"); if (sourcecodePreference != null) { - sourcecodePreference.setTitle(StringUtils.getColoredSpan(getString(R.string.prefs_open_source), + sourcecodePreference.setTitle(StringUtils.getColorSpan(getString(R.string.prefs_open_source), titleColor)); if (URLUtil.isValidUrl(getString(R.string.sourcecode_url))) { sourcecodePreference.setOnPreferenceClickListener(preference -> { @@ -324,13 +422,13 @@ private void setupDataPrivacyCategory(int titleColor) { private void setUpInfoCategory(int titleColor) { PreferenceCategory preferenceCategoryAbout = (PreferenceCategory) findPreference("info"); - preferenceCategoryAbout.setTitle(StringUtils.getColoredSpan(getString(R.string.prefs_category_info), + preferenceCategoryAbout.setTitle(StringUtils.getColorSpan(getString(R.string.prefs_category_info), titleColor)); } private void setupMoreCategory(int titleColor) { PreferenceCategory preferenceCategoryMore = (PreferenceCategory) findPreference("more"); - preferenceCategoryMore.setTitle(StringUtils.getColoredSpan(getString(R.string.prefs_category_more), + preferenceCategoryMore.setTitle(StringUtils.getColorSpan(getString(R.string.prefs_category_more), titleColor)); setupAutoUploadPreference(preferenceCategoryMore, titleColor); @@ -359,7 +457,7 @@ private void setupLoggingPreference(PreferenceCategory preferenceCategoryMore, i boolean loggerEnabled = getResources().getBoolean(R.bool.logger_enabled) || BuildConfig.DEBUG; Preference pLogger = findPreference("logger"); if (pLogger != null) { - pLogger.setTitle(StringUtils.getColoredSpan(getString(R.string.logs_title), + pLogger.setTitle(StringUtils.getColorSpan(getString(R.string.logs_title), titleColor)); if (loggerEnabled) { pLogger.setOnPreferenceClickListener(preference -> { @@ -513,7 +611,7 @@ private void removeE2E(PreferenceCategory preferenceCategoryMore) { private void setupAutoUploadPreference(PreferenceCategory preferenceCategoryMore, int titleColor) { Preference autoUpload = findPreference("syncedFolders"); - autoUpload.setTitle(StringUtils.getColoredSpan(getString(R.string.drawer_synced_folders), + autoUpload.setTitle(StringUtils.getColorSpan(getString(R.string.drawer_synced_folders), titleColor)); if (getResources().getBoolean(R.bool.syncedFolder_light)) { preferenceCategoryMore.removePreference(autoUpload); @@ -530,12 +628,11 @@ private void setupBackupPreference(int titleColor) { Preference pContactsBackup = findPreference("backup"); if (pContactsBackup != null) { boolean showCalendarBackup = getResources().getBoolean(R.bool.show_calendar_backup); - pContactsBackup.setTitle(showCalendarBackup - ? StringUtils.getColorSpan(getString(R.string.backup_title), titleColor) - : StringUtils.getColorSpan(getString(R.string.contact_backup_title), titleColor)); + //NMC Customization + pContactsBackup.setTitle(StringUtils.getColorSpan(getString(R.string.actionbar_contacts), titleColor)); pContactsBackup.setSummary(showCalendarBackup - ? StringUtils.getColorSpan(getString(R.string.prefs_daily_backup_summary), titleColor) - : StringUtils.getColorSpan(getString(R.string.prefs_daily_contact_backup_summary), titleColor)); + ? getString(R.string.prefs_daily_backup_summary) + : getString(R.string.prefs_daily_contact_backup_summary)); pContactsBackup.setOnPreferenceClickListener(preference -> { ContactsPreferenceActivity.startActivityWithoutSidebar(this); return true; @@ -568,7 +665,7 @@ private void setupCalendarPreference(PreferenceCategory preferenceCategoryMore) private void setupDetailsCategory(int titleColor, PreferenceScreen preferenceScreen) { PreferenceCategory preferenceCategoryDetails = (PreferenceCategory) findPreference("details"); - preferenceCategoryDetails.setTitle(StringUtils.getColoredSpan(getString(R.string.prefs_category_details), + preferenceCategoryDetails.setTitle(StringUtils.getColorSpan(getString(R.string.prefs_category_details), titleColor)); boolean fPassCodeEnabled = getResources().getBoolean(R.bool.passcode_enabled); @@ -592,7 +689,7 @@ private void setupDetailsCategory(int titleColor, PreferenceScreen preferenceScr private void setupShowMediaScanNotifications(PreferenceCategory preferenceCategoryDetails, boolean fShowMediaScanNotifications, int titleColor) { SwitchPreference mShowMediaScanNotifications = (SwitchPreference) findPreference(PREFERENCE_SHOW_MEDIA_SCAN_NOTIFICATIONS); - mShowMediaScanNotifications.setTitle(StringUtils.getColoredSpan(getString(R.string.prefs_storage_path), + mShowMediaScanNotifications.setTitle(StringUtils.getColorSpan(getString(R.string.prefs_storage_path), titleColor)); if (fShowMediaScanNotifications) { preferenceCategoryDetails.removePreference(mShowMediaScanNotifications); @@ -602,7 +699,7 @@ private void setupShowMediaScanNotifications(PreferenceCategory preferenceCatego private void setupHiddenFilesPreference(PreferenceCategory preferenceCategoryDetails, boolean fShowHiddenFilesEnabled, int titleColor) { showHiddenFiles = (ThemeableSwitchPreference) findPreference("show_hidden_files"); - showHiddenFiles.setTitle(StringUtils.getColoredSpan(getString(R.string.prefs_show_hidden_files), + showHiddenFiles.setTitle(StringUtils.getColorSpan(getString(R.string.prefs_show_hidden_files), titleColor)); if (fShowHiddenFilesEnabled) { showHiddenFiles.setOnPreferenceClickListener(preference -> { @@ -618,7 +715,7 @@ private void setupLockPreference(PreferenceCategory preferenceCategoryDetails, boolean passCodeEnabled, boolean deviceCredentialsEnabled, int titleColor) { lock = (ListPreference) findPreference(PREFERENCE_LOCK); - lock.setTitle(StringUtils.getColoredSpan(getString(R.string.prefs_lock), + lock.setTitle(StringUtils.getColorSpan(getString(R.string.prefs_lock), titleColor)); if (lock != null && (passCodeEnabled || deviceCredentialsEnabled)) { ArrayList lockEntries = new ArrayList<>(3); @@ -669,7 +766,7 @@ private void setupLockPreference(PreferenceCategory preferenceCategoryDetails, private void setupAutoUploadCategory(int titleColor, PreferenceScreen preferenceScreen) { PreferenceCategory preferenceCategorySyncedFolders = (PreferenceCategory) findPreference("synced_folders_category"); - preferenceCategorySyncedFolders.setTitle(StringUtils.getColoredSpan(getString(R.string.drawer_synced_folders), + preferenceCategorySyncedFolders.setTitle(StringUtils.getColorSpan(getString(R.string.drawer_synced_folders), titleColor)); if (!getResources().getBoolean(R.bool.syncedFolder_light)) { @@ -679,7 +776,7 @@ private void setupAutoUploadCategory(int titleColor, PreferenceScreen preference final ArbitraryDataProvider arbitraryDataProvider = new ArbitraryDataProviderImpl(this); final SwitchPreference pUploadOnWifiCheckbox = (SwitchPreference) findPreference("synced_folder_on_wifi"); - pUploadOnWifiCheckbox.setTitle(StringUtils.getColoredSpan(getString(R.string.auto_upload_on_wifi), + pUploadOnWifiCheckbox.setTitle(StringUtils.getColorSpan(getString(R.string.auto_upload_on_wifi), titleColor)); pUploadOnWifiCheckbox.setChecked( arbitraryDataProvider.getBooleanValue(user, SYNCED_FOLDER_LIGHT_UPLOAD_ON_WIFI)); @@ -708,7 +805,7 @@ private void setupAutoUploadCategory(int titleColor, PreferenceScreen preference private void setUpServiceCategory(int titleColor) { PreferenceCategory preferenceCategoryService = (PreferenceCategory) findPreference("service"); - preferenceCategoryService.setTitle(StringUtils.getColoredSpan(getString(R.string.prefs_category_service), + preferenceCategoryService.setTitle(StringUtils.getColorSpan(getString(R.string.prefs_category_service), titleColor)); setupHelpPreference(titleColor); setupImprintPreference(titleColor); @@ -717,7 +814,7 @@ private void setUpServiceCategory(int titleColor) { private void setupHelpPreference(int titleColor) { Preference pHelp = findPreference("help"); if (pHelp != null) { - pHelp.setTitle(StringUtils.getColoredSpan(getString(R.string.prefs_help), + pHelp.setTitle(StringUtils.getColorSpan(getString(R.string.prefs_help), titleColor)); pHelp.setOnPreferenceClickListener(preference -> { String helpWeb = getString(R.string.url_help); @@ -733,7 +830,7 @@ private void setupHelpPreference(int titleColor) { private void setupImprintPreference(int titleColor) { Preference pImprint = findPreference("imprint"); if (pImprint != null) { - pImprint.setTitle(StringUtils.getColoredSpan(getString(R.string.prefs_imprint), + pImprint.setTitle(StringUtils.getColorSpan(getString(R.string.prefs_imprint), titleColor)); pImprint.setOnPreferenceClickListener(preference -> { String imprintWeb = getString(R.string.url_imprint); @@ -792,21 +889,21 @@ private void disableLock(String lock) { private void setupAccountInfoCategory(int titleColor) { PreferenceCategory preferenceCategoryAccountInfo = (PreferenceCategory) findPreference("account_info"); - preferenceCategoryAccountInfo.setTitle(StringUtils.getColoredSpan(getString(R.string.prefs_category_account_info), + preferenceCategoryAccountInfo.setTitle(StringUtils.getColorSpan(getString(R.string.prefs_category_account_info), titleColor)); Preference autoUpload = findPreference("user_name"); - autoUpload.setTitle(StringUtils.getColoredSpan(accountManager.getUser().toOwnCloudAccount().getDisplayName(), + autoUpload.setTitle(StringUtils.getColorSpan(accountManager.getUser().toOwnCloudAccount().getDisplayName(), titleColor)); } private void setupGeneralCategory(int titleColor) { PreferenceCategory preferenceCategoryGeneral = (PreferenceCategory) findPreference("general"); - preferenceCategoryGeneral.setTitle(StringUtils.getColoredSpan(getString(R.string.prefs_category_general), + preferenceCategoryGeneral.setTitle(StringUtils.getColorSpan(getString(R.string.prefs_category_general), titleColor)); prefStoragePath = (ListPreference) findPreference(AppPreferencesImpl.STORAGE_PATH); - prefStoragePath.setTitle(StringUtils.getColoredSpan(getString(R.string.prefs_storage_path), + prefStoragePath.setTitle(StringUtils.getColorSpan(getString(R.string.prefs_storage_path), titleColor)); if (prefStoragePath != null) { StoragePoint[] storageOptions = DataStorageProvider.getInstance().getAvailableStoragePoints(); diff --git a/app/src/main/java/com/owncloud/android/utils/StringUtils.java b/app/src/main/java/com/owncloud/android/utils/StringUtils.java index 93a5df9840eb..cab320ee9901 100644 --- a/app/src/main/java/com/owncloud/android/utils/StringUtils.java +++ b/app/src/main/java/com/owncloud/android/utils/StringUtils.java @@ -73,6 +73,15 @@ String searchAndColor(@Nullable String text, @Nullable String searchText, } } + public static Spannable getColorSpan(@NonNull String title, @ColorInt int color) { + Spannable text = new SpannableString(title); + text.setSpan(new ForegroundColorSpan(color), + 0, + text.length(), + Spannable.SPAN_INCLUSIVE_INCLUSIVE); + return text; + } + public static @NonNull String removePrefix(@NonNull String s, @NonNull String prefix) { @@ -81,15 +90,4 @@ String removePrefix(@NonNull String s, @NonNull String prefix) { } return s; } - - public static Spannable getColoredSpan(String title, int color) { - Spannable text = new SpannableString(title); - text.setSpan( - new ForegroundColorSpan(color), - 0, - text.length(), - Spannable.SPAN_INCLUSIVE_INCLUSIVE - ); - return text; - } } diff --git a/app/src/main/res/values-de/strings.xml b/app/src/main/res/values-de/strings.xml index ef57b767e59e..64aa9760a932 100644 --- a/app/src/main/res/values-de/strings.xml +++ b/app/src/main/res/values-de/strings.xml @@ -856,6 +856,14 @@ Diese Datei kann nicht hochgeladen werden Keine Datei zum Hochladen Ordnername + Kontoinformationen + Datenschutz + Datenschutz + Datenschutzbestimmungen + Verwendete OpenSource Software + Info + Bedienung + Die Ende-zu-Ende Verschlüsselung wurde bereits auf einem anderen Gerät eingerichtet. Bitte geben Sie Ihre Passphrase ein, damit die Dateien synchronisiert und entschlüsselt werden. Hochladeordner auswählen Konnte %1$s nicht hochladen Hochladen fehlgeschlagen, bitte erneut anmelden @@ -921,14 +929,6 @@ E-Mail senden Speicherordner existiert nicht! Ursache könnte die Wiederherstellung einer Sicherungskopie auf einem anderen Gerät sein. Der Standard-Ordner wird jetzt wieder verwendet. Bitte überprüfen Sie die Einstellungen bezüglich des Speicherortes. - Kontoinformationen - Datenschutz - Datenschutz - Datenschutzbestimmungen - Verwendete OpenSource Software - Info - Bedienung - Die Ende-zu-Ende Verschlüsselung wurde bereits auf einem anderen Gerät eingerichtet. Bitte geben Sie Ihre Passphrase ein, damit die Dateien synchronisiert und entschlüsselt werden. Inhalte von %1$d Datei konnten nicht synchronisiert werden (Konflikte: %2$d) Inhalte von %1$d Dateien konnten nicht synchronisiert werden (Konflikte: %2$d) diff --git a/app/src/main/res/values-night/colors.xml b/app/src/main/res/values-night/colors.xml index ac510a277d71..88a29668c4cd 100644 --- a/app/src/main/res/values-night/colors.xml +++ b/app/src/main/res/values-night/colors.xml @@ -31,16 +31,9 @@ #121212 #000000 #818181 - @color/grey_70 #222222 #ffffff - - @color/grey_70 - @color/grey_60 - @color/grey_70 - @color/grey_60 - @color/appbar #373535 @@ -55,4 +48,70 @@ #1E1E1E @android:color/white + + + #FFFFFF + @color/grey_30 + @color/grey_30 + #CCCCCC + @color/grey_70 + @color/grey_80 + #2D2D2D + @color/grey_70 + @color/grey_70 + + + @color/grey_80 + @color/grey_0 + + + @color/grey_80 + @color/grey_0 + + + @color/grey_60 + @color/grey_0 + @color/grey_0 + @color/grey_30 + #FFFFFF + @color/grey_30 + @color/grey_80 + #FFFFFF + + + @color/grey_80 + @color/grey_30 + @color/grey_0 + + + @color/grey_80 + @color/grey_0 + @color/grey_80 + + + @color/grey_70 + @color/grey_60 + @color/grey_70 + @color/grey_60 + + + @color/grey_70 + @color/grey_70 + + + #FFFFFF + @color/grey_30 + @color/grey_0 + @color/grey_0 + @color/grey_0 + @color/grey_0 + @color/grey_60 + @color/grey_0 + #FFFFFF + + + #121212 + @color/grey_0 + @color/grey_80 + @color/grey_80 diff --git a/app/src/main/res/values/colors.xml b/app/src/main/res/values/colors.xml index 132a1e8c815c..1ddf1a93ca08 100644 --- a/app/src/main/res/values/colors.xml +++ b/app/src/main/res/values/colors.xml @@ -32,7 +32,6 @@ #EEEEEE #00000000 #666666 - @color/grey_30 #e53935 @@ -40,11 +39,6 @@ #222222 #EEEEEE #BDBDBD - #666666 - #F2F2F2 - #B2B2B2 - #4C4C4C - #101010 #666666 @@ -83,6 +77,62 @@ #616161 #80000000 + + @android:color/white + #666666 + #A5A5A5 + + + #191919 + @color/primary + #191919 + #191919 + @color/grey_30 + @android:color/white + #FFFFFF + @color/grey_0 + #CCCCCC + #77c4ff + #B3FFFFFF + @color/grey_10 + + + #101010 + #F2F2F2 + #E5E5E5 + #B2B2B2 + #666666 + #4C4C4C + #333333 + + + @color/design_snackbar_background_color + @color/white + + + #FFFFFF + #191919 + + + @color/grey_0 + #191919 + @color/primary + #191919 + @color/primary + @color/grey_30 + @color/white + #191919 + + + #FFFFFF + #191919 + #191919 + + + #FFFFFF + #191919 + #FFFFFF + @color/primary #F399C7 @@ -93,8 +143,33 @@ @color/grey_0 @color/grey_0 - - @android:color/white - #666666 - #A5A5A5 + + @color/primary + @color/grey_30 + @color/grey_30 + #CCCCCC + + + #191919 + @color/grey_30 + #191919 + #191919 + #191919 + #191919 + @color/grey_30 + #191919 + #000000 + #191919 + #F6E5EB + #C16F81 + #0D39DF + #0099ff + + + @color/grey_0 + #191919 + @color/grey_0 + @color/grey_30 + #77b6bb + #5077b6bb diff --git a/app/src/main/res/values/dimens.xml b/app/src/main/res/values/dimens.xml index d976f96e19d6..7c23544141a7 100644 --- a/app/src/main/res/values/dimens.xml +++ b/app/src/main/res/values/dimens.xml @@ -31,4 +31,4 @@ 145dp 1dp 13sp - + \ No newline at end of file diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 74a8ef1358f5..8ea7f30bad3f 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -995,12 +995,6 @@ Delete Link Settings Confirm - Info - Data Privacy - Privacy Settings - Privacy Policy - Used OpenSource Software - Service Strict mode: no HTTP connection allowed! Destination filename Suggest @@ -1080,6 +1074,12 @@ Add new secure file drop Scan page Done + Info + Data Privacy + Privacy Settings + Privacy Policy + Used OpenSource Software + Service Generating PDF… Error starting document scan PDF generation failed