diff --git a/media/android/NewsBlur/res/layout/fragment_readingitem.xml b/media/android/NewsBlur/res/layout/fragment_readingitem.xml index 1839b44b3..193afa464 100644 --- a/media/android/NewsBlur/res/layout/fragment_readingitem.xml +++ b/media/android/NewsBlur/res/layout/fragment_readingitem.xml @@ -104,6 +104,8 @@ android:layout_gravity="center_vertical" android:paddingBottom="10dp" android:paddingTop="10dp" + android:paddingLeft="10dp" + android:paddingRight="10dp" android:visibility="gone" > @@ -131,7 +133,7 @@ android:layout_alignParentRight="true" android:layout_centerVertical="true" android:layout_marginRight="15dp" - android:layout_marginLeft="3dp" + android:layout_marginLeft="5dp" android:textColor="@color/darkgray" android:textSize="12sp" android:textStyle="bold" /> diff --git a/media/android/NewsBlur/res/layout/include_comment.xml b/media/android/NewsBlur/res/layout/include_comment.xml index b9df94e49..24bcdac7f 100644 --- a/media/android/NewsBlur/res/layout/include_comment.xml +++ b/media/android/NewsBlur/res/layout/include_comment.xml @@ -1,9 +1,10 @@ + android:orientation="vertical" > - + + android:layout_toLeftOf="@id/comment_favourite_icon" + newsblur:flow="left" /> - - + + + + \ No newline at end of file diff --git a/media/android/NewsBlur/res/layout/include_reply.xml b/media/android/NewsBlur/res/layout/include_reply.xml index 8fafc63d4..4a9b716af 100644 --- a/media/android/NewsBlur/res/layout/include_reply.xml +++ b/media/android/NewsBlur/res/layout/include_reply.xml @@ -10,11 +10,19 @@ android:paddingRight="10dp" android:paddingTop="12dp" > + + + android:textSize="12sp" /> - \ No newline at end of file diff --git a/media/android/NewsBlur/src/com/newsblur/network/SetupCommentSectionTask.java b/media/android/NewsBlur/src/com/newsblur/network/SetupCommentSectionTask.java index 6d55ae72b..a0f3cc6d3 100644 --- a/media/android/NewsBlur/src/com/newsblur/network/SetupCommentSectionTask.java +++ b/media/android/NewsBlur/src/com/newsblur/network/SetupCommentSectionTask.java @@ -255,15 +255,18 @@ public class SetupCommentSectionTask extends AsyncTask { commentCursor.moveToNext(); } - for (View comment : publicCommentViews) { - ((LinearLayout) viewHolder.get().findViewById(R.id.reading_public_comment_container)).addView(comment); + for (int i = 0; i < publicCommentViews.size(); i++) { + if (i == publicCommentViews.size() - 1) { + publicCommentViews.get(i).findViewById(R.id.comment_divider).setVisibility(View.GONE); + } + ((LinearLayout) viewHolder.get().findViewById(R.id.reading_public_comment_container)).addView(publicCommentViews.get(i)); } - for (View comment : friendCommentViews) { - ((LinearLayout) viewHolder.get().findViewById(R.id.reading_friend_comment_container)).addView(comment); + for (int i = 0; i < friendCommentViews.size(); i++) { + if (i == friendCommentViews.size() - 1) { + friendCommentViews.get(i).findViewById(R.id.comment_divider).setVisibility(View.GONE); + } + ((LinearLayout) viewHolder.get().findViewById(R.id.reading_friend_comment_container)).addView(friendCommentViews.get(i)); } - - Log.d("SetupCommentSection", "Friend comments: " + friendCommentViews.size()); - } commentCursor.close();