Fix for issue 895 (missing android: prefix), Removed unused imports

Change-Id: I5eeca1db7eb97251729dff728b4c482de4b14885
diff --git a/core/java/android/app/ListActivity.java b/core/java/android/app/ListActivity.java
index 19b99c8..9088920 100644
--- a/core/java/android/app/ListActivity.java
+++ b/core/java/android/app/ListActivity.java
@@ -18,9 +18,7 @@
 
 import android.os.Bundle;
 import android.os.Handler;
-import android.view.KeyEvent;
 import android.view.View;
-import android.widget.Adapter;
 import android.widget.AdapterView;
 import android.widget.ListAdapter;
 import android.widget.ListView;
@@ -68,7 +66,7 @@
  *               android:layout_weight="1"
  *               android:drawSelectorOnTop="false"/>
  * 
- *     <TextView id="@id/android:empty"
+ *     <TextView android:id="@id/android:empty"
  *               android:layout_width="fill_parent" 
  *               android:layout_height="fill_parent"
  *               android:background="#FF0000"
@@ -307,7 +305,7 @@
     }
 
     private AdapterView.OnItemClickListener mOnClickListener = new AdapterView.OnItemClickListener() {
-        public void onItemClick(AdapterView parent, View v, int position, long id)
+        public void onItemClick(AdapterView<?> parent, View v, int position, long id)
         {
             onListItemClick((ListView)parent, v, position, id);
         }