2019-06-03 23:25:05 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2019-10-01 12:05:26 +02:00
|
|
|
<LinearLayout
|
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
2019-06-03 23:25:05 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2019-10-01 12:05:26 +02:00
|
|
|
android:layout_margin="15dp"
|
|
|
|
android:id="@+id/milestoneFrame"
|
2020-03-04 20:37:28 +01:00
|
|
|
android:background="?attr/primaryBackgroundColor"
|
2019-10-01 12:05:26 +02:00
|
|
|
android:orientation="vertical">
|
2019-06-03 23:25:05 +02:00
|
|
|
|
2019-09-12 07:29:41 +02:00
|
|
|
<LinearLayout
|
2019-10-01 12:05:26 +02:00
|
|
|
android:id="@+id/frameTitle"
|
2019-06-03 23:25:05 +02:00
|
|
|
android:layout_width="match_parent"
|
2019-10-01 12:05:26 +02:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="horizontal">
|
2019-06-03 23:25:05 +02:00
|
|
|
|
2019-10-01 12:05:26 +02:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/milestoneTitle"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:textIsSelectable="true"
|
2019-06-03 23:25:05 +02:00
|
|
|
android:layout_height="wrap_content"
|
2019-10-01 12:05:26 +02:00
|
|
|
android:layout_weight=".80"
|
|
|
|
android:layout_marginBottom="5dp"
|
2020-03-04 20:37:28 +01:00
|
|
|
android:textColor="?attr/primaryTextColor"
|
2019-10-01 12:05:26 +02:00
|
|
|
android:textSize="18sp" />
|
2019-06-03 23:25:05 +02:00
|
|
|
|
2019-10-01 12:05:26 +02:00
|
|
|
<ImageView
|
|
|
|
android:id="@+id/milestoneState"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight=".15"
|
|
|
|
android:layout_gravity="end"
|
|
|
|
android:gravity="end"
|
|
|
|
android:contentDescription="@string/pageTitleCreateMilestone"
|
|
|
|
android:layout_marginBottom="5dp" />
|
2019-06-03 23:25:05 +02:00
|
|
|
|
2019-10-01 12:05:26 +02:00
|
|
|
</LinearLayout>
|
2019-06-03 23:25:05 +02:00
|
|
|
|
2019-10-01 12:05:26 +02:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/milestoneDescription"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/repoDescription"
|
|
|
|
android:textIsSelectable="true"
|
2020-03-04 20:37:28 +01:00
|
|
|
android:textColor="?attr/primaryTextColor"
|
2019-10-01 12:05:26 +02:00
|
|
|
android:textSize="14sp" />
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="10dp"
|
|
|
|
android:layout_marginBottom="5dp"
|
|
|
|
android:orientation="horizontal">
|
2019-06-03 23:25:05 +02:00
|
|
|
|
|
|
|
<TextView
|
2019-10-01 12:05:26 +02:00
|
|
|
android:id="@+id/milestoneIssuesClosed"
|
|
|
|
android:layout_width="0dp"
|
2019-06-03 23:25:05 +02:00
|
|
|
android:layout_height="wrap_content"
|
2019-10-01 12:05:26 +02:00
|
|
|
android:layout_weight="8"
|
|
|
|
android:text="@string/repoWatchers"
|
|
|
|
android:gravity="start"
|
2020-03-04 20:37:28 +01:00
|
|
|
android:textColor="?attr/primaryTextColor"
|
2019-10-01 12:05:26 +02:00
|
|
|
android:textSize="14sp" />
|
2019-06-03 23:25:05 +02:00
|
|
|
|
2019-10-01 12:05:26 +02:00
|
|
|
<ProgressBar
|
|
|
|
android:id="@+id/milestoneProgress"
|
|
|
|
style="@style/Widget.AppCompat.ProgressBar.Horizontal"
|
|
|
|
android:layout_width="0dp"
|
2019-06-03 23:25:05 +02:00
|
|
|
android:layout_height="wrap_content"
|
2019-10-01 19:45:21 +02:00
|
|
|
android:layout_weight="80"
|
2019-10-01 12:05:26 +02:00
|
|
|
android:progress="50"
|
|
|
|
android:layout_marginTop="2dp"
|
|
|
|
android:progressDrawable="@drawable/progress_bar"
|
|
|
|
android:progressTint="@color/colorLightGreen" />
|
2019-06-03 23:25:05 +02:00
|
|
|
|
2019-10-01 12:05:26 +02:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/milestoneIssuesOpen"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="8"
|
|
|
|
android:text="@string/repoStars"
|
|
|
|
android:gravity="end"
|
2020-03-04 20:37:28 +01:00
|
|
|
android:textColor="?attr/primaryTextColor"
|
2019-10-01 12:05:26 +02:00
|
|
|
android:textSize="14sp" />
|
2019-06-03 23:25:05 +02:00
|
|
|
|
2019-10-01 12:05:26 +02:00
|
|
|
</LinearLayout>
|
2019-06-03 23:25:05 +02:00
|
|
|
|
2019-10-01 12:05:26 +02:00
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:orientation="horizontal">
|
2019-06-03 23:25:05 +02:00
|
|
|
|
2019-10-01 12:05:26 +02:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/milestoneDueDate"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/repoWatchers"
|
|
|
|
android:gravity="start"
|
|
|
|
android:layout_marginTop="5dp"
|
2020-03-04 20:37:28 +01:00
|
|
|
android:textColor="?attr/primaryTextColor"
|
2019-10-01 12:05:26 +02:00
|
|
|
android:textSize="16sp" />
|
2019-06-03 23:25:05 +02:00
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
2019-10-01 12:05:26 +02:00
|
|
|
</LinearLayout>
|