1
0

Android Notifications implementation (#33)

* Fix bug with the number of grades in snackbar
* Add basic grade notification
* Add notification icons
* Add intent to notification 
* Improve login activity appearance
* Improve dashboard appearance
* Small amendments
* Change splash logo
This commit is contained in:
Rafał Borcz
2017-11-16 20:52:47 +01:00
committed by Mikołaj Pich
parent e5ea6e0b41
commit 2fbd2da60c
58 changed files with 373 additions and 74 deletions

View File

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="ic_launcher_background">#FFFFFF</color>
</resources>

View File

@ -35,6 +35,8 @@
<string name="attendance_text">Attendance</string>
<string name="lessonplan_text">Lesson Plan</string>
<string name="settings_text">Settings</string>
<string name="activity_under_construction">This section of app is under construction.</string>
<string name="fragment_no_grades">No grades</string>
<string name="noInternet_text">No internet connection</string>
<string name="root_failed_text">This device is rooted. Automatic login has been disabled</string>
@ -53,10 +55,21 @@
<string name="snackbar_no_grades">No new grades</string>
<string name="snackbar_new_grade">Number of new grades: %1$d</string>
<plurals name="numberOfGrades">
<string name="info_average_grades">Average: %1$.2f</string>
<string name="info_no_average">No average</string>
<plurals name="numberOfGradesPlurals">
<item quantity="one">%d grade</item>
<item quantity="other">%d grades</item>
</plurals>
<string name="info_average_grades">Average: %1$.2f</string>
<string name="info_no_average">No average</string>
<plurals name="newGradePlurals">
<item quantity="one">New grade</item>
<item quantity="other">New grades</item>
</plurals>
<plurals name="receivedNewGradePlurals">
<item quantity="one">You received %1$d grade</item>
<item quantity="other">You received %1$d grades</item>
</plurals>
</resources>