mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 12:53:55 +01:00
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:
parent
cb3a570090
commit
a9629c6f99
10 changed files with 186 additions and 80 deletions
10
app/src/main/res/menu/menu_notifications.xml
Normal file
10
app/src/main/res/menu/menu_notifications.xml
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<menu xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
<item
|
||||
android:id="@+id/archived"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:icon="@drawable/ic_more_vert_white_24dp"
|
||||
android:title="@string/menu_option_archived" />
|
||||
</menu>
|
||||
Loading…
Add table
Add a link
Reference in a new issue