2019-06-03 23:25:05 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2020-08-06 17:16:51 +02:00
|
|
|
<androidx.coordinatorlayout.widget.CoordinatorLayout
|
2019-06-08 21:50:08 +02:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
2019-06-03 23:25:05 +02:00
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
2020-05-30 18:59:52 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:orientation="vertical"
|
2020-03-04 20:37:28 +01:00
|
|
|
android:background="?attr/primaryBackgroundColor">
|
2019-06-03 23:25:05 +02:00
|
|
|
|
|
|
|
<com.google.android.material.appbar.AppBarLayout
|
2020-03-28 13:44:45 +01:00
|
|
|
android:id="@+id/appbar"
|
2019-06-03 23:25:05 +02:00
|
|
|
android:layout_width="match_parent"
|
2019-06-08 21:50:08 +02:00
|
|
|
android:layout_height="wrap_content"
|
2020-03-28 13:44:45 +01:00
|
|
|
android:theme="@style/Widget.AppCompat.SearchView">
|
2019-06-03 23:25:05 +02:00
|
|
|
|
2020-08-08 17:43:14 +02:00
|
|
|
<com.google.android.material.appbar.MaterialToolbar
|
2019-06-03 23:25:05 +02:00
|
|
|
android:id="@+id/toolbar"
|
|
|
|
android:layout_width="match_parent"
|
2020-08-09 10:23:51 +02:00
|
|
|
android:layout_height="wrap_content"
|
2020-08-08 17:43:14 +02:00
|
|
|
android:background="?attr/primaryBackgroundColor">
|
2020-01-02 08:51:10 +01:00
|
|
|
|
2020-09-13 06:52:30 +02:00
|
|
|
<ImageView
|
|
|
|
android:id="@+id/issuePrState"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:src="@drawable/ic_issue"
|
|
|
|
android:paddingStart="0dp"
|
|
|
|
android:paddingEnd="8dp"
|
|
|
|
android:visibility="gone"
|
|
|
|
android:contentDescription="@string/generalImgContentText" />
|
|
|
|
|
2020-01-02 08:51:10 +01:00
|
|
|
<TextView
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:textSize="18sp"
|
2020-03-04 20:37:28 +01:00
|
|
|
android:textColor="?attr/primaryTextColor"
|
2020-01-02 08:51:10 +01:00
|
|
|
android:id="@+id/toolbar_title" />
|
|
|
|
|
2020-08-08 17:43:14 +02:00
|
|
|
</com.google.android.material.appbar.MaterialToolbar>
|
2019-06-03 23:25:05 +02:00
|
|
|
|
|
|
|
</com.google.android.material.appbar.AppBarLayout>
|
|
|
|
|
2020-08-09 10:23:51 +02:00
|
|
|
<com.google.android.material.progressindicator.ProgressIndicator
|
|
|
|
android:id="@+id/progressBar"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="56dp"
|
|
|
|
style="@style/Widget.MaterialComponents.ProgressIndicator.Linear.Indeterminate"
|
|
|
|
app:indicatorColor="?attr/progressIndicatorColor" />
|
|
|
|
|
|
|
|
<com.google.android.material.floatingactionbutton.ExtendedFloatingActionButton
|
|
|
|
android:id="@+id/addNewComment"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_margin="16dp"
|
|
|
|
android:text="@string/commentButtonText"
|
|
|
|
android:contentDescription="@string/commentButtonText"
|
|
|
|
android:textColor="@color/colorWhite"
|
2020-08-20 18:21:55 +02:00
|
|
|
android:backgroundTint="?attr/fabColor"
|
2020-08-09 10:23:51 +02:00
|
|
|
android:layout_gravity="bottom|end"
|
|
|
|
app:layout_behavior="com.google.android.material.behavior.HideBottomViewOnScrollBehavior"
|
|
|
|
app:iconTint="@color/colorWhite"
|
|
|
|
app:icon="@drawable/ic_reply" />
|
|
|
|
|
2019-06-03 23:25:05 +02:00
|
|
|
<RelativeLayout
|
|
|
|
android:id="@+id/relativeMainLayoutFrame"
|
|
|
|
android:layout_width="match_parent"
|
2020-08-09 10:23:51 +02:00
|
|
|
android:layout_marginTop="56dp"
|
2020-03-05 16:23:15 +01:00
|
|
|
android:layout_height="match_parent">
|
2019-06-03 23:25:05 +02:00
|
|
|
|
|
|
|
<androidx.swiperefreshlayout.widget.SwipeRefreshLayout
|
|
|
|
android:id="@+id/pullToRefresh"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content">
|
|
|
|
|
|
|
|
<ScrollView
|
2020-05-30 18:59:52 +02:00
|
|
|
android:layout_width="wrap_content"
|
2019-06-03 23:25:05 +02:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:id="@+id/scrollViewComments"
|
|
|
|
android:fillViewport="true">
|
|
|
|
|
|
|
|
<RelativeLayout
|
|
|
|
android:id="@+id/relativeLayoutFrame"
|
|
|
|
android:layout_width="match_parent"
|
2020-05-30 18:59:52 +02:00
|
|
|
android:layout_height="wrap_content">
|
2019-06-03 23:25:05 +02:00
|
|
|
|
|
|
|
<RelativeLayout
|
2020-05-30 18:59:52 +02:00
|
|
|
android:id="@+id/mainIssueLayout"
|
2019-06-03 23:25:05 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2020-05-30 18:59:52 +02:00
|
|
|
android:orientation="vertical"
|
|
|
|
android:padding="15dp">
|
2019-06-03 23:25:05 +02:00
|
|
|
|
2020-05-30 18:59:52 +02:00
|
|
|
<ImageView
|
|
|
|
android:id="@+id/assigneeAvatar"
|
|
|
|
android:layout_width="48dp"
|
|
|
|
android:layout_height="48dp"
|
|
|
|
android:layout_marginEnd="15dp"
|
|
|
|
android:contentDescription="@string/generalImgContentText" />
|
2019-06-03 23:25:05 +02:00
|
|
|
|
|
|
|
<TextView
|
2020-05-30 18:59:52 +02:00
|
|
|
android:id="@+id/issueTitle"
|
|
|
|
android:layout_toEndOf="@+id/assigneeAvatar"
|
|
|
|
android:layout_width="match_parent"
|
2019-06-03 23:25:05 +02:00
|
|
|
android:layout_height="wrap_content"
|
2020-05-30 18:59:52 +02:00
|
|
|
android:gravity="start"
|
2020-03-04 20:37:28 +01:00
|
|
|
android:textColor="?attr/primaryTextColor"
|
2020-05-30 18:59:52 +02:00
|
|
|
android:textIsSelectable="true"
|
|
|
|
android:textSize="18sp" />
|
|
|
|
|
|
|
|
<RelativeLayout
|
|
|
|
android:id="@+id/msdueFrame"
|
|
|
|
android:layout_toEndOf="@+id/assigneeAvatar"
|
|
|
|
android:layout_below="@+id/issueTitle"
|
|
|
|
android:layout_width="match_parent"
|
2019-06-03 23:25:05 +02:00
|
|
|
android:layout_height="wrap_content"
|
2020-05-30 18:59:52 +02:00
|
|
|
android:layout_marginTop="10dp" >
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/issueDueDate"
|
|
|
|
android:gravity="start"
|
|
|
|
android:layout_alignParentStart="true"
|
|
|
|
android:layout_gravity="start"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:textColor="?attr/primaryTextColor"
|
|
|
|
android:textSize="14sp" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_toEndOf="@+id/issueDueDate"
|
|
|
|
android:id="@+id/issueMilestone"
|
|
|
|
android:gravity="end"
|
|
|
|
android:layout_gravity="end"
|
|
|
|
android:layout_alignParentEnd="true"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:textColor="?attr/primaryTextColor"
|
|
|
|
android:textSize="14sp" />
|
|
|
|
|
|
|
|
</RelativeLayout>
|
|
|
|
|
|
|
|
<HorizontalScrollView
|
|
|
|
android:layout_below="@+id/msdueFrame"
|
|
|
|
android:layout_width="match_parent"
|
2019-06-03 23:25:05 +02:00
|
|
|
android:layout_height="wrap_content"
|
2020-05-30 18:59:52 +02:00
|
|
|
android:id="@+id/assigneesScrollView"
|
|
|
|
android:layout_alignParentEnd="false"
|
|
|
|
android:foregroundGravity="right"
|
|
|
|
android:scrollbarThumbHorizontal="@android:color/transparent"
|
|
|
|
android:fillViewport="true">
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/frameAssignees"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="horizontal"
|
|
|
|
android:layout_gravity="end"
|
|
|
|
android:gravity="end"
|
|
|
|
android:layout_marginTop="10dp">
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
</HorizontalScrollView>
|
2019-06-03 23:25:05 +02:00
|
|
|
|
|
|
|
<TextView
|
2020-05-30 18:59:52 +02:00
|
|
|
android:id="@+id/issueDescription"
|
|
|
|
android:layout_below="@+id/assigneesScrollView"
|
|
|
|
android:layout_width="match_parent"
|
2019-06-03 23:25:05 +02:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:gravity="start"
|
2020-03-04 20:37:28 +01:00
|
|
|
android:textColor="?attr/primaryTextColor"
|
2020-05-30 18:59:52 +02:00
|
|
|
android:autoLink="web"
|
|
|
|
android:textColorLink="@color/lightBlue"
|
|
|
|
android:textIsSelectable="true"
|
|
|
|
android:textSize="16sp" />
|
|
|
|
|
|
|
|
<HorizontalScrollView
|
|
|
|
android:layout_below="@+id/issueDescription"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:id="@+id/labelsScrollView"
|
|
|
|
android:layout_alignParentEnd="false"
|
|
|
|
android:foregroundGravity="right"
|
|
|
|
android:scrollbarThumbHorizontal="@android:color/transparent"
|
|
|
|
android:fillViewport="true">
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/frameLabels"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="horizontal"
|
|
|
|
android:layout_marginTop="10dp">
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
</HorizontalScrollView>
|
|
|
|
|
|
|
|
<RelativeLayout
|
2019-06-03 23:25:05 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2020-05-30 18:59:52 +02:00
|
|
|
android:id="@+id/issueTimeFrame"
|
|
|
|
android:layout_below="@+id/labelsScrollView"
|
|
|
|
android:orientation="horizontal"
|
|
|
|
android:layout_marginTop="10dp">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/issueCreatedTime"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:gravity="start"
|
|
|
|
android:text="@string/createdText"
|
|
|
|
android:visibility="gone"
|
|
|
|
android:textColor="?attr/primaryTextColor"
|
|
|
|
android:textSize="12sp" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/issueModified"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:textColor="?attr/primaryTextColor"
|
|
|
|
android:layout_toEndOf="@+id/issueCreatedTime"
|
|
|
|
android:textSize="12sp"
|
|
|
|
android:visibility="gone"
|
|
|
|
android:text="@string/modifiedText" />
|
|
|
|
|
|
|
|
</RelativeLayout>
|
2019-06-03 23:25:05 +02:00
|
|
|
|
2020-11-08 19:58:47 +01:00
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/commentReactionBadges"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_below="@+id/issueTimeFrame"
|
|
|
|
android:layout_marginTop="10dp"
|
|
|
|
android:orientation="horizontal" />
|
|
|
|
|
2019-06-03 23:25:05 +02:00
|
|
|
</RelativeLayout>
|
|
|
|
|
|
|
|
<View
|
2020-05-30 18:59:52 +02:00
|
|
|
android:layout_below="@id/mainIssueLayout"
|
2019-06-03 23:25:05 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="1dp"
|
|
|
|
android:id="@+id/divider"
|
2020-05-30 18:59:52 +02:00
|
|
|
android:visibility="gone"
|
|
|
|
android:background="?attr/dividerColor" />
|
2019-06-03 23:25:05 +02:00
|
|
|
|
2020-05-30 18:59:52 +02:00
|
|
|
<LinearLayout
|
2019-06-03 23:25:05 +02:00
|
|
|
android:layout_width="match_parent"
|
2020-05-30 18:59:52 +02:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_below="@+id/divider">
|
|
|
|
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
|
|
android:id="@+id/recyclerView"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:background="?attr/primaryBackgroundColor"
|
|
|
|
android:scrollbars="vertical" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
2019-06-03 23:25:05 +02:00
|
|
|
|
|
|
|
</RelativeLayout>
|
|
|
|
|
|
|
|
</ScrollView>
|
|
|
|
|
|
|
|
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
|
|
|
|
|
|
|
|
</RelativeLayout>
|
|
|
|
|
2020-08-06 17:16:51 +02:00
|
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|