From 8498a3be7602976764d5b707fda012519deb88b4 Mon Sep 17 00:00:00 2001 From: Soren Stoutner Date: Mon, 30 May 2016 21:49:23 -0700 Subject: [PATCH] Create a TabLayout for About and populate the Version tab. --- .idea/dictionaries/soren.xml | 16 +- .idea/gradle.xml | 1 - app/build.gradle | 2 +- app/src/main/AndroidManifest.xml | 17 +- app/src/main/assets/about_changelog.html | 5 + app/src/main/assets/about_contributors.html | 5 + .../{about_text.html => about_license.html} | 5 + app/src/main/assets/about_permissions.html | 5 + .../privacybrowser/AboutActivity.java | 90 +++++ .../stoutner/privacybrowser/AboutDialog.java | 68 ---- .../privacybrowser/AboutTabFragment.java | 163 +++++++++ .../privacybrowser/MainWebViewActivity.java | 38 +-- app/src/main/res/drawable/about.xml | 17 +- app/src/main/res/drawable/back.xml | 19 +- app/src/main/res/drawable/downloads.xml | 19 +- app/src/main/res/drawable/exit.xml | 19 +- app/src/main/res/drawable/forward.xml | 19 +- app/src/main/res/drawable/guide.xml | 15 + app/src/main/res/drawable/home.xml | 19 +- .../main/res/drawable/javascript_enabled.xml | 33 +- app/src/main/res/drawable/privacy_mode.xml | 33 +- app/src/main/res/drawable/settings.xml | 19 +- app/src/main/res/drawable/warning.xml | 33 +- app/src/main/res/drawable/world.xml | 9 +- .../main/res/layout/about_linearlayout.xml | 45 +++ app/src/main/res/layout/about_tab_version.xml | 319 ++++++++++++++++++ app/src/main/res/layout/about_tab_webview.xml | 26 ++ app/src/main/res/menu/menu_navigation.xml | 20 +- app/src/main/res/values/colors.xml | 2 + app/src/main/res/values/strings.xml | 32 +- 30 files changed, 917 insertions(+), 196 deletions(-) create mode 100644 app/src/main/assets/about_changelog.html create mode 100644 app/src/main/assets/about_contributors.html rename app/src/main/assets/{about_text.html => about_license.html} (99%) create mode 100644 app/src/main/assets/about_permissions.html create mode 100644 app/src/main/java/com/stoutner/privacybrowser/AboutActivity.java delete mode 100644 app/src/main/java/com/stoutner/privacybrowser/AboutDialog.java create mode 100644 app/src/main/java/com/stoutner/privacybrowser/AboutTabFragment.java create mode 100644 app/src/main/res/drawable/guide.xml create mode 100644 app/src/main/res/layout/about_linearlayout.xml create mode 100644 app/src/main/res/layout/about_tab_version.xml create mode 100644 app/src/main/res/layout/about_tab_webview.xml diff --git a/.idea/dictionaries/soren.xml b/.idea/dictionaries/soren.xml index bf739fc8..1dca8f52 100644 --- a/.idea/dictionaries/soren.xml +++ b/.idea/dictionaries/soren.xml @@ -1,7 +1,21 @@ - wisen + androidversion + aren + buildapi + buildversion + chromeversion + khtml + konqueror + linearlayout + mozilla + nojs + relativelayout + securitypatch + snackbar + textview + webkitversion \ No newline at end of file diff --git a/.idea/gradle.xml b/.idea/gradle.xml index 494ac839..58992cc7 100644 --- a/.idea/gradle.xml +++ b/.idea/gradle.xml @@ -6,7 +6,6 @@