mirror of
https://github.com/pierre42100/ComunicAndroid
synced 2025-07-07 18:42:53 +00:00
Can delete the entire list of notifications.
This commit is contained in:
@ -3,4 +3,26 @@
|
||||
android:orientation="vertical" android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<!-- Notification loading progress -->
|
||||
<ProgressBar
|
||||
android:id="@+id/loading_progress"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
android:layout_marginTop="10dp"/>
|
||||
|
||||
<!-- Notifications list -->
|
||||
<ListView
|
||||
android:id="@+id/notificcation_list"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dp"
|
||||
android:layout_weight="1"/>
|
||||
|
||||
<!-- Delete all the notifications button -->
|
||||
<Button
|
||||
android:id="@+id/delete_all_notif_btn"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/action_delete_all_notifications"/>
|
||||
|
||||
</LinearLayout>
|
@ -149,4 +149,11 @@
|
||||
<string name="preference_background_notif_summary">This allow you to stay informed about the latest notifications on Comunic by checking at a regular interval the existence of notifications, even if the application is closed.</string>
|
||||
<string name="notification_notif_available_title">New activity on Comunic</string>
|
||||
<string name="notification_notif_available_content"> %1$d notification(s) and %2$d unread conversations(s)</string>
|
||||
<string name="action_delete_all_notifications">Delete all the notifications</string>
|
||||
<string name="dialog_deleteallnotifs_title">Delete all the notifications</string>
|
||||
<string name="dialog_deleteallnotifs_message">Are you sure do you want to delete all the notifications ? This can not be undone!</string>
|
||||
<string name="dialog_deleteallnotifs_cancel">No</string>
|
||||
<string name="dialog_deleteallnotifs_confirm">Yes</string>
|
||||
<string name="err_delete_all_notifs">An error occurred while trying to delete the entire list of notifications!</string>
|
||||
<string name="success_delete_all_notifs">All the notifications have been deleted!</string>
|
||||
</resources>
|
||||
|
Reference in New Issue
Block a user