Support screen rotation for "Delete All Tracks".

Replace DeleteAllTracks and DeleteTrack with
confirmation dialogs.

Currently, for DeleteTrack, the listener code in
repeated twice in MapActivity and TrackList. But in the
ICS design, DeleteTrack will only be available in
one place.
This commit is contained in:
Jimmy Shih
2012-03-16 14:51:11 -07:00
parent ddd06ea9f6
commit e1a7f3c0b5
5 changed files with 67 additions and 229 deletions
-10
View File
@@ -181,16 +181,6 @@ limitations under the License.
</intent-filter>
</activity>
<activity android:name="com.google.android.apps.mytracks.DeleteTrack"
android:theme="@android:style/Theme.Translucent.NoTitleBar"
android:noHistory="true">
<intent-filter>
<action android:name="android.intent.action.DELETE" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="vnd.android.cursor.item/vnd.google.track" />
</intent-filter>
</activity>
<activity android:name="com.google.android.apps.mytracks.WaypointDetails"
android:label="@string/marker_detail_title">
<intent-filter>