mirror of
https://codeberg.org/OpenTracksApp/OpenTracks.git
synced 2026-10-04 10:23:06 +02:00
TrackDetailView: show connected bluetooth device.
This commit is contained in:
@@ -0,0 +1,42 @@
|
||||
<?xml version="1.0" encoding="utf-8"?><!--
|
||||
Copyright 2012 Google Inc.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
<menu xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item
|
||||
android:id="@+id/list_context_menu_share"
|
||||
android:title="@string/menu_share"
|
||||
android:actionProviderClass="android.widget.ShareActionProvider"
|
||||
android:showAsAction="ifRoom" />
|
||||
<item
|
||||
android:id="@+id/list_context_menu_show_on_map"
|
||||
android:icon="@drawable/ic_menu_show_on_map"
|
||||
android:title="@string/menu_show_on_map"
|
||||
android:showAsAction="ifRoom" />
|
||||
<item
|
||||
android:id="@+id/list_context_menu_edit"
|
||||
android:icon="@drawable/ic_menu_edit"
|
||||
android:title="@string/menu_edit"
|
||||
android:showAsAction="ifRoom" />
|
||||
<item
|
||||
android:id="@+id/list_context_menu_delete"
|
||||
android:icon="@drawable/ic_menu_delete"
|
||||
android:title="@string/menu_delete"
|
||||
android:showAsAction="ifRoom" />
|
||||
<item
|
||||
android:id="@+id/list_context_menu_select_all"
|
||||
android:icon="@drawable/ic_menu_select_all"
|
||||
android:title="@string/menu_select_all"
|
||||
android:showAsAction="ifRoom" />
|
||||
</menu>
|
||||
@@ -0,0 +1,32 @@
|
||||
<?xml version="1.0" encoding="utf-8"?><!--
|
||||
Copyright 2012 Google Inc.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
<menu xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item
|
||||
android:id="@+id/marker_detail_show_on_map"
|
||||
android:icon="@drawable/ic_menu_show_on_map"
|
||||
android:title="@string/menu_show_on_map"
|
||||
android:showAsAction="ifRoom" />
|
||||
<item
|
||||
android:id="@+id/marker_detail_edit"
|
||||
android:icon="@drawable/ic_menu_edit"
|
||||
android:title="@string/menu_edit"
|
||||
android:showAsAction="ifRoom" />
|
||||
<item
|
||||
android:id="@+id/marker_detail_delete"
|
||||
android:icon="@drawable/ic_menu_delete"
|
||||
android:title="@string/menu_delete"
|
||||
android:showAsAction="ifRoom" />
|
||||
</menu>
|
||||
@@ -0,0 +1,27 @@
|
||||
<?xml version="1.0" encoding="utf-8"?><!--
|
||||
Copyright 2012 Google Inc.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
<menu xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item
|
||||
android:id="@+id/marker_list_insert_marker"
|
||||
android:icon="@drawable/ic_menu_insert_marker"
|
||||
android:title="@string/menu_insert_marker"
|
||||
android:showAsAction="ifRoom" />
|
||||
<item
|
||||
android:id="@+id/marker_list_search"
|
||||
android:title="@string/menu_search"
|
||||
android:actionViewClass="android.widget.SearchView"
|
||||
android:showAsAction="ifRoom" />
|
||||
</menu>
|
||||
@@ -0,0 +1,22 @@
|
||||
<?xml version="1.0" encoding="utf-8"?><!--
|
||||
Copyright 2012 Google Inc.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
<menu xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item
|
||||
android:id="@+id/search_list_search"
|
||||
android:title="@string/menu_search"
|
||||
android:actionViewClass="android.widget.SearchView"
|
||||
android:showAsAction="ifRoom" />
|
||||
</menu>
|
||||
@@ -0,0 +1,66 @@
|
||||
<?xml version="1.0" encoding="utf-8"?><!--
|
||||
Copyright 2011 Google Inc.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
<menu xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item
|
||||
android:id="@+id/track_detail_insert_marker"
|
||||
android:icon="@drawable/ic_menu_insert_marker"
|
||||
android:orderInCategory="1"
|
||||
android:title="@string/menu_insert_marker"
|
||||
android:showAsAction="ifRoom" />
|
||||
<item
|
||||
android:id="@+id/track_detail_insert_photo"
|
||||
android:icon="@drawable/ic_menu_insert_photo"
|
||||
android:orderInCategory="2"
|
||||
android:title="@string/menu_insert_photo"
|
||||
android:showAsAction="ifRoom" />
|
||||
<item
|
||||
android:id="@+id/track_detail_share"
|
||||
android:orderInCategory="4"
|
||||
android:title="@string/menu_share"
|
||||
android:actionProviderClass="android.widget.ShareActionProvider"
|
||||
android:showAsAction="ifRoom" />
|
||||
<item
|
||||
android:id="@+id/track_detail_markers"
|
||||
android:icon="@drawable/ic_menu_insert_marker"
|
||||
android:orderInCategory="5"
|
||||
android:title="@string/menu_markers"
|
||||
android:showAsAction="ifRoom" />
|
||||
<item
|
||||
android:id="@+id/track_detail_edit"
|
||||
android:icon="@drawable/ic_menu_edit"
|
||||
android:orderInCategory="9"
|
||||
android:title="@string/menu_edit" />
|
||||
<item
|
||||
android:id="@+id/track_detail_delete"
|
||||
android:icon="@drawable/ic_menu_delete"
|
||||
android:orderInCategory="10"
|
||||
android:title="@string/menu_delete" />
|
||||
<item
|
||||
android:id="@+id/track_detail_voice_frequency"
|
||||
android:icon="@drawable/ic_menu_voice_frequency"
|
||||
android:orderInCategory="11"
|
||||
android:title="@string/menu_voice_frequency" />
|
||||
<item
|
||||
android:id="@+id/track_detail_split_frequency"
|
||||
android:icon="@drawable/ic_menu_split_frequency"
|
||||
android:orderInCategory="12"
|
||||
android:title="@string/menu_split_frequency" />
|
||||
<item
|
||||
android:id="@+id/track_detail_settings"
|
||||
android:icon="@drawable/ic_menu_settings"
|
||||
android:orderInCategory="13"
|
||||
android:title="@string/menu_settings" />
|
||||
</menu>
|
||||
@@ -0,0 +1,53 @@
|
||||
<?xml version="1.0" encoding="utf-8"?><!--
|
||||
Copyright 2012 Google Inc.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
<menu xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item
|
||||
android:id="@+id/track_list_search"
|
||||
android:title="@string/menu_search"
|
||||
android:actionViewClass="android.widget.SearchView"
|
||||
android:showAsAction="ifRoom" />
|
||||
<item
|
||||
android:id="@+id/track_list_start_gps"
|
||||
android:icon="@drawable/ic_menu_start_gps"
|
||||
android:title="@string/menu_start_gps"
|
||||
android:showAsAction="ifRoom" />
|
||||
<item
|
||||
android:id="@+id/track_list_markers"
|
||||
android:icon="@drawable/ic_menu_insert_marker"
|
||||
android:orderInCategory="5"
|
||||
android:title="@string/menu_markers"
|
||||
android:showAsAction="ifRoom" />
|
||||
<item
|
||||
android:id="@+id/track_list_aggregated_statistics"
|
||||
android:icon="@drawable/ic_menu_aggregated_statistics"
|
||||
android:title="@string/menu_aggregated_statistics" />
|
||||
<item
|
||||
android:id="@+id/track_list_export_all"
|
||||
android:icon="@drawable/ic_menu_export"
|
||||
android:title="@string/menu_export_all" />
|
||||
<item
|
||||
android:id="@+id/track_list_import_all"
|
||||
android:icon="@drawable/ic_menu_import"
|
||||
android:title="@string/menu_import_all" />
|
||||
<item
|
||||
android:id="@+id/track_list_delete_all"
|
||||
android:icon="@drawable/ic_menu_delete"
|
||||
android:title="@string/menu_delete_all" />
|
||||
<item
|
||||
android:id="@+id/track_list_settings"
|
||||
android:icon="@drawable/ic_menu_settings"
|
||||
android:title="@string/menu_settings" />
|
||||
</menu>
|
||||
Reference in New Issue
Block a user