nextcloud-android/src/main/res/menu/main_menu.xml

69 lines
2.6 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="utf-8"?>
2013-02-07 21:45:10 +04:00
<!--
ownCloud Android client application
Copyright (C) 2012 Bartek Przybylski
2015-03-05 15:27:45 +03:00
Copyright (C) 2015 ownCloud Inc.
2013-02-07 21:45:10 +04:00
This program is free software: you can redistribute it and/or modify
2013-04-17 14:26:13 +04:00
it under the terms of the GNU General Public License version 2,
as published by the Free Software Foundation.
2013-02-07 21:45:10 +04:00
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
2015-05-25 13:39:05 +03:00
<menu xmlns:android="http://schemas.android.com/apk/res/android"
2017-03-14 12:02:35 +03:00
xmlns:app="http://schemas.android.com/apk/res-auto"
>
<item android:id="@+id/action_search"
2016-07-28 15:51:38 +03:00
android:icon="@drawable/ic_search"
android:title="@string/actionbar_search"
2016-07-28 16:11:07 +03:00
android:contentDescription="@string/actionbar_search"
app:actionViewClass="android.support.v7.widget.SearchView"
2017-02-14 20:33:19 +03:00
app:showAsAction="always"/>
<item
android:id="@+id/action_create_dir"
android:icon="@drawable/ic_action_create_dir"
android:orderInCategory="1"
app:showAsAction="never"
android:title="@string/actionbar_mkdir"
android:contentDescription="@string/actionbar_mkdir"/>
2015-08-14 19:13:20 +03:00
<item
android:id="@+id/action_switch_view"
android:icon="@drawable/ic_view_module"
2015-08-14 19:13:20 +03:00
android:orderInCategory="2"
app:showAsAction="never"
2015-08-14 19:13:20 +03:00
android:title="@string/action_switch_grid_view" />
<item
2014-03-18 01:14:07 +04:00
android:id="@+id/action_sync_account"
android:icon="@drawable/ic_action_refresh_white"
android:orderInCategory="1"
app:showAsAction="never"
android:title="@string/actionbar_sync"
android:contentDescription="@string/actionbar_sync"/>
<item
android:id="@+id/action_sort"
android:icon="@drawable/ic_sort_variant"
android:orderInCategory="1"
app:showAsAction="never"
android:title="@string/actionbar_sort"
android:contentDescription="@string/actionbar_sort"/>
<item
android:id="@+id/action_select_all"
android:icon="@drawable/ic_select_all"
android:orderInCategory="1"
app:showAsAction="never"
android:title="@string/select_all"
android:contentDescription="@string/select_all"/>
2015-05-25 13:39:05 +03:00
<!-- <item android:id="@+id/search"
android:title="@string/actionbar_search"
android:icon="@drawable/ic_action_search"></item> -->
</menu>