diff --git a/android/BOINC/res/layout/msgs_layout.xml b/android/BOINC/res/layout/msgs_layout.xml index 53556092f6..1cacc16993 100644 --- a/android/BOINC/res/layout/msgs_layout.xml +++ b/android/BOINC/res/layout/msgs_layout.xml @@ -22,11 +22,11 @@ android:layout_height="match_parent" android:orientation="vertical" > - + android:layout_height="wrap_content" > - + diff --git a/android/BOINC/res/layout/msgs_layout_listitem.xml b/android/BOINC/res/layout/msgs_layout_listitem.xml index 9d0dc8cf83..16a3848b51 100644 --- a/android/BOINC/res/layout/msgs_layout_listitem.xml +++ b/android/BOINC/res/layout/msgs_layout_listitem.xml @@ -23,25 +23,33 @@ android:layout_height="match_parent" android:orientation="horizontal" > - + android:orientation="horizontal" > - + - + + + + + \ No newline at end of file diff --git a/android/BOINC/src/edu/berkeley/boinc/adapter/MessagesListAdapter.java b/android/BOINC/src/edu/berkeley/boinc/adapter/MessagesListAdapter.java index 8165fbf8db..5560fb4689 100644 --- a/android/BOINC/src/edu/berkeley/boinc/adapter/MessagesListAdapter.java +++ b/android/BOINC/src/edu/berkeley/boinc/adapter/MessagesListAdapter.java @@ -58,7 +58,7 @@ public class MessagesListAdapter extends ArrayAdapter{ // Construct output String project = listItem.project; - String date = new Date(listItem.timestamp/1000).toString(); + String date = new Date(listItem.timestamp).toString(); String message = listItem.body; // Instantiate layout elements