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"
|
2020-04-07 23:17:12 +02:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
2019-06-03 23:25:05 +02:00
|
|
|
android:layout_width="match_parent"
|
2022-08-26 19:00:08 +02:00
|
|
|
android:layout_height="match_parent"
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto">
|
2019-06-03 23:25:05 +02:00
|
|
|
|
2021-12-15 23:39:04 +01:00
|
|
|
<androidx.core.widget.NestedScrollView
|
2022-08-26 19:00:08 +02:00
|
|
|
android:orientation="vertical"
|
2022-08-15 16:26:02 +02:00
|
|
|
android:background="?attr/primaryBackgroundColor"
|
2022-08-26 19:00:08 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent">
|
2019-06-03 23:25:05 +02:00
|
|
|
|
|
|
|
<LinearLayout
|
2022-08-26 19:00:08 +02:00
|
|
|
android:padding="@dimen/dimen8dp"
|
|
|
|
android:orientation="vertical"
|
2019-06-03 23:25:05 +02:00
|
|
|
android:id="@+id/repoInfoLayout"
|
|
|
|
android:layout_width="match_parent"
|
2022-08-26 19:00:08 +02:00
|
|
|
android:layout_height="wrap_content">
|
2019-06-03 23:25:05 +02:00
|
|
|
|
2021-05-01 00:01:22 +02:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/repoIsArchived"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2022-08-15 16:26:02 +02:00
|
|
|
android:gravity="center_vertical"
|
2022-08-26 19:00:08 +02:00
|
|
|
android:layout_gravity="center"
|
2022-08-15 16:26:02 +02:00
|
|
|
android:text="@string/archivedRepositoryMessage"
|
2022-08-26 19:00:08 +02:00
|
|
|
android:background="@drawable/shape_archived"
|
2023-03-26 08:11:59 +02:00
|
|
|
android:padding="@dimen/dimen10dp"
|
|
|
|
android:layout_marginBottom="@dimen/dimen10dp"
|
|
|
|
android:textStyle="bold"
|
|
|
|
android:textSize="@dimen/dimen14sp"
|
|
|
|
android:textColor="?attr/fabColor" />
|
2021-05-01 00:01:22 +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"
|
2020-04-07 23:17:12 +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">
|
2019-06-03 23:25:05 +02:00
|
|
|
|
2022-07-31 17:47:33 +02:00
|
|
|
<LinearLayout
|
2019-06-03 23:25:05 +02:00
|
|
|
android:layout_width="match_parent"
|
2020-04-07 23:17:12 +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"
|
|
|
|
android:orientation="vertical">
|
2022-07-31 17:47:33 +02:00
|
|
|
|
2022-08-26 19:00:08 +02:00
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/repoMetaFrameHeader"
|
|
|
|
android:layout_width="match_parent"
|
2022-07-31 17:47:33 +02:00
|
|
|
android:layout_height="wrap_content"
|
2022-08-26 19:00:08 +02:00
|
|
|
android:gravity="center"
|
|
|
|
android:minHeight="@dimen/dimen48dp"
|
|
|
|
android:orientation="horizontal">
|
2022-07-31 17:47:33 +02:00
|
|
|
|
2022-08-26 19:00:08 +02:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/repoMetaData"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/repoMetaData"
|
|
|
|
android:textSize="@dimen/dimen16sp"
|
|
|
|
android:paddingTop="@dimen/dimen10dp"
|
|
|
|
android:layout_weight="0.9"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:paddingBottom="@dimen/dimen10dp"
|
|
|
|
android:paddingStart="@dimen/dimen0dp"
|
|
|
|
android:paddingEnd="@dimen/dimen0dp"
|
2023-03-10 19:50:15 +01:00
|
|
|
android:textColor="?attr/hintColor"/>
|
2022-08-26 19:00:08 +02:00
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/repoMetaDataExpandCollapse"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="0.1"
|
|
|
|
android:layout_gravity="center_vertical|end"
|
|
|
|
android:background="?android:attr/selectableItemBackgroundBorderless"
|
|
|
|
android:contentDescription="@string/generalImgContentText"
|
|
|
|
app:srcCompat="@drawable/ic_chevron_down"/>
|
2019-06-03 23:25:05 +02:00
|
|
|
|
2022-08-26 19:00:08 +02:00
|
|
|
</LinearLayout>
|
2022-08-12 04:01:51 +02:00
|
|
|
|
|
|
|
<LinearLayout
|
2022-08-26 19:00:08 +02:00
|
|
|
android:id="@+id/repoMetaFrame"
|
2022-08-12 04:01:51 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2022-08-26 19:00:08 +02:00
|
|
|
android:orientation="vertical">
|
2020-04-07 23:17:12 +02:00
|
|
|
|
2022-08-15 16:26:02 +02:00
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
2020-04-07 23:17:12 +02:00
|
|
|
android:layout_height="wrap_content"
|
2022-08-26 19:00:08 +02:00
|
|
|
android:orientation="horizontal">
|
2022-08-15 16:26:02 +02:00
|
|
|
|
2022-08-26 19:00:08 +02:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/repoMetaOwner"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:textColor="?attr/primaryTextColor"
|
|
|
|
android:textSize="@dimen/dimen22sp"
|
|
|
|
android:textStyle="bold"/>
|
|
|
|
|
|
|
|
<TextView
|
2022-08-15 16:26:02 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2022-08-26 19:00:08 +02:00
|
|
|
android:textColor="?attr/primaryTextColor"
|
|
|
|
android:layout_marginBottom="@dimen/dimen6dp"
|
|
|
|
android:layout_marginStart="@dimen/dimen6dp"
|
|
|
|
android:layout_marginEnd="@dimen/dimen6dp"
|
|
|
|
android:text="/"
|
|
|
|
android:textSize="@dimen/dimen22sp"
|
|
|
|
android:textStyle="bold"
|
|
|
|
tools:ignore="HardcodedText"/>
|
2022-08-15 16:26:02 +02:00
|
|
|
|
|
|
|
<TextView
|
2022-08-26 19:00:08 +02:00
|
|
|
android:id="@+id/repoMetaName"
|
2022-08-15 16:26:02 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:textColor="?attr/primaryTextColor"
|
2022-08-26 19:00:08 +02:00
|
|
|
android:layout_marginBottom="@dimen/dimen6dp"
|
|
|
|
android:textSize="@dimen/dimen22sp"
|
|
|
|
android:textStyle="bold"/>
|
|
|
|
|
2022-08-15 16:26:02 +02:00
|
|
|
</LinearLayout>
|
|
|
|
|
2022-08-26 19:00:08 +02:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/repoMetaDescription"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginBottom="@dimen/dimen16dp"
|
|
|
|
android:autoLink="web"
|
|
|
|
android:ellipsize="end"
|
|
|
|
android:maxLines="3"
|
|
|
|
android:textColor="?attr/primaryTextColor"
|
|
|
|
android:textColorLink="@color/lightBlue"
|
|
|
|
android:textSize="@dimen/dimen16sp"/>
|
|
|
|
|
2023-04-12 22:43:25 +02:00
|
|
|
<com.google.android.material.card.MaterialCardView
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
style="?attr/materialCardViewElevatedStyle"
|
|
|
|
android:backgroundTint="@android:color/transparent"
|
|
|
|
app:cardElevation="@dimen/dimen0dp">
|
|
|
|
|
|
|
|
<org.mian.gitnex.helpers.languagestatistics.LanguageStatisticsBar
|
|
|
|
android:id="@+id/languages_statistic"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:thumbTint="@android:color/transparent"
|
|
|
|
android:clickable="false"
|
|
|
|
android:focusable="false"
|
|
|
|
android:enabled="false"
|
|
|
|
android:progressDrawable="@android:color/transparent"
|
|
|
|
android:visibility="gone" />
|
|
|
|
|
|
|
|
</com.google.android.material.card.MaterialCardView>
|
|
|
|
|
2022-08-15 16:26:02 +02:00
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
2020-04-07 23:17:12 +02:00
|
|
|
android:layout_height="wrap_content"
|
2022-08-26 19:00:08 +02:00
|
|
|
android:layout_marginTop="@dimen/dimen20dp"
|
|
|
|
android:layout_marginBottom="@dimen/dimen20dp"
|
|
|
|
android:baselineAligned="false"
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/repoMetaStarsFrame"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:background="?android:attr/selectableItemBackgroundBorderless"
|
|
|
|
android:focusable="true"
|
|
|
|
android:clickable="true"
|
|
|
|
android:gravity="center"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:contentDescription="@string/repoStargazersInMenu"
|
|
|
|
app:srcCompat="@drawable/ic_star_unfilled"/>
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/repoMetaStars"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:textColor="?attr/primaryTextColor"
|
|
|
|
android:textSize="@dimen/dimen14sp"/>
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/repoMetaPullRequestsFrame"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:background="?android:attr/selectableItemBackgroundBorderless"
|
|
|
|
android:focusable="true"
|
|
|
|
android:clickable="true"
|
|
|
|
android:gravity="center"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:contentDescription="@string/tabPullRequests"
|
|
|
|
app:srcCompat="@drawable/ic_pull_request"/>
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/repoMetaPullRequests"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:textColor="?attr/primaryTextColor"
|
|
|
|
android:textSize="@dimen/dimen14sp"/>
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/repoMetaForksFrame"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:background="?android:attr/selectableItemBackgroundBorderless"
|
|
|
|
android:focusable="true"
|
|
|
|
android:clickable="true"
|
|
|
|
android:gravity="center"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:contentDescription="@string/infoTabRepoForksCount"
|
|
|
|
app:srcCompat="@drawable/ic_fork"/>
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/repoMetaForks"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:textColor="?attr/primaryTextColor"
|
|
|
|
android:textSize="@dimen/dimen14sp"/>
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/repoMetaWatchersFrame"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:background="?android:attr/selectableItemBackgroundBorderless"
|
|
|
|
android:focusable="true"
|
|
|
|
android:clickable="true"
|
|
|
|
android:gravity="center"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:contentDescription="@string/repoWatchersInMenu"
|
|
|
|
app:srcCompat="@drawable/ic_unwatch"/>
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/repoMetaWatchers"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:textColor="?attr/primaryTextColor"
|
|
|
|
android:textSize="@dimen/dimen14sp"/>
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/repo_fork_frame"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="horizontal"
|
|
|
|
android:background="?android:attr/selectableItemBackground"
|
|
|
|
android:paddingTop="@dimen/dimen8dp"
|
|
|
|
android:paddingBottom="@dimen/dimen8dp"
|
|
|
|
android:paddingStart="@dimen/dimen16dp"
|
|
|
|
android:paddingEnd="@dimen/dimen16dp">
|
2022-08-15 16:26:02 +02:00
|
|
|
|
|
|
|
<ImageView
|
2022-08-26 19:00:08 +02:00
|
|
|
android:layout_gravity="center"
|
2022-08-15 16:26:02 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2022-08-26 19:00:08 +02:00
|
|
|
app:srcCompat="@drawable/ic_fork"
|
|
|
|
android:contentDescription="@string/generalImgContentText"/>
|
2022-08-15 16:26:02 +02:00
|
|
|
|
|
|
|
<TextView
|
2022-08-26 19:00:08 +02:00
|
|
|
android:id="@+id/repo_fork"
|
|
|
|
android:layout_marginStart="15dp"
|
2022-08-15 16:26:02 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:textColor="?attr/primaryTextColor"
|
2022-08-26 19:00:08 +02:00
|
|
|
android:textSize="@dimen/dimen16sp"/>
|
|
|
|
|
2022-08-15 16:26:02 +02:00
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
2020-04-07 23:17:12 +02:00
|
|
|
android:layout_height="wrap_content"
|
2022-08-26 19:00:08 +02:00
|
|
|
android:layout_marginTop="@dimen/dimen12dp"
|
|
|
|
android:layout_marginBottom="@dimen/dimen20dp"
|
|
|
|
android:orientation="horizontal"
|
|
|
|
android:paddingStart="@dimen/dimen16dp"
|
|
|
|
android:paddingEnd="@dimen/dimen16dp">
|
2022-08-15 16:26:02 +02:00
|
|
|
|
|
|
|
<ImageView
|
2022-08-26 19:00:08 +02:00
|
|
|
android:layout_gravity="center"
|
2022-08-15 16:26:02 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2022-08-26 19:00:08 +02:00
|
|
|
android:contentDescription="@string/repoWatchersInMenu"
|
|
|
|
app:srcCompat="@drawable/ic_download"/>
|
2022-08-15 16:26:02 +02:00
|
|
|
|
2022-08-26 19:00:08 +02:00
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
2022-08-15 16:26:02 +02:00
|
|
|
android:layout_height="wrap_content"
|
2022-08-26 19:00:08 +02:00
|
|
|
android:layout_marginStart="@dimen/dimen16dp"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/infoTabRepoSize"
|
|
|
|
android:textColor="?attr/primaryTextColor"
|
|
|
|
android:textSize="@dimen/dimen16sp"/>
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/repoMetaSize"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:alpha="0.9"
|
|
|
|
android:textColor="?attr/primaryTextColor"
|
|
|
|
android:textSize="@dimen/dimen14sp"
|
|
|
|
tools:text="29"/>
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
2022-08-15 16:26:02 +02:00
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
2020-04-07 23:17:12 +02:00
|
|
|
android:layout_height="wrap_content"
|
2022-08-26 19:00:08 +02:00
|
|
|
android:layout_marginBottom="20dp"
|
|
|
|
android:orientation="horizontal"
|
|
|
|
android:paddingStart="@dimen/dimen16dp"
|
|
|
|
android:paddingEnd="@dimen/dimen16dp">
|
2022-08-15 16:26:02 +02:00
|
|
|
|
|
|
|
<ImageView
|
2022-08-26 19:00:08 +02:00
|
|
|
android:layout_gravity="center"
|
2022-08-15 16:26:02 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2022-08-26 19:00:08 +02:00
|
|
|
android:contentDescription="@string/infoTabRepoCreatedAt"
|
|
|
|
app:srcCompat="@drawable/ic_calendar"/>
|
2022-08-15 16:26:02 +02:00
|
|
|
|
2022-08-26 19:00:08 +02:00
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
2022-08-15 16:26:02 +02:00
|
|
|
android:layout_height="wrap_content"
|
2022-08-26 19:00:08 +02:00
|
|
|
android:layout_marginStart="@dimen/dimen16dp"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/infoTabRepoCreatedAt"
|
|
|
|
android:textColor="?attr/primaryTextColor"
|
|
|
|
android:textSize="@dimen/dimen16sp"/>
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/repoMetaCreatedAt"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:alpha="0.9"
|
|
|
|
android:textColor="?attr/primaryTextColor"
|
|
|
|
android:textSize="@dimen/dimen14sp"
|
|
|
|
tools:text="29"/>
|
|
|
|
|
|
|
|
</LinearLayout>
|
2020-04-07 23:17:12 +02:00
|
|
|
|
2022-08-26 19:00:08 +02:00
|
|
|
</LinearLayout>
|
2022-05-04 19:25:32 +02:00
|
|
|
|
2022-08-26 19:00:08 +02:00
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginBottom="@dimen/dimen20dp"
|
|
|
|
android:orientation="horizontal"
|
|
|
|
android:paddingStart="@dimen/dimen16dp"
|
|
|
|
android:paddingEnd="@dimen/dimen16dp">
|
2022-05-04 19:25:32 +02:00
|
|
|
|
2022-08-26 19:00:08 +02:00
|
|
|
<ImageView
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:contentDescription="@string/websiteText"
|
|
|
|
app:srcCompat="@drawable/ic_link"/>
|
2020-04-07 23:17:12 +02:00
|
|
|
|
2022-08-26 19:00:08 +02:00
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/websiteFrame"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="@dimen/dimen16dp"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/websiteText"
|
|
|
|
android:textColor="?attr/primaryTextColor"
|
|
|
|
android:textSize="@dimen/dimen16sp"/>
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/repoMetaWebsite"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:alpha="0.9"
|
|
|
|
android:autoLink="web"
|
|
|
|
android:textColorLink="@color/lightBlue"
|
|
|
|
android:textColor="?attr/primaryTextColor"
|
|
|
|
android:textSize="@dimen/dimen14sp"
|
|
|
|
tools:text="29"/>
|
|
|
|
|
|
|
|
</LinearLayout>
|
2020-04-07 23:17:12 +02:00
|
|
|
|
2022-08-26 19:00:08 +02:00
|
|
|
</LinearLayout>
|
2020-04-07 23:17:12 +02:00
|
|
|
|
2022-08-26 19:00:08 +02:00
|
|
|
<com.google.android.material.button.MaterialButton
|
|
|
|
android:id="@+id/repoAdditionalButton"
|
2020-04-07 23:17:12 +02:00
|
|
|
android:layout_width="match_parent"
|
2022-08-26 19:00:08 +02:00
|
|
|
android:layout_height="@dimen/dimen54dp"
|
|
|
|
android:layout_gravity="center_horizontal"
|
|
|
|
android:layout_marginTop="@dimen/dimen6dp"
|
|
|
|
android:layout_marginBottom="@dimen/dimen20dp"
|
|
|
|
android:text="@string/infoShowMoreInformation"
|
2023-03-26 08:11:59 +02:00
|
|
|
android:textColor="?attr/materialCardBackgroundColor"/>
|
2022-08-26 19:00:08 +02:00
|
|
|
|
2020-04-07 23:17:12 +02:00
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
2022-08-26 19:00:08 +02:00
|
|
|
</com.google.android.material.card.MaterialCardView>
|
|
|
|
|
|
|
|
<com.google.android.material.card.MaterialCardView
|
|
|
|
android:id="@+id/fileContentsFrameHeader"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2023-03-26 08:11:59 +02:00
|
|
|
style="?attr/materialCardViewElevatedStyle"
|
2022-08-26 19:00:08 +02:00
|
|
|
android:layout_marginTop="@dimen/dimen8dp"
|
|
|
|
app:cardElevation="@dimen/dimen0dp">
|
|
|
|
|
2020-04-07 23:17:12 +02:00
|
|
|
<LinearLayout
|
2019-06-03 23:25:05 +02:00
|
|
|
android:layout_width="match_parent"
|
2020-06-08 08:34:53 +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"
|
|
|
|
android:orientation="vertical">
|
2020-04-07 23:17:12 +02:00
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2022-08-26 19:00:08 +02:00
|
|
|
android:gravity="center"
|
|
|
|
android:minHeight="@dimen/dimen48dp"
|
|
|
|
android:orientation="horizontal">
|
2020-04-07 23:17:12 +02:00
|
|
|
|
|
|
|
<TextView
|
2022-08-26 19:00:08 +02:00
|
|
|
android:id="@+id/repoFilename"
|
|
|
|
android:layout_width="0dp"
|
2020-04-07 23:17:12 +02:00
|
|
|
android:layout_height="wrap_content"
|
2022-08-26 19:00:08 +02:00
|
|
|
android:text="@string/defaultFilenameText"
|
|
|
|
android:textSize="@dimen/dimen16sp"
|
|
|
|
android:paddingTop="@dimen/dimen10dp"
|
|
|
|
android:layout_weight="0.9"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:paddingBottom="@dimen/dimen10dp"
|
|
|
|
android:paddingStart="@dimen/dimen0dp"
|
|
|
|
android:paddingEnd="@dimen/dimen0dp"
|
|
|
|
android:autoLink="web"
|
|
|
|
android:textColorLink="@color/lightBlue"
|
2023-03-10 19:50:15 +01:00
|
|
|
android:textColor="?attr/hintColor"/>
|
2020-04-07 23:17:12 +02:00
|
|
|
|
2022-08-26 19:00:08 +02:00
|
|
|
<ImageView
|
|
|
|
android:id="@+id/repoFilenameExpandCollapse"
|
|
|
|
android:layout_width="0dp"
|
2020-04-07 23:17:12 +02:00
|
|
|
android:layout_height="wrap_content"
|
2022-08-26 19:00:08 +02:00
|
|
|
android:layout_weight="0.1"
|
|
|
|
android:layout_gravity="center_vertical|end"
|
|
|
|
android:background="?android:attr/selectableItemBackgroundBorderless"
|
|
|
|
android:contentDescription="@string/generalImgContentText"
|
|
|
|
app:srcCompat="@drawable/ic_chevron_up"/>
|
2020-04-07 23:17:12 +02:00
|
|
|
|
2022-08-26 19:00:08 +02:00
|
|
|
</LinearLayout>
|
2020-04-07 23:17:12 +02:00
|
|
|
|
|
|
|
<LinearLayout
|
2022-08-26 19:00:08 +02:00
|
|
|
android:id="@+id/fileContentsFrame"
|
|
|
|
android:orientation="vertical"
|
2020-04-07 23:17:12 +02:00
|
|
|
android:layout_width="match_parent"
|
2022-08-26 19:00:08 +02:00
|
|
|
android:layout_height="wrap_content">
|
2020-04-07 23:17:12 +02:00
|
|
|
|
2022-08-26 19:00:08 +02:00
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
|
|
android:id="@+id/repoFileContents"
|
2020-04-07 23:17:12 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2022-08-26 19:00:08 +02:00
|
|
|
android:textIsSelectable="true"
|
|
|
|
android:textSize="@dimen/dimen16sp"
|
|
|
|
android:textColor="?attr/primaryTextColor"/>
|
|
|
|
|
2020-04-07 23:17:12 +02:00
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
2022-08-26 19:00:08 +02:00
|
|
|
</com.google.android.material.card.MaterialCardView>
|
2019-06-03 23:25:05 +02:00
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
2021-12-15 23:39:04 +01:00
|
|
|
</androidx.core.widget.NestedScrollView>
|
2019-06-03 23:25:05 +02:00
|
|
|
|
2020-06-08 08:34:53 +02:00
|
|
|
</RelativeLayout>
|