2019-06-03 23:25:05 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2021-04-13 16:19:42 +02:00
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2020-10-29 13:53:03 +01:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
2021-04-13 16:19:42 +02:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
2020-04-14 22:55:04 +02:00
|
|
|
android:id="@+id/relativeLayoutFrameIssuesList"
|
2019-06-03 23:25:05 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2022-08-26 19:00:08 +02:00
|
|
|
android:paddingTop="@dimen/dimen4dp"
|
|
|
|
android:paddingBottom="@dimen/dimen4dp"
|
|
|
|
android:orientation="vertical">
|
2020-09-30 13:09:24 +02:00
|
|
|
|
2022-08-26 19:00:08 +02:00
|
|
|
<com.google.android.material.card.MaterialCardView
|
2019-06-03 23:25:05 +02:00
|
|
|
android:layout_width="match_parent"
|
2019-09-30 18:12:45 +02:00
|
|
|
android:layout_height="wrap_content"
|
2023-03-26 08:11:59 +02:00
|
|
|
style="?attr/materialCardViewElevatedStyle"
|
2022-08-26 19:00:08 +02:00
|
|
|
app:cardElevation="@dimen/dimen0dp">
|
2021-04-13 16:19:42 +02:00
|
|
|
|
2022-03-28 19:57:47 +02:00
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
2019-06-03 23:25:05 +02:00
|
|
|
android:layout_height="wrap_content"
|
2022-08-26 19:00:08 +02:00
|
|
|
android:foreground="?android:attr/selectableItemBackground"
|
|
|
|
android:background="?attr/materialCardBackgroundColor"
|
|
|
|
android:padding="@dimen/dimen12dp"
|
2022-03-28 19:57:47 +02:00
|
|
|
android:orientation="vertical">
|
|
|
|
|
2022-08-26 19:00:08 +02:00
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/infoSection"
|
|
|
|
android:layout_width="match_parent"
|
2022-03-28 19:57:47 +02:00
|
|
|
android:layout_height="wrap_content"
|
2022-08-26 19:00:08 +02:00
|
|
|
android:orientation="horizontal"
|
|
|
|
tools:ignore="UseCompoundDrawables">
|
|
|
|
|
|
|
|
<com.google.android.material.card.MaterialCardView
|
|
|
|
android:layout_width="@dimen/dimen24dp"
|
|
|
|
android:layout_height="@dimen/dimen24dp"
|
2023-03-26 08:11:59 +02:00
|
|
|
style="?attr/materialCardViewElevatedStyle"
|
2022-08-26 19:00:08 +02:00
|
|
|
app:cardElevation="@dimen/dimen0dp"
|
|
|
|
android:layout_marginEnd="@dimen/dimen12dp"
|
|
|
|
app:cardCornerRadius="@dimen/dimen12dp">
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/assigneeAvatar"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:contentDescription="@string/generalImgContentText"
|
|
|
|
tools:src="@tools:sample/avatars"/>
|
|
|
|
|
|
|
|
</com.google.android.material.card.MaterialCardView>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/titleLabelsSection"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/issueTitle"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:gravity="top|center_vertical"
|
|
|
|
android:text="@string/newIssueTitle"
|
|
|
|
android:textAlignment="gravity"
|
|
|
|
android:textColor="?attr/primaryTextColor"
|
2022-09-14 20:40:44 +02:00
|
|
|
android:textSize="@dimen/dimen16sp"
|
|
|
|
tools:text="Id illum odio repellat omnis fuga deserunt aut. Ut est aut similique qui incidunt quia et." />
|
2022-08-26 19:00:08 +02:00
|
|
|
|
|
|
|
<HorizontalScrollView
|
|
|
|
android:id="@+id/labelsScrollViewDots"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2022-09-14 20:40:44 +02:00
|
|
|
android:layout_marginBottom="@dimen/dimen8dp"
|
|
|
|
android:fillViewport="true"
|
2022-08-26 19:00:08 +02:00
|
|
|
android:foregroundGravity="right"
|
|
|
|
android:scrollbarThumbHorizontal="@android:color/transparent"
|
2022-09-14 20:40:44 +02:00
|
|
|
android:visibility="gone">
|
2022-08-26 19:00:08 +02:00
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/frameLabelsDots"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2022-09-14 20:40:44 +02:00
|
|
|
android:layout_marginTop="@dimen/dimen10dp"
|
|
|
|
android:orientation="horizontal" />
|
2022-08-26 19:00:08 +02:00
|
|
|
|
|
|
|
</HorizontalScrollView>
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</LinearLayout>
|
2022-03-28 19:57:47 +02:00
|
|
|
|
|
|
|
<HorizontalScrollView
|
2022-08-26 19:00:08 +02:00
|
|
|
android:id="@+id/labelsScrollViewWithText"
|
2022-03-28 19:57:47 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2022-09-14 20:40:44 +02:00
|
|
|
android:layout_marginBottom="@dimen/dimen8dp"
|
|
|
|
android:fillViewport="true"
|
2022-08-15 16:26:02 +02:00
|
|
|
android:foregroundGravity="right"
|
2022-03-28 19:57:47 +02:00
|
|
|
android:scrollbarThumbHorizontal="@android:color/transparent"
|
2022-09-14 20:40:44 +02:00
|
|
|
android:visibility="gone">
|
2022-03-28 19:57:47 +02:00
|
|
|
|
|
|
|
<LinearLayout
|
2022-08-26 19:00:08 +02:00
|
|
|
android:id="@+id/frameLabels"
|
2022-03-28 19:57:47 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2022-09-14 20:40:44 +02:00
|
|
|
android:layout_marginTop="@dimen/dimen10dp"
|
|
|
|
android:orientation="horizontal" />
|
2022-03-28 19:57:47 +02:00
|
|
|
|
|
|
|
</HorizontalScrollView>
|
|
|
|
|
2022-08-26 19:00:08 +02:00
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/issueInfoFrame"
|
|
|
|
android:layout_width="match_parent"
|
2021-03-21 16:56:54 +01:00
|
|
|
android:layout_height="wrap_content"
|
2021-04-13 16:19:42 +02:00
|
|
|
android:gravity="center_vertical"
|
2022-08-26 19:00:08 +02:00
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/issueCreatedTime"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:gravity="start"
|
|
|
|
android:textColor="?attr/hintColor"
|
2022-09-14 20:40:44 +02:00
|
|
|
android:textSize="@dimen/dimen12sp"
|
|
|
|
tools:text="10.01.2020" />
|
2022-08-26 19:00:08 +02:00
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/frameCommentsCount"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="end"
|
2022-09-14 20:40:44 +02:00
|
|
|
android:layout_marginStart="@dimen/dimen10dp"
|
|
|
|
android:layout_marginEnd="@dimen/dimen6dp"
|
2022-08-26 19:00:08 +02:00
|
|
|
android:layout_weight="1"
|
|
|
|
android:gravity="end"
|
|
|
|
android:orientation="horizontal"
|
2022-09-14 20:40:44 +02:00
|
|
|
android:paddingLeft="@dimen/dimen4dp"
|
|
|
|
android:paddingRight="@dimen/dimen4dp"
|
2022-08-26 19:00:08 +02:00
|
|
|
tools:ignore="UseCompoundDrawables">
|
|
|
|
|
|
|
|
<ImageView
|
2022-09-14 20:40:44 +02:00
|
|
|
android:id="@+id/comment_icon"
|
|
|
|
android:layout_width="@dimen/dimen16dp"
|
|
|
|
android:layout_height="@dimen/dimen16dp"
|
|
|
|
android:layout_marginStart="@dimen/dimen2dp"
|
|
|
|
android:layout_marginEnd="@dimen/dimen4dp"
|
2022-08-26 19:00:08 +02:00
|
|
|
android:contentDescription="@string/generalImgContentText"
|
|
|
|
app:srcCompat="@drawable/ic_comment"
|
2022-09-14 20:40:44 +02:00
|
|
|
app:tint="?attr/iconsColor" />
|
2022-08-26 19:00:08 +02:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/issueCommentsCount"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:text="@string/repoStars"
|
|
|
|
android:textColor="?attr/primaryTextColor"
|
2022-09-14 20:40:44 +02:00
|
|
|
android:textSize="@dimen/dimen14sp"
|
|
|
|
tools:text="50" />
|
2022-08-26 19:00:08 +02:00
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</LinearLayout>
|
2021-03-21 16:56:54 +01:00
|
|
|
|
2019-06-03 23:25:05 +02:00
|
|
|
</LinearLayout>
|
|
|
|
|
2022-08-26 19:00:08 +02:00
|
|
|
</com.google.android.material.card.MaterialCardView>
|
2019-06-03 23:25:05 +02:00
|
|
|
|
2021-04-13 16:19:42 +02:00
|
|
|
</LinearLayout>
|