2019-06-03 23:25:05 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2020-05-30 18:59:52 +02:00
|
|
|
<LinearLayout
|
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
|
|
|
|
|
|
|
<androidx.appcompat.widget.Toolbar
|
|
|
|
android:id="@+id/toolbar"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="?attr/actionBarSize"
|
2019-06-08 21:50:08 +02:00
|
|
|
android:layout_weight="1"
|
2020-03-04 20:37:28 +01:00
|
|
|
android:background="?attr/primaryBackgroundColor"
|
2019-06-08 21:50:08 +02:00
|
|
|
app:popupTheme="@style/AppTheme.PopupOverlay"
|
2020-01-02 08:51:10 +01:00
|
|
|
app:title="@string/app_name" >
|
|
|
|
|
|
|
|
<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" />
|
|
|
|
|
|
|
|
</androidx.appcompat.widget.Toolbar>
|
2019-06-03 23:25:05 +02:00
|
|
|
|
|
|
|
</com.google.android.material.appbar.AppBarLayout>
|
|
|
|
|
|
|
|
<RelativeLayout
|
|
|
|
android:id="@+id/relativeMainLayoutFrame"
|
|
|
|
android:layout_width="match_parent"
|
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
|
|
|
|
|
|
|
</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>
|
|
|
|
|
2020-04-07 22:06:39 +02:00
|
|
|
<ImageView
|
|
|
|
android:id="@+id/addNewComment"
|
|
|
|
android:src="@drawable/ic_reply"
|
2020-08-04 22:50:04 +02:00
|
|
|
android:tint="@color/colorWhite"
|
2020-04-07 22:06:39 +02:00
|
|
|
android:layout_width="54dp"
|
|
|
|
android:layout_height="54dp"
|
|
|
|
android:layout_margin="15dp"
|
|
|
|
android:layout_alignParentBottom="true"
|
|
|
|
android:layout_alignParentEnd="true"
|
2020-07-12 19:18:50 +02:00
|
|
|
android:background="@drawable/shape_circle"
|
2020-04-07 22:06:39 +02:00
|
|
|
android:padding="@dimen/fab_padding"
|
|
|
|
android:contentDescription="@string/addNewContent" />
|
|
|
|
|
2020-05-30 18:59:52 +02:00
|
|
|
<ProgressBar
|
|
|
|
android:id="@+id/progressBar"
|
|
|
|
style="@style/Base.Widget.AppCompat.ProgressBar"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:visibility="visible"
|
|
|
|
android:layout_centerInParent="true" />
|
|
|
|
|
2019-06-03 23:25:05 +02:00
|
|
|
</RelativeLayout>
|
|
|
|
|
2020-05-30 18:59:52 +02:00
|
|
|
</LinearLayout>
|