Files
OpenTracks/MyTracksApiSample/res/layout/main.xml
T
Jimmy Shih b653e8d059 Fix elevation chart not showing distance correctly.
Use TripStatisticsBuilder to keep track of distance.
Also include the first and the last elevation.
2012-02-02 14:07:02 -08:00

27 lines
918 B
XML

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_height="match_parent"
android:layout_width="match_parent"
android:orientation="vertical"
>
<Button android:id="@+id/start_recording_button"
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:text="@string/start_recording"
/>
<Button android:id="@+id/stop_recording_button"
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:text="@string/stop_recording"
/>
<Button android:id="@+id/add_waypoints_button"
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:text="@string/add_waypoints"
/>
<TextView android:id="@+id/output"
android:layout_height="wrap_content"
android:layout_width="match_parent"
/>
</LinearLayout>