diff options
author | Allan Wang <me@allanwang.ca> | 2017-08-03 22:21:51 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-03 22:21:51 -0700 |
commit | 7746e63373c905faa6d7e45e45fffc48d3ffff85 (patch) | |
tree | 5d1bd4338a722619bb892abb308b369abc61f396 /app/src/main/res | |
parent | 5583f519dd7c4843f045029b0e48fd882dd79c71 (diff) | |
download | frost-7746e63373c905faa6d7e45e45fffc48d3ffff85.tar.gz frost-7746e63373c905faa6d7e45e45fffc48d3ffff85.tar.bz2 frost-7746e63373c905faa6d7e45e45fffc48d3ffff85.zip |
Add IM notifications, FAQ, video uploading, and geolocations (#107)
* Test canary
* Update activities to use kau base
* Update dependencies
* Cherry pick faq
* Update kau and add faq
* Add readme badges
* Add im notifications and video uploading
* Update theme
* Update and fix unit tests
* Add geolocation
* Prepare alpha test
* Remove explicit nonnull request
Diffstat (limited to 'app/src/main/res')
-rw-r--r-- | app/src/main/res/layout/intro_end.xml | 2 | ||||
-rw-r--r-- | app/src/main/res/values/colors.xml | 3 | ||||
-rw-r--r-- | app/src/main/res/values/strings.xml | 4 | ||||
-rw-r--r-- | app/src/main/res/values/strings_about.xml | 23 | ||||
-rw-r--r-- | app/src/main/res/values/strings_pref_notifications.xml | 2 | ||||
-rw-r--r-- | app/src/main/res/values/strings_preferences.xml (renamed from app/src/main/res/values/strings_preferences) | 4 | ||||
-rw-r--r-- | app/src/main/res/xml/frost_changelog.xml | 13 | ||||
-rw-r--r-- | app/src/main/res/xml/frost_faq.xml | 17 |
8 files changed, 57 insertions, 11 deletions
diff --git a/app/src/main/res/layout/intro_end.xml b/app/src/main/res/layout/intro_end.xml index 10132546..67931e43 100644 --- a/app/src/main/res/layout/intro_end.xml +++ b/app/src/main/res/layout/intro_end.xml @@ -12,7 +12,7 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/intro_end" - app:layout_constraintBottom_toTopOf="@+id/intro_image" + app:layout_constraintBottom_toTopOf="@id/intro_image" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" diff --git a/app/src/main/res/values/colors.xml b/app/src/main/res/values/colors.xml index e6dc5b24..4c685908 100644 --- a/app/src/main/res/values/colors.xml +++ b/app/src/main/res/values/colors.xml @@ -1,8 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> <resources> - <color name="colorPrimary">@color/facebook_blue</color> - <color name="colorPrimaryDark">@color/facebook_blue_dark</color> - <color name="colorAccent">#FF4081</color> <color name="frost_splash_background">@color/facebook_blue</color> <color name="facebook_blue">#3b5998</color> <color name="facebook_blue_dark">#2e4b86</color> diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 92ab2491..d4a7c9dc 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -1,9 +1,6 @@ <resources> <string name="dev_email" translatable="false">pitchedapps@gmail.com</string> <string name="play_store_package_id" translatable="false">com.pitchedapps.frost</string> - <string name="about_frost">About Frost for Facebook</string> - <string name="frost_description">Frost is a fully themable, fully functional alternative to the official Facebook app, made from scratch and proudly open sourced.</string> - <string name="section_format">Hello World from section: %1$d</string> <string name="feed">Feed</string> <string name="most_recent">Most Recent</string> @@ -46,6 +43,7 @@ <string name="debug_link_subject">Frost for Facebook: Link Debug</string> <string name="debug_link_content">Write here. Note that your link may contain private information, but I won\'t be able to see it as the post isn\'t public. The url will still help with debugging though.</string> <string name="debug_link_desc">If a link isn\'t loading properly, you can email me so I can help debug it. Clicking okay will open an email request</string> + <string name="open_link">Open Link</string> <string name="copy_link">Copy Link</string> <string name="copy_text">Copy Text</string> <string name="debug_image_link_subject">Frost for Facebook: Image Link Debug</string> diff --git a/app/src/main/res/values/strings_about.xml b/app/src/main/res/values/strings_about.xml new file mode 100644 index 00000000..68590718 --- /dev/null +++ b/app/src/main/res/values/strings_about.xml @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="utf-8"?> +<resources> + + <string name="frost_description">Frost is a fully themable, + fully functional alternative to the official Facebook app, made from scratch and proudly open sourced.</string> + + <string name="faq_title">Frost FAQ</string> + + <string name="faq_feature">Can you add feature xxx?</string> + <string name="faq_feature_desc">I\'m always opened to suggestions, + and if a feature will enhance your experience, I\'d like to hear it. + However, please consider taking a look at my + <a href="https://github.com/AllanWang/Frost-for-Facebook/issues">issue tracker</a></string> + + <string name="faq_cannot_scroll_horizontally">I can\'t scroll horizontally in the webviews.</string> + <string name="faq_cannot_scroll_horizontally_desc">This is known since the viewpager takes priority for horizontal scrolling. + Frost has addressed this by allowing horizontal web scrolls if you tap and hold before scrolling.</string> + + <string name="faq_more_frequent_notifications">Can I get more frequent notifications?</string> + <string name="faq_more_frequent_notifications_desc">I made the decision to prioritize battery life by using a newer job scheduler for Android. + This means that your framework picks the best time to fetch the notifications, and the lowest window is 15 minutes. + This is also why I don\'t require the wakelock permission</string> +</resources>
\ No newline at end of file diff --git a/app/src/main/res/values/strings_pref_notifications.xml b/app/src/main/res/values/strings_pref_notifications.xml index 1d605c2b..00c30b57 100644 --- a/app/src/main/res/values/strings_pref_notifications.xml +++ b/app/src/main/res/values/strings_pref_notifications.xml @@ -9,6 +9,8 @@ <string name="empty_keyword">Empty Keyword</string> <string name="notification_all_accounts">Notify from all accounts</string> <string name="notification_all_accounts_desc">Get notifications for every account that is logged in. Disabling this will only fetch notifications form the currently selected account.</string> + <string name="notification_messages">Enable message notifications</string> + <string name="notification_messages_desc">Get instant message notifications for your current account.</string> <string name="notification_fetch_now">Fetch Notifications Now</string> <string name="notification_fetch_now_desc">Trigger the notification fetcher one time.</string> <string name="notification_fetch_success">Fetching Notifications…</string> diff --git a/app/src/main/res/values/strings_preferences b/app/src/main/res/values/strings_preferences.xml index 1108d08d..c2ba0b36 100644 --- a/app/src/main/res/values/strings_preferences +++ b/app/src/main/res/values/strings_preferences.xml @@ -16,5 +16,9 @@ <string name="get_pro">Get Frost Pro</string> <string name="get_pro_desc">Purchase or restore pro and unlock the full potential of Frost! Includes ad blockers, custom themes, full configurations, and much more to come!</string> + <string name="about_frost">About Frost for Facebook</string> + <string name="about_frost_desc">Version, Credits, and FAQs</string> + + <string name="replay_intro">Replay Introduction</string> </resources>
\ No newline at end of file diff --git a/app/src/main/res/xml/frost_changelog.xml b/app/src/main/res/xml/frost_changelog.xml index 4b41553b..8f68de9f 100644 --- a/app/src/main/res/xml/frost_changelog.xml +++ b/app/src/main/res/xml/frost_changelog.xml @@ -10,14 +10,19 @@ <!--<version title="Beta Updates" />--> - <version title="v1.5"/> + <version title="v1.4.2"/> + <item text="Experimental: Add notifications for messages; report to me if this drains your battery" /> + <item text="Add FAQ in the about section" /> + <item text="Add video uploading" /> + <item text="Add open link option in context menu" /> + <item text="Add geolocation" /> + <item text="Update theme" /> + + <version title="v1.4.1"/> <item text="Add intro pages" /> <item text="Style new comment highlights" /> <item text="Style reaction background" /> <item text="Disable pull to refresh when typing is detected" /> - <item text="" /> - <item text="" /> - <item text="" /> <version title="v1.4" /> <item text="Update IAB helper" /> diff --git a/app/src/main/res/xml/frost_faq.xml b/app/src/main/res/xml/frost_faq.xml new file mode 100644 index 00000000..e46d2d50 --- /dev/null +++ b/app/src/main/res/xml/frost_faq.xml @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="utf-8"?> +<resources> + <question><![CDATA[Can you add feature xxx?]]></question> + <answer><![CDATA[I'm always opened to suggestions, + and if a feature will enhance your experience, I'd like to hear it. + However, please consider taking a look at my + <a href="https://github.com/AllanWang/Frost-for-Facebook/issues">issue tracker</a> first to avoid duplicate requests.]]></answer> + + <question><![CDATA[I can't scroll horizontally in the webviews.]]></question> + <answer><![CDATA[This is known since the viewpager takes priority for horizontal scrolling. + Frost has addressed this by allowing horizontal web scrolls if you tap and hold before scrolling.]]></answer> + + <question><![CDATA[Can I get more frequent notifications?]]></question> + <answer><![CDATA[I made the decision to prioritize battery life by using a newer job scheduler for Android. + This means that your framework picks the best time to fetch the notifications, and the lowest window is 15 minutes. + This is also why I don't require the wakelock permission]]></answer> +</resources>
\ No newline at end of file |