From c634995e4106a5158686d40f9ee334ba22111fba Mon Sep 17 00:00:00 2001 From: JG-Cody Date: Sat, 24 Feb 2024 19:59:28 +0100 Subject: [PATCH] zusammenkopiert aus Teraplex und CodeGuard --- .idea/deploymentTargetDropDown.xml | 4 +- .idea/gradle.xml | 1 + .idea/misc.xml | 1 - app/build.gradle | 1 + app/src/main/AndroidManifest.xml | 1 + .../onetap_ssh/AddButtonDialogSingle.java | 103 +++++ .../onetap_ssh/AddButtonsDialogDouble.java | 96 +++++ .../example/onetap_ssh/AddHeadlineDialog.java | 92 ++++ .../com/example/onetap_ssh/IntroActivity.java | 26 ++ .../com/example/onetap_ssh/MainActivity.java | 184 +++++++- .../example/onetap_ssh/SSH_connection.java | 58 +++ .../onetap_ssh/ui/home/HomeFragment.java | 365 +++++++++++++++- .../onetap_ssh/ui/tabs/CommandExecutor.java | 37 ++ .../onetap_ssh/ui/tabs/IViewHolder.java | 9 + .../onetap_ssh/ui/tabs/ListAdapter.java | 396 ++++++++++++++++++ .../example/onetap_ssh/ui/tabs/ListItem.java | 58 +++ .../onetap_ssh/ui/tabs/ListItemDouble.java | 60 +++ .../onetap_ssh/ui/tabs/ListItemHeadline.java | 24 ++ .../onetap_ssh/ui/tabs/ListItemSingle.java | 33 ++ .../onetap_ssh/ui/tabs/ListItemSpace.java | 16 + .../onetap_ssh/ui/tabs/TabsFragment.java | 272 ++++++++++++ .../ui/tabs/ViewHolderDoubleButton.java | 25 ++ .../ui/tabs/ViewHolderSingleButton.java | 25 ++ .../onetap_ssh/ui/terminal/Terminal.java | 120 ++++++ .../ui/terminal/TerminalFragment.java | 168 ++++++++ .../onetap_ssh/util/NavigationUtil.java | 6 +- .../example/onetap_ssh/util/ThemeUtil.java | 2 +- app/src/main/res/anim/dialog_in.xml | 29 ++ app/src/main/res/anim/dialog_out.xml | 29 ++ app/src/main/res/drawable/background_full.xml | 16 + .../main/res/drawable/backgroundoverlay.xml | 13 + app/src/main/res/drawable/button_left.xml | 39 ++ app/src/main/res/drawable/button_middle.xml | 39 ++ app/src/main/res/drawable/button_right.xml | 39 ++ .../main/res/drawable/clear_black_24dp.xml | 9 + app/src/main/res/layout/activity_intro.xml | 3 +- app/src/main/res/layout/activity_main.xml | 2 +- .../res/layout/addbuttondialog_single.xml | 31 ++ .../res/layout/addbuttonsdialog_double.xml | 47 +++ app/src/main/res/layout/addheadlinedialog.xml | 16 + app/src/main/res/layout/addtabdialog.xml | 16 + app/src/main/res/layout/content_main.xml | 2 +- app/src/main/res/layout/doublebutton.xml | 66 +++ app/src/main/res/layout/exportdialog.xml | 16 + app/src/main/res/layout/fragment_tabs.xml | 31 ++ app/src/main/res/layout/fragment_terminal.xml | 81 ++++ app/src/main/res/layout/headline.xml | 48 +++ app/src/main/res/layout/singlebutton.xml | 59 +++ app/src/main/res/layout/space.xml | 40 ++ .../main/res/menu/activity_main_drawer.xml | 1 + .../main/res/navigation/mobile_navigation.xml | 11 + app/src/main/res/raw/intro_vp9.webm | Bin 956693 -> 953715 bytes app/src/main/res/values-night/themes.xml | 4 + app/src/main/res/values/themes.xml | 4 + 54 files changed, 2844 insertions(+), 30 deletions(-) create mode 100644 app/src/main/java/com/example/onetap_ssh/AddButtonDialogSingle.java create mode 100644 app/src/main/java/com/example/onetap_ssh/AddButtonsDialogDouble.java create mode 100644 app/src/main/java/com/example/onetap_ssh/AddHeadlineDialog.java create mode 100644 app/src/main/java/com/example/onetap_ssh/SSH_connection.java create mode 100644 app/src/main/java/com/example/onetap_ssh/ui/tabs/CommandExecutor.java create mode 100644 app/src/main/java/com/example/onetap_ssh/ui/tabs/IViewHolder.java create mode 100644 app/src/main/java/com/example/onetap_ssh/ui/tabs/ListAdapter.java create mode 100644 app/src/main/java/com/example/onetap_ssh/ui/tabs/ListItem.java create mode 100644 app/src/main/java/com/example/onetap_ssh/ui/tabs/ListItemDouble.java create mode 100644 app/src/main/java/com/example/onetap_ssh/ui/tabs/ListItemHeadline.java create mode 100644 app/src/main/java/com/example/onetap_ssh/ui/tabs/ListItemSingle.java create mode 100644 app/src/main/java/com/example/onetap_ssh/ui/tabs/ListItemSpace.java create mode 100644 app/src/main/java/com/example/onetap_ssh/ui/tabs/TabsFragment.java create mode 100644 app/src/main/java/com/example/onetap_ssh/ui/tabs/ViewHolderDoubleButton.java create mode 100644 app/src/main/java/com/example/onetap_ssh/ui/tabs/ViewHolderSingleButton.java create mode 100644 app/src/main/java/com/example/onetap_ssh/ui/terminal/Terminal.java create mode 100644 app/src/main/java/com/example/onetap_ssh/ui/terminal/TerminalFragment.java create mode 100644 app/src/main/res/anim/dialog_in.xml create mode 100644 app/src/main/res/anim/dialog_out.xml create mode 100644 app/src/main/res/drawable/background_full.xml create mode 100644 app/src/main/res/drawable/backgroundoverlay.xml create mode 100644 app/src/main/res/drawable/button_left.xml create mode 100644 app/src/main/res/drawable/button_middle.xml create mode 100644 app/src/main/res/drawable/button_right.xml create mode 100644 app/src/main/res/drawable/clear_black_24dp.xml create mode 100644 app/src/main/res/layout/addbuttondialog_single.xml create mode 100644 app/src/main/res/layout/addbuttonsdialog_double.xml create mode 100644 app/src/main/res/layout/addheadlinedialog.xml create mode 100644 app/src/main/res/layout/addtabdialog.xml create mode 100644 app/src/main/res/layout/doublebutton.xml create mode 100644 app/src/main/res/layout/exportdialog.xml create mode 100644 app/src/main/res/layout/fragment_tabs.xml create mode 100644 app/src/main/res/layout/fragment_terminal.xml create mode 100644 app/src/main/res/layout/headline.xml create mode 100644 app/src/main/res/layout/singlebutton.xml create mode 100644 app/src/main/res/layout/space.xml diff --git a/.idea/deploymentTargetDropDown.xml b/.idea/deploymentTargetDropDown.xml index 71f13b3..5090469 100644 --- a/.idea/deploymentTargetDropDown.xml +++ b/.idea/deploymentTargetDropDown.xml @@ -7,11 +7,11 @@ - + - + \ No newline at end of file diff --git a/.idea/gradle.xml b/.idea/gradle.xml index 6d89050..ae388c2 100644 --- a/.idea/gradle.xml +++ b/.idea/gradle.xml @@ -1,5 +1,6 @@ +