From f3bdac68ba23a99567fbd38b5b1b018dab173885 Mon Sep 17 00:00:00 2001 From: Alejandro Alcalde Date: Mon, 15 Oct 2012 12:51:56 +0200 Subject: [PATCH] Layout of notification_list changed, fixed bug in NotificationItem when checking if a user has photo that caused NullPointerException. --- SWADroid/project.properties | 2 +- .../res/layout/notifications_list_item.xml | 44 ++++++++++++------- .../notifications/NotificationItem.java | 13 +++--- .../NotificationsCursorAdapter.java | 12 ++--- 4 files changed, 41 insertions(+), 30 deletions(-) diff --git a/SWADroid/project.properties b/SWADroid/project.properties index b0439b16..7ab1bfeb 100644 --- a/SWADroid/project.properties +++ b/SWADroid/project.properties @@ -8,5 +8,5 @@ # project structure. # Project target. -target=android-15 +target=Google Inc.:Google APIs:16 android.library=false diff --git a/SWADroid/res/layout/notifications_list_item.xml b/SWADroid/res/layout/notifications_list_item.xml index 8c9fd2a7..5052fb8d 100644 --- a/SWADroid/res/layout/notifications_list_item.xml +++ b/SWADroid/res/layout/notifications_list_item.xml @@ -21,21 +21,6 @@ android:layout_height="wrap_content"> - - - - - + + + + + + + + +