diff --git a/app/src/main/java/org/mian/gitnex/activities/IssueDetailActivity.java b/app/src/main/java/org/mian/gitnex/activities/IssueDetailActivity.java index 21b01dca..386c2797 100644 --- a/app/src/main/java/org/mian/gitnex/activities/IssueDetailActivity.java +++ b/app/src/main/java/org/mian/gitnex/activities/IssueDetailActivity.java @@ -500,11 +500,6 @@ public class IssueDetailActivity extends BaseActivity implements LabelsListAdapt assert issueCommentsMain != null; - if(issueCommentsMain.size() > 0) { - - viewBinding.divider.setVisibility(View.VISIBLE); - } - Bundle bundle = new Bundle(); bundle.putString("repoOwner", repoOwner); bundle.putString("repoName", repoName); diff --git a/app/src/main/res/layout/activity_issue_detail.xml b/app/src/main/res/layout/activity_issue_detail.xml index ac85de31..04ae4e9e 100644 --- a/app/src/main/res/layout/activity_issue_detail.xml +++ b/app/src/main/res/layout/activity_issue_detail.xml @@ -86,222 +86,233 @@ + android:layout_height="wrap_content" + android:padding="@dimen/dimen8dp"> - - - - - - - - - + style="?attr/materialCardViewFilledStyle" + android:layout_marginBottom="@dimen/dimen4dp" + app:cardElevation="@dimen/dimen0dp"> - + android:orientation="vertical" + android:padding="@dimen/dimen16dp"> - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - + android:id="@+id/labelsScrollView" + android:layout_alignParentEnd="false" + android:foregroundGravity="right" + android:scrollbarThumbHorizontal="@android:color/transparent" + android:fillViewport="true"> - + + + + + + android:id="@+id/issueTimeFrame" + android:layout_below="@+id/labelsScrollView" + android:orientation="horizontal" + android:layout_marginTop="@dimen/dimen10dp"> - + + + + + + + + + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + android:layout_height="match_parent" + android:background="?attr/primaryBackgroundColor" + android:layout_below="@+id/mainThreadCard"> + android:paddingBottom="@dimen/dimen72dp" + android:clipToPadding="false" /> - + diff --git a/app/src/main/res/layout/list_issue_comments.xml b/app/src/main/res/layout/list_issue_comments.xml index 3e93d6f1..cedde46f 100644 --- a/app/src/main/res/layout/list_issue_comments.xml +++ b/app/src/main/res/layout/list_issue_comments.xml @@ -4,91 +4,109 @@ xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="wrap_content" - android:background="?attr/primaryBackgroundColor" android:orientation="vertical" - android:padding="16dp"> + android:paddingTop="@dimen/dimen4dp" + android:paddingBottom="@dimen/dimen4dp"> - - - - - - - + android:layout_height="wrap_content" + style="?attr/materialCardViewFilledStyle" + app:cardElevation="@dimen/dimen0dp"> - + android:layout_height="match_parent" + android:gravity="center_vertical" + android:orientation="horizontal"> - + + + + + + + + + + + + + + + + + + android:layout_marginTop="12dp" + android:textColor="?attr/primaryTextColor" + android:textIsSelectable="true" + android:autoLink="web" + android:textColorLink="@color/lightBlue" + android:textSize="14sp" /> + + + - - - - - - - +