From 43d29c1cf398d77f5b5f1e510a342755d9ae1f4f Mon Sep 17 00:00:00 2001 From: Kent Nguyen Date: Fri, 13 Dec 2013 00:24:45 -0800 Subject: [PATCH] unread msg count updates properly --- PenPal/gen/edu/berkeley/cs160/off_by_1/R.java | 9 +- PenPal/res/layout/activity_meet_pen_pal.xml | 100 ++++++++++-------- PenPal/res/layout/activity_message_sent.xml | 2 +- PenPal/res/layout/activity_profile.xml | 51 +++++---- PenPal/res/values/strings.xml | 12 +-- .../berkeley/cs160/off_by_1/FriendList.java | 23 ---- .../src/edu/berkeley/cs160/off_by_1/Home.java | 34 ++++-- .../berkeley/cs160/off_by_1/MeetPenPal.java | 8 +- .../edu/berkeley/cs160/off_by_1/Profile.java | 4 +- 9 files changed, 122 insertions(+), 121 deletions(-) diff --git a/PenPal/gen/edu/berkeley/cs160/off_by_1/R.java b/PenPal/gen/edu/berkeley/cs160/off_by_1/R.java index e202861..cb68cfc 100644 --- a/PenPal/gen/edu/berkeley/cs160/off_by_1/R.java +++ b/PenPal/gen/edu/berkeley/cs160/off_by_1/R.java @@ -1059,10 +1059,10 @@ public static final class id { public static final int image=0x7f070027; public static final int imageView1=0x7f07004a; public static final int kk=0x7f070065; - public static final int language=0x7f07005c; + public static final int language=0x7f07005d; public static final int listMode=0x7f070001; public static final int list_item=0x7f070029; - public static final int location=0x7f07005d; + public static final int location=0x7f07005c; public static final int mainSpinner1=0x7f070067; public static final int meetPenPalText=0x7f070055; public static final int messageSent=0x7f070059; @@ -1266,6 +1266,7 @@ public static final class string { public static final int green=0x7f0c0030; public static final int hello_user=0x7f0c001a; public static final int home_button=0x7f0c0016; + public static final int internet_error=0x7f0c003f; public static final int language=0x7f0c003c; public static final int largesize=0x7f0c0038; public static final int location=0x7f0c003b; @@ -1278,7 +1279,7 @@ public static final class string { public static final int red=0x7f0c002b; public static final int reply_button=0x7f0c0026; public static final int research_pen_pal=0x7f0c0028; - public static final int send_another=0x7f0c003f; + public static final int send_another=0x7f0c0040; public static final int send_message_button=0x7f0c0029; public static final int send_message_text=0x7f0c001f; public static final int smallsize=0x7f0c0036; @@ -1292,7 +1293,7 @@ public static final class string { public static final int title_activity_receive_message=0x7f0c0011; public static final int title_activity_send_message=0x7f0c0013; public static final int to_user=0x7f0c0025; - public static final int undo=0x7f0c0040; + public static final int undo=0x7f0c0041; public static final int user_profile=0x7f0c002a; public static final int voice_message=0x7f0c0023; public static final int yellow=0x7f0c002e; diff --git a/PenPal/res/layout/activity_meet_pen_pal.xml b/PenPal/res/layout/activity_meet_pen_pal.xml index ddb1c1c..ed74d2c 100644 --- a/PenPal/res/layout/activity_meet_pen_pal.xml +++ b/PenPal/res/layout/activity_meet_pen_pal.xml @@ -8,52 +8,58 @@ android:paddingTop="@dimen/activity_vertical_margin" tools:context=".MeetPenPal" > - - - - - - - + -