From d90cb9b61cd2e033b46f4780ad1340c5f35b7751 Mon Sep 17 00:00:00 2001 From: Allan Wang Date: Sun, 16 Jul 2017 17:26:58 -0700 Subject: Add image viewing and downloading (#63) * Commence aggressive image caching * Add glide toggle and css url parsing * Add image hook and refractor activities * Update version analytics * Implemented imageactivity but glide will not load * Create working image loader * Finalize image view * Finalize image view logic * Remove custom cache experiment --- app/src/main/res/drawable/frost_f_24.xml | 2 +- app/src/main/res/drawable/frost_f_256.xml | 2 +- app/src/main/res/layout/activity_image.xml | 48 ++++++++++++++++++++++ .../main/res/layout/activity_image_textless.xml | 30 ++++++++++++++ app/src/main/res/layout/activity_login.xml | 2 +- app/src/main/res/layout/activity_main.xml | 2 +- app/src/main/res/layout/activity_web_overlay.xml | 2 +- app/src/main/res/values/strings.xml | 27 ++---------- app/src/main/res/values/strings_libs.xml | 26 ++++++++++++ .../main/res/values/strings_pref_experimental.xml | 1 - app/src/main/res/values/styles.xml | 7 ++++ app/src/main/res/xml/changelog.xml | 19 ++++++--- app/src/main/res/xml/file_paths.xml | 9 ++++ 13 files changed, 142 insertions(+), 35 deletions(-) create mode 100644 app/src/main/res/layout/activity_image.xml create mode 100644 app/src/main/res/layout/activity_image_textless.xml create mode 100644 app/src/main/res/values/strings_libs.xml create mode 100644 app/src/main/res/xml/file_paths.xml (limited to 'app/src/main/res') diff --git a/app/src/main/res/drawable/frost_f_24.xml b/app/src/main/res/drawable/frost_f_24.xml index b435fa03..18271849 100644 --- a/app/src/main/res/drawable/frost_f_24.xml +++ b/app/src/main/res/drawable/frost_f_24.xml @@ -8,7 +8,7 @@ \ No newline at end of file diff --git a/app/src/main/res/drawable/frost_f_256.xml b/app/src/main/res/drawable/frost_f_256.xml index fce1b5ca..220dee69 100644 --- a/app/src/main/res/drawable/frost_f_256.xml +++ b/app/src/main/res/drawable/frost_f_256.xml @@ -8,7 +8,7 @@ \ No newline at end of file diff --git a/app/src/main/res/layout/activity_image.xml b/app/src/main/res/layout/activity_image.xml new file mode 100644 index 00000000..a2264b25 --- /dev/null +++ b/app/src/main/res/layout/activity_image.xml @@ -0,0 +1,48 @@ + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/layout/activity_image_textless.xml b/app/src/main/res/layout/activity_image_textless.xml new file mode 100644 index 00000000..3c0cc685 --- /dev/null +++ b/app/src/main/res/layout/activity_image_textless.xml @@ -0,0 +1,30 @@ + + + + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/layout/activity_login.xml b/app/src/main/res/layout/activity_login.xml index eef0e434..cd5eef08 100644 --- a/app/src/main/res/layout/activity_login.xml +++ b/app/src/main/res/layout/activity_login.xml @@ -6,7 +6,7 @@ android:layout_width="match_parent" android:layout_height="match_parent" android:fitsSystemWindows="true" - tools:context=".LoginActivity"> + tools:context=".activities.LoginActivity"> + tools:context=".activities.MainActivity"> + tools:context=".activities.WebOverlayActivity"> Frost Pro has been restored. Enjoy the features! It seems like you don\'t have pro. If this is a persistent issue, contact me and attach your purchase receipt. - - - Raizlabs - https://www.raizlabs.com/ - - DbFlow - - annotation processing. -

- The library is built on speed, performance, and approachability. It not only eliminates most boiler-plate code for dealing with databases, but also provides a powerful and simple API to manage interactions. - Let DBFlow make SQL code flow like a steady stream so you can focus on writing amazing apps. - ]]> -
- https://github.com/Raizlabs/DBFlow - 4.0.4 - - true - https://github.com/Raizlabs/DBFlow - - com.raizlabs.android.dbflow - - mit Login failed; id not found IAB query is still in progress New Message + No text + Image downloaded + Image failed to download + Failed to share image diff --git a/app/src/main/res/values/strings_libs.xml b/app/src/main/res/values/strings_libs.xml new file mode 100644 index 00000000..9cbb77d7 --- /dev/null +++ b/app/src/main/res/values/strings_libs.xml @@ -0,0 +1,26 @@ + + + + + Raizlabs + https://www.raizlabs.com/ + + DbFlow + + annotation processing. +

+ The library is built on speed, performance, and approachability. It not only eliminates most boiler-plate code for dealing with databases, but also provides a powerful and simple API to manage interactions. + Let DBFlow make SQL code flow like a steady stream so you can focus on writing amazing apps. + ]]> +
+ https://github.com/Raizlabs/DBFlow + 4.0.4 + + true + https://github.com/Raizlabs/DBFlow + + com.raizlabs.android.dbflow + + mit +
\ No newline at end of file diff --git a/app/src/main/res/values/strings_pref_experimental.xml b/app/src/main/res/values/strings_pref_experimental.xml index 2d49864b..0f545b3e 100644 --- a/app/src/main/res/values/strings_pref_experimental.xml +++ b/app/src/main/res/values/strings_pref_experimental.xml @@ -11,5 +11,4 @@ Enable verbose logging to help with crash reports. Logging will only be sent once an error is encountered, so repeat the issue to notify the dev. This will automatically be disabled if the app restarts. Restart Frost Crashlytics will only submit logs when a crash occurs or if errors are found and the app is restarted. Clicking here will restart the app and flush whatever issues are currently found. - \ No newline at end of file diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml index 217bfb28..a483b5f0 100644 --- a/app/src/main/res/values/styles.xml +++ b/app/src/main/res/values/styles.xml @@ -31,9 +31,16 @@ + + + + diff --git a/app/src/main/res/xml/changelog.xml b/app/src/main/res/xml/changelog.xml index 59baeef5..cf56eaeb 100644 --- a/app/src/main/res/xml/changelog.xml +++ b/app/src/main/res/xml/changelog.xml @@ -9,12 +9,13 @@ --> - - - - - - + + + + + + + @@ -25,6 +26,12 @@ + + + + + + diff --git a/app/src/main/res/xml/file_paths.xml b/app/src/main/res/xml/file_paths.xml new file mode 100644 index 00000000..334ea0d7 --- /dev/null +++ b/app/src/main/res/xml/file_paths.xml @@ -0,0 +1,9 @@ + + + + + \ No newline at end of file -- cgit v1.2.3