Fixing menu items.

The complicated bit that was missing was the delete action, which is now its own activity with proper intent handling.
This commit is contained in:
Rodrigo Damazio
2011-08-19 01:33:46 -03:00
parent 657ec17559
commit 496ad9c4e2
10 changed files with 203 additions and 125 deletions
+11
View File
@@ -79,6 +79,17 @@ limitations under the License.
</intent-filter>
</activity>
<activity android:name="com.google.android.apps.mytracks.DeleteTrack"
android:label="@string/deletetrack_title"
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/waypointdetails_title">
<intent-filter>