forked from upstream-mirrors/OpenTracks
59a05262a1
ImportAllTracks is essentially just a modification of ExportAllTracks that uses the existing GpxImporter to import all GPX files found in /sdcard/MyTracks/gpx. So that the import functionality can always be accessed, the MyTracks Activity's MenuManager is altered so that the Tracks button shows regardless of whether there are any tracks in the database (ImportAllTracks is launched by a button in the lower right of the MyTracksList activity). A Toast message shows if no GPX files are found; this serves as a hint to users on where to put GPX files for import so that this addition should be discoverable and useable without documentation. Im
51 lines
1.8 KiB
XML
51 lines
1.8 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
Copyright 2010 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.
|
|
-->
|
|
<resources>
|
|
<color name="black">#FF000000</color>
|
|
<color name="blue">#FF0000FF</color>
|
|
<color name="darkgray">#FF444444</color>
|
|
<color name="gold">#FFffd700</color>
|
|
<color name="gray">#FFAAAAAA</color>
|
|
<color name="lightblue">#FF00FFFF</color>
|
|
<color name="opaque_shadow">#70000000</color>
|
|
<color name="red">#FFFF0000</color>
|
|
<color name="stat_label_background">#FFF0F0F0</color>
|
|
<color name="stat_label_text">#FF0F0F0F</color>
|
|
<color name="white">#FFFFFFFF</color>
|
|
|
|
<!-- Chart colors by series. -->
|
|
<!-- Green and a transparent green -->
|
|
<color name="elevation_border">#FF339933</color>
|
|
<color name="elevation_fill">#40B3CFB3</color>
|
|
|
|
<!-- Blue and a transparent blue -->
|
|
<color name="speed_border">#FF0066FF</color>
|
|
<color name="speed_fill">#40C8E0FF</color>
|
|
|
|
<!-- Red and a transparent red -->
|
|
<color name="heartrate_border">#FFCC3300</color>
|
|
<color name="heartrate_fill">#40E88A70</color>
|
|
|
|
<!-- Pink and a transparent pink -->
|
|
<color name="cadence_border">#FFF128F3</color>
|
|
<color name="cadence_fill">#40F128F3</color>
|
|
|
|
<!-- Purple and a transparent purple -->
|
|
<color name="power_border">#FF401465</color>
|
|
<color name="power_fill">#40401465</color>
|
|
</resources>
|