Added option in the action bar menu to view archived notifications (#2422)

* changed layout and implemented archived notificaitons feature

* set different texts for toolbar,menu option and no notification text in archived

* modified the startup intent for NotificationsActivity

* disabled swipe on archived

* commit

* fixed navigation drawer on notification activity

* handled on back pressed

* updated strings.xml

* removed TODO

* some minor changes

* set progress bar visibility

* some code quality changes

* commit

* some code quality changes

* removing unused import statements
This commit is contained in:
Shubham Pinjwani 2019-02-10 16:10:08 +05:30 committed by Vivek Maskara
parent cb3a570090
commit a9629c6f99
10 changed files with 186 additions and 80 deletions

View file

@ -378,6 +378,7 @@
<string name="contributions_fragment">Contributions</string>
<string name="nearby_fragment">Nearby</string>
<string name="notifications">Notifications</string>
<string name="archived_notifications">Notifications(archived)</string>
<string name="display_nearby_notification">Display nearby notification</string>
<string name="display_nearby_notification_summary">Tap here to see the nearest place that needs pictures</string>
<string name="no_close_nearby">No nearby places found close to you</string>
@ -462,7 +463,11 @@ Upload your first media by touching the camera or gallery icon above.</string>
<string name="no_image_uploaded">No images uploaded</string>
<string name="no_notification">You have no unread Notification</string>
<string name="no_archived_notification">You have no archived notification</string>
<string name="share_logs_using">Share logs using</string>
<string name="menu_option_archived">View archived</string>
<string name="menu_option_unread">View unread</string>
<string name="error_occurred_in_picking_images">Error occurred while picking images</string>
<string name="image_chooser_title">Choose Images to upload</string>