activity_logs.xml 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. <!--
  2. Nextcloud Android client application
  3. @author Chris Narkiewicz
  4. Copyright (C) 2019 Chris Narkiewicz <hello@ezaquarii.com>
  5. This program is free software: you can redistribute it and/or modify
  6. it under the terms of the GNU Affero General Public License as published by
  7. the Free Software Foundation, either version 3 of the License, or
  8. (at your option) any later version.
  9. This program is distributed in the hope that it will be useful,
  10. but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. GNU Affero General Public License for more details.
  13. You should have received a copy of the GNU Affero General Public License
  14. along with this program. If not, see <http://www.gnu.org/licenses/>.
  15. -->
  16. <menu xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
  17. <item
  18. android:id="@+id/action_search"
  19. android:icon="@android:drawable/ic_menu_search"
  20. android:orderInCategory="0"
  21. android:title="@string/logs_menu_search"
  22. app:showAsAction="ifRoom"
  23. app:actionViewClass="androidx.appcompat.widget.SearchView" />
  24. <item
  25. android:id="@+id/action_refresh_logs"
  26. android:title="@string/logs_menu_refresh"
  27. app:showAsAction="never"
  28. android:orderInCategory="100"
  29. android:icon="@drawable/ic_action_refresh"/>
  30. <item
  31. android:id="@+id/action_send_logs"
  32. android:title="@string/logs_menu_send"
  33. app:showAsAction="never"
  34. android:orderInCategory="200"
  35. android:icon="@drawable/ic_send"/>
  36. <item
  37. android:id="@+id/action_delete_logs"
  38. android:title="@string/logs_menu_delete"
  39. app:showAsAction="never"
  40. android:orderInCategory="300"
  41. android:icon="@drawable/ic_delete"/>
  42. </menu>