From 6e3bad204bf6f68d96f70ffb76729f0a08c32627 Mon Sep 17 00:00:00 2001 From: xC3FFF0E <78732474+xC3FFF0E@users.noreply.github.com> Date: Tue, 13 Sep 2022 19:38:18 +0800 Subject: Update MainActivity.java --- .../java/com/xc3fff0e/xmanager/MainActivity.java | 462 ++++++++++++++++++++- 1 file changed, 461 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/com/xc3fff0e/xmanager/MainActivity.java b/app/src/main/java/com/xc3fff0e/xmanager/MainActivity.java index aa0a1c7..384a307 100644 --- a/app/src/main/java/com/xc3fff0e/xmanager/MainActivity.java +++ b/app/src/main/java/com/xc3fff0e/xmanager/MainActivity.java @@ -139,7 +139,7 @@ public class MainActivity extends AppCompatActivity { private double CLICKER_1 = 0; private double CLICKER_2 = 0; private double CLICKER_3 = 0; - private AlertDialog AlertDialog; + AlertDialog AlertDialog; private String fixer_0 = ""; private ArrayList Language = new ArrayList<>(); @@ -358,6 +358,10 @@ public class MainActivity extends AppCompatActivity { private TextView translator_25; private TextView manager_lang_26; private TextView translator_26; + private TextView manager_lang_27; + private TextView translator_27; + private TextView manager_lang_28; + private TextView translator_28; private ScrollView main_scroll_body; private LinearLayout main_body; private LinearLayout main_box_1; @@ -692,6 +696,10 @@ public class MainActivity extends AppCompatActivity { translator_25 = findViewById(R.id.translator_25); manager_lang_26 = findViewById(R.id.manager_lang_26); translator_26 = findViewById(R.id.translator_26); + manager_lang_27 = findViewById(R.id.manager_lang_27); + translator_27 = findViewById(R.id.translator_27); + manager_lang_28 = findViewById(R.id.manager_lang_28); + translator_28 = findViewById(R.id.translator_28); main_scroll_body = findViewById(R.id.main_scroll_body); main_body = findViewById(R.id.main_body); main_box_1 = findViewById(R.id.main_box_1); @@ -4094,6 +4102,228 @@ public class MainActivity extends AppCompatActivity { COUNTER = 1; } + if (_position == 26) { + LANGUAGE.edit().putString("LANGUAGE", "26").commit(); + title_1.setText(R.string.spotify_regular_26); + title_2.setText(R.string.spotify_amoled_26); + sub_text_installed.setText(R.string.installed_26); + sub_text_1.setText(R.string.latest_26); + sub_text_3.setText(R.string.latest_26); + version_switch_1.setText(R.string.versions_26); + version_switch_2.setText(R.string.versions_26); + changelogs.setText(R.string.changelogs_26); + title_sub.setText(R.string.manager_tools_26); + device_cpu.setText(R.string.device_cpu_26); + source.setText(R.string.source_26); + support.setText(R.string.support_26); + donate.setText(R.string.donate_26); + about.setText(R.string.about_26); + list_auto_refresh.setText(R.string.list_auto_refresh_26); + list_auto_refresh_info.setText(R.string.list_auto_refresh_desc_26); + force_auto_install.setText(R.string.force_auto_install_26); + force_auto_install_info.setText(R.string.force_auto_install_desc_26); + theme.setText(R.string.show_themes_26); + apk_location.setText(R.string.apk_location_26); + apk_location_info.setText(R.string.apk_location_desc_26); + clear_directory_folders.setText(R.string.clear_directory_folders_26); + clear_directory_folders_info.setText(R.string.clear_directory_folders_desc_26); + reset_settings.setText(R.string.reset_settings_26); + sub_title.setText(R.string.about_sub_26); + developer_manager.setText(R.string.xmanager_dev_26); + developer_spotify.setText(R.string.spotify_mod_devs_26); + support_team.setText(R.string.telegram_support_team_26); + mod_testers_1.setText(R.string.manager_testers_26); + mod_testers_2.setText(R.string.manager_hosting_26); + mobilism_team.setText(R.string.mobilism_team_26); + forum_team.setText(R.string.forum_team_26); + manager_team.setText(R.string.xspotify_team_26); + contributors_1.setText(R.string.contributors_26); + download_selected.setText(R.string.download_selected_26); + download_ready.setText(R.string.download_ready_26); + download_ready_desc.setText(R.string.download_ready_desc_26); + downloading_file.setText(R.string.downloading_file_26); + download_success.setText(R.string.download_success_26); + new_update.setText(R.string.new_update_26); + download_selected_0 = download_selected.getText().toString(); + download_ready_0 = download_ready.getText().toString(); + download_ready_desc_0 = download_ready_desc.getText().toString(); + downloading_file_0 = downloading_file.getText().toString(); + download_success_0 = download_success.getText().toString(); + copy_url.setText(R.string.copy_url_26); + continue_1.setText(R.string.continue_1_26); + cancel.setText(R.string.cancel_26); + fixer.setText(R.string.fixer_26); + download.setText(R.string.download_26); + later.setText(R.string.later_26); + install_now.setText(R.string.install_now_26); + install_update.setText(R.string.install_update_26); + go_back.setText(R.string.go_back_26); + download_update.setText(R.string.download_update_26); + not_now.setText(R.string.not_now_26); + show_support.setText(R.string.show_support_26); + show_support_desc.setText(R.string.show_support_desc_26); + copy_url_0 = copy_url.getText().toString(); + download_0 = download.getText().toString(); + continue_0 = continue_1.getText().toString(); + cancel_0 = cancel.getText().toString(); + fixer_0 = fixer.getText().toString(); + later_0 = later.getText().toString(); + install_now_0 = install_now.getText().toString(); + go_back_0 = go_back.getText().toString(); + install_update_0 = install_update.getText().toString(); + main_title.setText(R.string.main_title_26); + settings_title.setText(R.string.settings_title_26); + about_title.setText(R.string.about_title_26); + maintenance.setText(R.string.maintenance_26); + maintenance_desc.setText(R.string.maintenance_desc_26); + thanks.setText(R.string.thanks_26); + language.setText(R.string.language_26); + website.setText(R.string.website_26); + discord.setText(R.string.discord_26); + reddit.setText(R.string.reddit_26); + faq.setText(R.string.faq_26); + cloned_version.setText(R.string.cloned_version_26); + cloned_version_info.setText(R.string.cloned_version_desc_26); + disable_reward_ad.setText(R.string.disable_rewarded_ads_26); + disable_reward_ad_info.setText(R.string.disable_rewarded_ads_desc_26); + installation_failed.setText(R.string.installation_failed_26); + installation_failed_desc.setText(R.string.installation_failed_desc_26); + installation_failed_ream_desc.setText(R.string.installation_failed_ream_desc_26); + installation_failed_cloned_desc.setText(R.string.installation_failed_cloned_desc_26); + existing_patched.setText(R.string.existing_patched_26); + existing_patched_desc.setText(R.string.existing_patched_desc_26); + close.setText(R.string.close_26); + cloned.setText(R.string.cloned_26); + ream.setText(R.string.ream_26); + install.setText(R.string.install_26); + uninstall.setText(R.string.uninstall_26); + ignore.setText(R.string.ignore_26); + delete.setText(R.string.delete_26); + uninstall_patched.setText(R.string.uninstall_patched_26); + open_settings.setText(R.string.open_settings_26); + open_patched.setText(R.string.open_patched_26); + installation_failed_0 = installation_failed.getText().toString(); + installation_failed_desc_0 = installation_failed_desc.getText().toString(); + installation_failed_ream_desc_0 = installation_failed_ream_desc.getText().toString(); + installation_failed_cloned_desc_0 = installation_failed_cloned_desc.getText().toString(); + existing_patched_0 = existing_patched.getText().toString(); + existing_patched_desc_0 = existing_patched_desc.getText().toString(); + close_0 = close.getText().toString(); + uninstall_0 = uninstall.getText().toString(); + + COUNTER = 1; + } + if (_position == 27) { + LANGUAGE.edit().putString("LANGUAGE", "27").commit(); + title_1.setText(R.string.spotify_regular_27); + title_2.setText(R.string.spotify_amoled_27); + sub_text_installed.setText(R.string.installed_27); + sub_text_1.setText(R.string.latest_27); + sub_text_3.setText(R.string.latest_27); + version_switch_1.setText(R.string.versions_27); + version_switch_2.setText(R.string.versions_27); + changelogs.setText(R.string.changelogs_27); + title_sub.setText(R.string.manager_tools_27); + device_cpu.setText(R.string.device_cpu_27); + source.setText(R.string.source_27); + support.setText(R.string.support_27); + donate.setText(R.string.donate_27); + about.setText(R.string.about_27); + list_auto_refresh.setText(R.string.list_auto_refresh_27); + list_auto_refresh_info.setText(R.string.list_auto_refresh_desc_27); + force_auto_install.setText(R.string.force_auto_install_27); + force_auto_install_info.setText(R.string.force_auto_install_desc_27); + theme.setText(R.string.show_themes_27); + apk_location.setText(R.string.apk_location_27); + apk_location_info.setText(R.string.apk_location_desc_27); + clear_directory_folders.setText(R.string.clear_directory_folders_27); + clear_directory_folders_info.setText(R.string.clear_directory_folders_desc_27); + reset_settings.setText(R.string.reset_settings_27); + sub_title.setText(R.string.about_sub_27); + developer_manager.setText(R.string.xmanager_dev_27); + developer_spotify.setText(R.string.spotify_mod_devs_27); + support_team.setText(R.string.telegram_support_team_27); + mod_testers_1.setText(R.string.manager_testers_27); + mod_testers_2.setText(R.string.manager_hosting_27); + mobilism_team.setText(R.string.mobilism_team_27); + forum_team.setText(R.string.forum_team_27); + manager_team.setText(R.string.xspotify_team_27); + contributors_1.setText(R.string.contributors_27); + download_selected.setText(R.string.download_selected_27); + download_ready.setText(R.string.download_ready_27); + download_ready_desc.setText(R.string.download_ready_desc_27); + downloading_file.setText(R.string.downloading_file_27); + download_success.setText(R.string.download_success_27); + new_update.setText(R.string.new_update_27); + download_selected_0 = download_selected.getText().toString(); + download_ready_0 = download_ready.getText().toString(); + download_ready_desc_0 = download_ready_desc.getText().toString(); + downloading_file_0 = downloading_file.getText().toString(); + download_success_0 = download_success.getText().toString(); + copy_url.setText(R.string.copy_url_27); + continue_1.setText(R.string.continue_1_27); + cancel.setText(R.string.cancel_27); + fixer.setText(R.string.fixer_27); + download.setText(R.string.download_27); + later.setText(R.string.later_27); + install_now.setText(R.string.install_now_27); + install_update.setText(R.string.install_update_27); + go_back.setText(R.string.go_back_27); + download_update.setText(R.string.download_update_27); + not_now.setText(R.string.not_now_27); + show_support.setText(R.string.show_support_27); + show_support_desc.setText(R.string.show_support_desc_27); + copy_url_0 = copy_url.getText().toString(); + download_0 = download.getText().toString(); + continue_0 = continue_1.getText().toString(); + cancel_0 = cancel.getText().toString(); + fixer_0 = fixer.getText().toString(); + later_0 = later.getText().toString(); + install_now_0 = install_now.getText().toString(); + go_back_0 = go_back.getText().toString(); + install_update_0 = install_update.getText().toString(); + main_title.setText(R.string.main_title_27); + settings_title.setText(R.string.settings_title_27); + about_title.setText(R.string.about_title_27); + maintenance.setText(R.string.maintenance_27); + maintenance_desc.setText(R.string.maintenance_desc_27); + thanks.setText(R.string.thanks_27); + language.setText(R.string.language_27); + website.setText(R.string.website_27); + discord.setText(R.string.discord_27); + reddit.setText(R.string.reddit_27); + faq.setText(R.string.faq_27); + cloned_version.setText(R.string.cloned_version_27); + cloned_version_info.setText(R.string.cloned_version_desc_27); + disable_reward_ad.setText(R.string.disable_rewarded_ads_27); + disable_reward_ad_info.setText(R.string.disable_rewarded_ads_desc_27); + installation_failed.setText(R.string.installation_failed_27); + installation_failed_desc.setText(R.string.installation_failed_desc_27); + installation_failed_ream_desc.setText(R.string.installation_failed_ream_desc_27); + installation_failed_cloned_desc.setText(R.string.installation_failed_cloned_desc_27); + existing_patched.setText(R.string.existing_patched_27); + existing_patched_desc.setText(R.string.existing_patched_desc_27); + close.setText(R.string.close_27); + cloned.setText(R.string.cloned_27); + ream.setText(R.string.ream_27); + install.setText(R.string.install_27); + uninstall.setText(R.string.uninstall_27); + ignore.setText(R.string.ignore_27); + delete.setText(R.string.delete_27); + uninstall_patched.setText(R.string.uninstall_patched_27); + open_settings.setText(R.string.open_settings_27); + open_patched.setText(R.string.open_patched_27); + installation_failed_0 = installation_failed.getText().toString(); + installation_failed_desc_0 = installation_failed_desc.getText().toString(); + installation_failed_ream_desc_0 = installation_failed_ream_desc.getText().toString(); + installation_failed_cloned_desc_0 = installation_failed_cloned_desc.getText().toString(); + existing_patched_0 = existing_patched.getText().toString(); + existing_patched_desc_0 = existing_patched_desc.getText().toString(); + close_0 = close.getText().toString(); + uninstall_0 = uninstall.getText().toString(); + + COUNTER = 1; + } } @Override @@ -10739,6 +10969,230 @@ public class MainActivity extends AppCompatActivity { select_language.setSelection((int)(25)); } + else { + if (LANGUAGE.getString("LANGUAGE", "").equals("26")) { + title_1.setText(R.string.spotify_regular_26); + title_2.setText(R.string.spotify_amoled_26); + sub_text_installed.setText(R.string.installed_26); + sub_text_1.setText(R.string.latest_26); + sub_text_3.setText(R.string.latest_26); + version_switch_1.setText(R.string.versions_26); + version_switch_2.setText(R.string.versions_26); + changelogs.setText(R.string.changelogs_26); + title_sub.setText(R.string.manager_tools_26); + device_cpu.setText(R.string.device_cpu_26); + source.setText(R.string.source_26); + support.setText(R.string.support_26); + donate.setText(R.string.donate_26); + about.setText(R.string.about_26); + list_auto_refresh.setText(R.string.list_auto_refresh_26); + list_auto_refresh_info.setText(R.string.list_auto_refresh_desc_26); + force_auto_install.setText(R.string.force_auto_install_26); + force_auto_install_info.setText(R.string.force_auto_install_desc_26); + theme.setText(R.string.show_themes_26); + apk_location.setText(R.string.apk_location_26); + apk_location_info.setText(R.string.apk_location_desc_26); + clear_directory_folders.setText(R.string.clear_directory_folders_26); + clear_directory_folders_info.setText(R.string.clear_directory_folders_desc_26); + reset_settings.setText(R.string.reset_settings_26); + sub_title.setText(R.string.about_sub_26); + developer_manager.setText(R.string.xmanager_dev_26); + developer_spotify.setText(R.string.spotify_mod_devs_26); + support_team.setText(R.string.telegram_support_team_26); + mod_testers_1.setText(R.string.manager_testers_26); + mod_testers_2.setText(R.string.manager_hosting_26); + mobilism_team.setText(R.string.mobilism_team_26); + forum_team.setText(R.string.forum_team_26); + manager_team.setText(R.string.xspotify_team_26); + contributors_1.setText(R.string.contributors_26); + download_selected.setText(R.string.download_selected_26); + download_ready.setText(R.string.download_ready_26); + download_ready_desc.setText(R.string.download_ready_desc_26); + downloading_file.setText(R.string.downloading_file_26); + download_success.setText(R.string.download_success_26); + new_update.setText(R.string.new_update_26); + download_selected_0 = download_selected.getText().toString(); + download_ready_0 = download_ready.getText().toString(); + download_ready_desc_0 = download_ready_desc.getText().toString(); + downloading_file_0 = downloading_file.getText().toString(); + download_success_0 = download_success.getText().toString(); + copy_url.setText(R.string.copy_url_26); + continue_1.setText(R.string.continue_1_26); + cancel.setText(R.string.cancel_26); + fixer.setText(R.string.fixer_26); + download.setText(R.string.download_26); + later.setText(R.string.later_26); + install_now.setText(R.string.install_now_26); + install_update.setText(R.string.install_update_26); + go_back.setText(R.string.go_back_26); + download_update.setText(R.string.download_update_26); + not_now.setText(R.string.not_now_26); + show_support.setText(R.string.show_support_26); + show_support_desc.setText(R.string.show_support_desc_26); + copy_url_0 = copy_url.getText().toString(); + download_0 = download.getText().toString(); + continue_0 = continue_1.getText().toString(); + cancel_0 = cancel.getText().toString(); + fixer_0 = fixer.getText().toString(); + later_0 = later.getText().toString(); + install_now_0 = install_now.getText().toString(); + go_back_0 = go_back.getText().toString(); + install_update_0 = install_update.getText().toString(); + main_title.setText(R.string.main_title_26); + settings_title.setText(R.string.settings_title_26); + about_title.setText(R.string.about_title_26); + maintenance.setText(R.string.maintenance_26); + maintenance_desc.setText(R.string.maintenance_desc_26); + thanks.setText(R.string.thanks_26); + language.setText(R.string.language_26); + website.setText(R.string.website_26); + discord.setText(R.string.discord_26); + reddit.setText(R.string.reddit_26); + faq.setText(R.string.faq_26); + cloned_version.setText(R.string.cloned_version_26); + cloned_version_info.setText(R.string.cloned_version_desc_26); + disable_reward_ad.setText(R.string.disable_rewarded_ads_26); + disable_reward_ad_info.setText(R.string.disable_rewarded_ads_desc_26); + installation_failed.setText(R.string.installation_failed_26); + installation_failed_desc.setText(R.string.installation_failed_desc_26); + installation_failed_ream_desc.setText(R.string.installation_failed_ream_desc_26); + installation_failed_cloned_desc.setText(R.string.installation_failed_cloned_desc_26); + existing_patched.setText(R.string.existing_patched_26); + existing_patched_desc.setText(R.string.existing_patched_desc_26); + close.setText(R.string.close_26); + cloned.setText(R.string.cloned_26); + ream.setText(R.string.ream_26); + install.setText(R.string.install_26); + uninstall.setText(R.string.uninstall_26); + ignore.setText(R.string.ignore_26); + delete.setText(R.string.delete_26); + uninstall_patched.setText(R.string.uninstall_patched_26); + open_settings.setText(R.string.open_settings_26); + open_patched.setText(R.string.open_patched_26); + installation_failed_0 = installation_failed.getText().toString(); + installation_failed_desc_0 = installation_failed_desc.getText().toString(); + installation_failed_ream_desc_0 = installation_failed_ream_desc.getText().toString(); + installation_failed_cloned_desc_0 = installation_failed_cloned_desc.getText().toString(); + existing_patched_0 = existing_patched.getText().toString(); + existing_patched_desc_0 = existing_patched_desc.getText().toString(); + close_0 = close.getText().toString(); + uninstall_0 = uninstall.getText().toString(); + + select_language.setSelection((int)(26)); + } + else { + if (LANGUAGE.getString("LANGUAGE", "").equals("27")) { + title_1.setText(R.string.spotify_regular_27); + title_2.setText(R.string.spotify_amoled_27); + sub_text_installed.setText(R.string.installed_27); + sub_text_1.setText(R.string.latest_27); + sub_text_3.setText(R.string.latest_27); + version_switch_1.setText(R.string.versions_27); + version_switch_2.setText(R.string.versions_27); + changelogs.setText(R.string.changelogs_27); + title_sub.setText(R.string.manager_tools_27); + device_cpu.setText(R.string.device_cpu_27); + source.setText(R.string.source_27); + support.setText(R.string.support_27); + donate.setText(R.string.donate_27); + about.setText(R.string.about_27); + list_auto_refresh.setText(R.string.list_auto_refresh_27); + list_auto_refresh_info.setText(R.string.list_auto_refresh_desc_27); + force_auto_install.setText(R.string.force_auto_install_27); + force_auto_install_info.setText(R.string.force_auto_install_desc_27); + theme.setText(R.string.show_themes_27); + apk_location.setText(R.string.apk_location_27); + apk_location_info.setText(R.string.apk_location_desc_27); + clear_directory_folders.setText(R.string.clear_directory_folders_27); + clear_directory_folders_info.setText(R.string.clear_directory_folders_desc_27); + reset_settings.setText(R.string.reset_settings_27); + sub_title.setText(R.string.about_sub_27); + developer_manager.setText(R.string.xmanager_dev_27); + developer_spotify.setText(R.string.spotify_mod_devs_27); + support_team.setText(R.string.telegram_support_team_27); + mod_testers_1.setText(R.string.manager_testers_27); + mod_testers_2.setText(R.string.manager_hosting_27); + mobilism_team.setText(R.string.mobilism_team_27); + forum_team.setText(R.string.forum_team_27); + manager_team.setText(R.string.xspotify_team_27); + contributors_1.setText(R.string.contributors_27); + download_selected.setText(R.string.download_selected_27); + download_ready.setText(R.string.download_ready_27); + download_ready_desc.setText(R.string.download_ready_desc_27); + downloading_file.setText(R.string.downloading_file_27); + download_success.setText(R.string.download_success_27); + new_update.setText(R.string.new_update_27); + download_selected_0 = download_selected.getText().toString(); + download_ready_0 = download_ready.getText().toString(); + download_ready_desc_0 = download_ready_desc.getText().toString(); + downloading_file_0 = downloading_file.getText().toString(); + download_success_0 = download_success.getText().toString(); + copy_url.setText(R.string.copy_url_27); + continue_1.setText(R.string.continue_1_27); + cancel.setText(R.string.cancel_27); + fixer.setText(R.string.fixer_27); + download.setText(R.string.download_27); + later.setText(R.string.later_27); + install_now.setText(R.string.install_now_27); + install_update.setText(R.string.install_update_27); + go_back.setText(R.string.go_back_27); + download_update.setText(R.string.download_update_27); + not_now.setText(R.string.not_now_27); + show_support.setText(R.string.show_support_27); + show_support_desc.setText(R.string.show_support_desc_27); + copy_url_0 = copy_url.getText().toString(); + download_0 = download.getText().toString(); + continue_0 = continue_1.getText().toString(); + cancel_0 = cancel.getText().toString(); + fixer_0 = fixer.getText().toString(); + later_0 = later.getText().toString(); + install_now_0 = install_now.getText().toString(); + go_back_0 = go_back.getText().toString(); + install_update_0 = install_update.getText().toString(); + main_title.setText(R.string.main_title_27); + settings_title.setText(R.string.settings_title_27); + about_title.setText(R.string.about_title_27); + maintenance.setText(R.string.maintenance_27); + maintenance_desc.setText(R.string.maintenance_desc_27); + thanks.setText(R.string.thanks_27); + language.setText(R.string.language_27); + website.setText(R.string.website_27); + discord.setText(R.string.discord_27); + reddit.setText(R.string.reddit_27); + faq.setText(R.string.faq_27); + cloned_version.setText(R.string.cloned_version_27); + cloned_version_info.setText(R.string.cloned_version_desc_27); + disable_reward_ad.setText(R.string.disable_rewarded_ads_27); + disable_reward_ad_info.setText(R.string.disable_rewarded_ads_desc_27); + installation_failed.setText(R.string.installation_failed_27); + installation_failed_desc.setText(R.string.installation_failed_desc_27); + installation_failed_ream_desc.setText(R.string.installation_failed_ream_desc_27); + installation_failed_cloned_desc.setText(R.string.installation_failed_cloned_desc_27); + existing_patched.setText(R.string.existing_patched_27); + existing_patched_desc.setText(R.string.existing_patched_desc_27); + close.setText(R.string.close_27); + cloned.setText(R.string.cloned_27); + ream.setText(R.string.ream_27); + install.setText(R.string.install_27); + uninstall.setText(R.string.uninstall_27); + ignore.setText(R.string.ignore_27); + delete.setText(R.string.delete_27); + uninstall_patched.setText(R.string.uninstall_patched_27); + open_settings.setText(R.string.open_settings_27); + open_patched.setText(R.string.open_patched_27); + installation_failed_0 = installation_failed.getText().toString(); + installation_failed_desc_0 = installation_failed_desc.getText().toString(); + installation_failed_ream_desc_0 = installation_failed_ream_desc.getText().toString(); + installation_failed_cloned_desc_0 = installation_failed_cloned_desc.getText().toString(); + existing_patched_0 = existing_patched.getText().toString(); + existing_patched_desc_0 = existing_patched_desc.getText().toString(); + close_0 = close.getText().toString(); + uninstall_0 = uninstall.getText().toString(); + + select_language.setSelection((int)(27)); + } + } + } } } } @@ -10794,6 +11248,8 @@ public class MainActivity extends AppCompatActivity { Language.add("Slovak"); Language.add("Swedish"); Language.add("Finnish"); + Language.add("Czech"); + Language.add("Chinese (Traditional)"); select_language.setAdapter(new ArrayAdapter(getBaseContext(), android.R.layout.simple_spinner_dropdown_item, Language)); ((ArrayAdapter)select_language.getAdapter()).notifyDataSetChanged(); select_language.setAdapter(new ArrayAdapter(this, android.R.layout.simple_list_item_1, android.R.id.text1, Language) { @@ -13051,6 +13507,8 @@ public class MainActivity extends AppCompatActivity { manager_lang_24.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1); manager_lang_25.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1); manager_lang_26.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1); + manager_lang_27.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1); + manager_lang_28.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1); translator_1.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1); translator_2.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1); translator_3.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1); @@ -13077,6 +13535,8 @@ public class MainActivity extends AppCompatActivity { translator_24.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1); translator_25.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1); translator_26.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1); + translator_27.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1); + translator_28.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1); } -- cgit v1.2.3