Here is the code:
from the ListActivity:
Using java Syntax Highlighting
- public class Scores extends ListActivity{
- @Override
- public void onCreate(Bundle icicle) {
- super.onCreate(icicle);
- setContentView(R.layout.scores_list);
- }
- }
Parsed in 0.031 seconds, using GeSHi 1.0.8.4
From the layout (called "scores_list.xml"):
Using xml Syntax Highlighting
- <?xml version="1.0" encoding="utf-8"?>
- <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content">
- <ListView android:id="@+id/android:list"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"/>
- </LinearLayout>
Parsed in 0.002 seconds, using GeSHi 1.0.8.4
Any ideas where this is going wrong?


