Files
OpenTracks/MyTracksApiSample/res/layout/main.xml
T
Jimmy Shih fc9dafeccd Clean up SendDialog.java
mytracks_send_to_google.xml
- remove unused ids.
- rename id variables.
- set textSize to 18dip to fit "Google Fusion Tables".
- set margin in ScrollView because its height is 0dip
  and settings margins in its children have no effect.

SendDialog.java
- use ApiFeature.applyPreferenceChanges to commit preference changes.
- set myMapsGroup View to GONE when 'Google My Maps' is not checked.
- use Context.MODE_PRIVATE.
- onStop, call super.onStop first.
2011-11-14 18:12:44 -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>