forked from upstream-mirrors/OpenTracks
45dc512f01
Only consider valid waypoints. E.g., the first waypoint of a track contains stats for the whole track, thus should not show up on the search result.
46 lines
1.5 KiB
XML
46 lines
1.5 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.
|
|
-->
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_height="fill_parent"
|
|
android:layout_width="fill_parent"
|
|
android:orientation="vertical">
|
|
<TextView
|
|
android:background="@drawable/list_bar"
|
|
android:layout_height="wrap_content"
|
|
android:layout_width="fill_parent"
|
|
android:padding="5dp"
|
|
android:text="@string/maps_list_pick_map"
|
|
android:textColor="@color/white"
|
|
android:textSize="16sp"/>
|
|
<ListView
|
|
android:id="@+id/choose_map_list_view"
|
|
android:layout_height="fill_parent"
|
|
android:layout_weight="1"
|
|
android:layout_width="fill_parent"
|
|
android:padding="5dp"/>
|
|
<TextView
|
|
android:id="@+id/choose_map_empty_view"
|
|
android:gravity="center"
|
|
android:layout_height="fill_parent"
|
|
android:layout_weight="1"
|
|
android:layout_width="fill_parent"
|
|
android:padding="5dp"
|
|
android:textColor="@color/red"
|
|
android:textSize="16sp"
|
|
android:textStyle="bold"/>
|
|
</LinearLayout>
|