2019-06-03 23:25:05 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:background="@color/backgroundColor" >
|
|
|
|
|
2019-09-12 07:29:41 +02:00
|
|
|
<RelativeLayout
|
2019-06-03 23:25:05 +02:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:id="@+id/linearLayoutFrame"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_alignParentTop="true"
|
|
|
|
android:layout_marginTop="0dp"
|
|
|
|
android:fitsSystemWindows="true"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:padding="10dp"
|
|
|
|
android:theme="@style/AppTheme"
|
|
|
|
tools:context=".activities.MainActivity">
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/imageAvatarMy"
|
|
|
|
android:layout_width="40dp"
|
|
|
|
android:layout_height="40dp"
|
|
|
|
android:layout_marginEnd="15dp"
|
2019-09-30 19:39:33 +02:00
|
|
|
android:layout_marginTop="5dp"
|
2019-06-03 23:25:05 +02:00
|
|
|
android:contentDescription="@string/repoContentAvatar"
|
|
|
|
android:src="@drawable/ic_android" />
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/infoSection"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_toEndOf="@+id/imageAvatarMy"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/frameRepoName"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/repoNameMy"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight=".95"
|
|
|
|
android:layout_marginBottom="5dp"
|
|
|
|
android:text="@string/repoName"
|
|
|
|
android:textColor="@color/white"
|
|
|
|
android:textSize="18sp" />
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:layout_weight=".05"
|
|
|
|
android:id="@+id/imageRepoTypeMy"
|
|
|
|
android:layout_width="10dp"
|
2019-09-30 19:39:33 +02:00
|
|
|
android:layout_height="25dp"
|
2019-06-03 23:25:05 +02:00
|
|
|
android:layout_gravity="end"
|
2019-09-30 19:39:33 +02:00
|
|
|
android:layout_marginTop="5dp"
|
2019-06-03 23:25:05 +02:00
|
|
|
android:contentDescription="@string/privateAvatar"
|
|
|
|
android:src="@drawable/ic_lock_bold" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/repoFullNameMy"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginBottom="5dp"
|
|
|
|
android:text="@string/repoFullname"
|
|
|
|
android:textColor="@color/colorWhite"
|
|
|
|
android:textSize="16sp" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/repoDescriptionMy"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginBottom="10dp"
|
|
|
|
android:text="@string/repoDescription"
|
|
|
|
android:textColor="@color/colorWhite"
|
|
|
|
android:textSize="16sp"
|
|
|
|
android:visibility="gone" />
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_marginTop="8dp"
|
|
|
|
android:layout_marginBottom="8dp"
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
<TextView
|
2019-09-13 17:56:30 +02:00
|
|
|
android:id="@+id/repoOpenIssuesCountMy"
|
2019-06-03 23:25:05 +02:00
|
|
|
android:layout_width="0dp"
|
2019-09-13 17:56:30 +02:00
|
|
|
android:layout_height="20dp"
|
2019-06-03 23:25:05 +02:00
|
|
|
android:layout_weight=".25"
|
2019-09-13 17:56:30 +02:00
|
|
|
android:drawableStart="@drawable/ic_issue_comments"
|
2019-06-03 23:25:05 +02:00
|
|
|
android:drawablePadding="6dp"
|
2019-09-13 17:56:30 +02:00
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:text="@string/repoWatchers"
|
2019-06-03 23:25:05 +02:00
|
|
|
android:textColor="@color/colorWhite"
|
|
|
|
android:textSize="16sp" />
|
|
|
|
|
|
|
|
<TextView
|
2019-09-13 17:56:30 +02:00
|
|
|
android:id="@+id/repoStarsMy"
|
2019-06-03 23:25:05 +02:00
|
|
|
android:layout_width="0dp"
|
2019-09-13 17:56:30 +02:00
|
|
|
android:layout_height="20dp"
|
2019-06-03 23:25:05 +02:00
|
|
|
android:layout_weight=".25"
|
2019-09-13 17:56:30 +02:00
|
|
|
android:drawableStart="@drawable/ic_star"
|
2019-06-03 23:25:05 +02:00
|
|
|
android:drawablePadding="6dp"
|
2019-09-13 17:56:30 +02:00
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:text="@string/repoStars"
|
2019-06-03 23:25:05 +02:00
|
|
|
android:textColor="@color/colorWhite"
|
|
|
|
android:textSize="16sp" />
|
|
|
|
|
|
|
|
<TextView
|
2019-09-13 17:56:30 +02:00
|
|
|
android:id="@+id/repoWatchersMy"
|
2019-06-03 23:25:05 +02:00
|
|
|
android:layout_width="0dp"
|
2019-09-13 17:56:30 +02:00
|
|
|
android:layout_height="20dp"
|
2019-06-03 23:25:05 +02:00
|
|
|
android:layout_weight=".25"
|
2019-09-13 17:56:30 +02:00
|
|
|
android:drawableStart="@drawable/ic_watchers"
|
|
|
|
android:drawablePadding="6dp"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:layout_gravity="center_vertical"
|
2019-06-03 23:25:05 +02:00
|
|
|
android:text="@string/repoWatchers"
|
|
|
|
android:textColor="@color/colorWhite"
|
|
|
|
android:textSize="16sp" />
|
|
|
|
|
2019-09-13 17:56:30 +02:00
|
|
|
<ImageView
|
|
|
|
android:id="@+id/reposDropdownMenu"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_weight=".10"
|
2019-06-03 23:25:05 +02:00
|
|
|
android:layout_height="wrap_content"
|
2019-09-13 17:56:30 +02:00
|
|
|
android:layout_gravity="end"
|
|
|
|
android:scaleType="fitEnd"
|
|
|
|
android:src="@drawable/ic_dotted_menu_horizontal"
|
|
|
|
android:contentDescription="@string/menuContentDesc" />
|
2019-06-03 23:25:05 +02:00
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</RelativeLayout>
|
|
|
|
|
|
|
|
</RelativeLayout>
|