aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2018-03-21 17:36:53 -0400
committerGitHub <noreply@github.com>2018-03-21 17:36:53 -0400
commitf1275cbc38f1819c852f810905c300ae8f64bba4 (patch)
tree794d0ffe19f09387d5979c710b1b4a6ffe24104d /app/src/main/res
parentd36dfe98a52ced46c5106b28304ae5d245180a7f (diff)
downloadfrost-f1275cbc38f1819c852f810905c300ae8f64bba4.tar.gz
frost-f1275cbc38f1819c852f810905c300ae8f64bba4.tar.bz2
frost-f1275cbc38f1819c852f810905c300ae8f64bba4.zip
Update buildsdk (#808)
* Update changelog * Add build sdk check * Remove play store affiliate * Ignore Overdraw * Remove theme background * Add back for transparent * Fix restart button
Diffstat (limited to 'app/src/main/res')
-rw-r--r--app/src/main/res/layout/activity_invalid_sdk.xml34
-rw-r--r--app/src/main/res/values/strings_errors.xml1
-rw-r--r--app/src/main/res/values/strings_pref_experimental.xml2
-rw-r--r--app/src/main/res/values/styles.xml4
-rw-r--r--app/src/main/res/xml/frost_changelog.xml8
5 files changed, 48 insertions, 1 deletions
diff --git a/app/src/main/res/layout/activity_invalid_sdk.xml b/app/src/main/res/layout/activity_invalid_sdk.xml
new file mode 100644
index 00000000..dba1375b
--- /dev/null
+++ b/app/src/main/res/layout/activity_invalid_sdk.xml
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="utf-8"?>
+<android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:app="http://schemas.android.com/apk/res-auto"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:background="@color/frost_splash_background">
+
+ <ImageView
+ android:id="@+id/invalid_icon"
+ android:layout_width="96dp"
+ android:layout_height="96dp"
+ app:layout_constraintBottom_toBottomOf="parent"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintHorizontal_bias="0.5"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toTopOf="parent"
+ app:layout_constraintVertical_bias="0.2" />
+
+ <TextView
+ android:id="@+id/invalid_text"
+ android:layout_width="0dp"
+ android:layout_height="wrap_content"
+ android:layout_marginEnd="@dimen/kau_activity_horizontal_margin"
+ android:layout_marginStart="@dimen/kau_activity_horizontal_margin"
+ android:textAlignment="center"
+ android:textColor="@android:color/white"
+ android:textSize="18sp"
+ app:layout_constraintBottom_toBottomOf="parent"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toBottomOf="@id/invalid_icon"
+ app:layout_constraintVertical_bias="0.25" />
+
+</android.support.constraint.ConstraintLayout> \ No newline at end of file
diff --git a/app/src/main/res/values/strings_errors.xml b/app/src/main/res/values/strings_errors.xml
index 71d147f7..9988fca4 100644
--- a/app/src/main/res/values/strings_errors.xml
+++ b/app/src/main/res/values/strings_errors.xml
@@ -9,4 +9,5 @@
<string name="error_generic">An error occurred.</string>
<string name="video_load_failed">Failed to load video</string>
<string name="error_notification">An error occurred when fetching notifications</string>
+ <string name="error_sdk">Your device\'s SDK (%d) is incompatible. Frost only supports Lollipop (SDK 21) and above</string>
</resources> \ 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 10c66f99..9ccf5577 100644
--- a/app/src/main/res/values/strings_pref_experimental.xml
+++ b/app/src/main/res/values/strings_pref_experimental.xml
@@ -9,5 +9,5 @@
<string name="verbose_logging">Verbose Logging</string>
<string name="verbose_logging_desc">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.</string>
<string name="restart_frost">Restart Frost</string>
- <string name="restart_frost_desc">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.</string>
+ <string name="restart_frost_desc">Launch a cold restart for the application.</string>
</resources> \ 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 ab893b3a..0faa00ab 100644
--- a/app/src/main/res/values/styles.xml
+++ b/app/src/main/res/values/styles.xml
@@ -4,6 +4,8 @@
<item name="colorPrimary">@color/facebook_blue</item>
<item name="colorPrimaryDark">@color/facebook_blue_dark</item>
<item name="colorAccent">@android:color/white</item>
+ <item name="android:windowContentOverlay">@null</item>
+ <item name="android:windowBackground">@null</item>
<item name="android:windowSoftInputMode">adjustResize</item>
</style>
@@ -16,6 +18,8 @@
<item name="colorPrimary">@color/facebook_blue</item>
<item name="colorPrimaryDark">@color/facebook_blue_dark</item>
<item name="colorAccent">@android:color/black</item>
+ <item name="android:windowContentOverlay">@null</item>
+ <item name="android:windowBackground">@null</item>
<item name="android:windowSoftInputMode">adjustResize</item>
</style>
diff --git a/app/src/main/res/xml/frost_changelog.xml b/app/src/main/res/xml/frost_changelog.xml
index de90da73..2ee85a35 100644
--- a/app/src/main/res/xml/frost_changelog.xml
+++ b/app/src/main/res/xml/frost_changelog.xml
@@ -6,6 +6,14 @@
<item text="" />
-->
+ <version title="v2.0.0" />
+ <item text="A new beginning: Frost is completely FOSS" />
+ <item text="Remove crashlytics in favour of another open source bug tracker" />
+ <item text="Remove all google play dependencies" />
+ <item text="Make analytics opt in" />
+ <item text="" />
+ <item text="" />
+
<version title="v1.8.3" />
<item text="Add full notification channel support" />
<item text="Fix sound spam for multiple notifications" />