diff --git a/android/BOINC/res/layout/projects_layout.xml b/android/BOINC/res/layout/projects_layout.xml index 795f3fb739..c22045fa7e 100644 --- a/android/BOINC/res/layout/projects_layout.xml +++ b/android/BOINC/res/layout/projects_layout.xml @@ -27,6 +27,16 @@ android:layout_width="match_parent" android:layout_height="wrap_content" > - + + + diff --git a/android/BOINC/src/edu/berkeley/boinc/ProjectsActivity.java b/android/BOINC/src/edu/berkeley/boinc/ProjectsActivity.java index 59021ca9f1..0a35f0f24e 100644 --- a/android/BOINC/src/edu/berkeley/boinc/ProjectsActivity.java +++ b/android/BOINC/src/edu/berkeley/boinc/ProjectsActivity.java @@ -37,6 +37,8 @@ import android.util.Log; import android.view.Menu; import android.view.MenuInflater; import android.view.MenuItem; +import android.view.View; +import android.view.View.OnClickListener; import android.widget.ListView; import android.widget.TextView; import android.widget.Toast; @@ -196,6 +198,10 @@ public class ProjectsActivity extends FragmentActivity { public void onProjectClicked(String url, String name) { Log.d(TAG, "onProjectClicked()"); } + + public void addProjectClicked(View view) { + onProjectAdd(); + } public void onProjectAdd() { Log.d(TAG, "onProjectAdd()");