mirror of https://codeberg.org/gitnex/GitNex.git
276 lines
12 KiB
XML
276 lines
12 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:paddingTop="6dp"
|
|
android:paddingBottom="12dp"
|
|
android:background="?attr/primaryBackgroundColor">
|
|
|
|
<androidx.core.widget.NestedScrollView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:orientation="vertical"
|
|
android:layout_height="wrap_content">
|
|
|
|
<TextView
|
|
android:id="@+id/newFile"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:background="?android:attr/selectableItemBackground"
|
|
android:focusable="true"
|
|
android:clickable="true"
|
|
android:drawablePadding="24dp"
|
|
android:padding="12dp"
|
|
android:text="@string/pageTitleNewFile"
|
|
android:textColor="?attr/primaryTextColor"
|
|
android:textSize="16sp"
|
|
app:drawableStartCompat="@drawable/ic_file" />
|
|
|
|
<TextView
|
|
android:id="@+id/createNewIssue"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:background="?android:attr/selectableItemBackground"
|
|
android:focusable="true"
|
|
android:clickable="true"
|
|
android:drawablePadding="24dp"
|
|
android:padding="12dp"
|
|
android:text="@string/pageTitleCreateNewIssue"
|
|
android:textColor="?attr/primaryTextColor"
|
|
android:textSize="16sp"
|
|
app:drawableStartCompat="@drawable/ic_issue" />
|
|
|
|
<TextView
|
|
android:id="@+id/createPullRequest"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:background="?android:attr/selectableItemBackground"
|
|
android:focusable="true"
|
|
android:clickable="true"
|
|
android:drawablePadding="24dp"
|
|
android:padding="12dp"
|
|
android:text="@string/pageTitleNewPullRequest"
|
|
android:textColor="?attr/primaryTextColor"
|
|
android:textSize="16sp"
|
|
app:drawableStartCompat="@drawable/ic_pull_request" />
|
|
|
|
<TextView
|
|
android:id="@+id/createNewMilestone"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:background="?android:attr/selectableItemBackground"
|
|
android:focusable="true"
|
|
android:clickable="true"
|
|
android:drawablePadding="24dp"
|
|
android:padding="12dp"
|
|
android:text="@string/pageTitleCreateMilestone"
|
|
android:textColor="?attr/primaryTextColor"
|
|
android:textSize="16sp"
|
|
app:drawableStartCompat="@drawable/ic_milestone" />
|
|
|
|
<TextView
|
|
android:id="@+id/createLabel"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:background="?android:attr/selectableItemBackground"
|
|
android:focusable="true"
|
|
android:clickable="true"
|
|
android:drawablePadding="24dp"
|
|
android:padding="12dp"
|
|
android:text="@string/createLabel"
|
|
android:textColor="?attr/primaryTextColor"
|
|
android:textSize="16sp"
|
|
app:drawableStartCompat="@drawable/ic_label" />
|
|
|
|
<TextView
|
|
android:id="@+id/createRelease"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:background="?android:attr/selectableItemBackground"
|
|
android:focusable="true"
|
|
android:clickable="true"
|
|
android:drawablePadding="24dp"
|
|
android:padding="12dp"
|
|
android:text="@string/createRelease"
|
|
android:textColor="?attr/primaryTextColor"
|
|
android:textSize="16sp"
|
|
app:drawableStartCompat="@drawable/ic_release" />
|
|
|
|
<View
|
|
android:layout_width="match_parent"
|
|
android:layout_height="1dp"
|
|
android:layout_marginTop="12dp"
|
|
android:layout_marginBottom="12dp"
|
|
android:layout_marginStart="64dp"
|
|
android:background="?attr/dividerColor" />
|
|
|
|
<TextView
|
|
android:id="@+id/addCollaborator"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:background="?android:attr/selectableItemBackground"
|
|
android:focusable="true"
|
|
android:clickable="true"
|
|
android:drawablePadding="24dp"
|
|
android:padding="12dp"
|
|
android:text="@string/addCollaboratorTitle"
|
|
android:textColor="?attr/primaryTextColor"
|
|
android:textSize="16sp"
|
|
app:drawableStartCompat="@drawable/ic_person_add" />
|
|
|
|
<TextView
|
|
android:id="@+id/starRepository"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:background="?android:attr/selectableItemBackground"
|
|
android:focusable="true"
|
|
android:clickable="true"
|
|
android:drawablePadding="24dp"
|
|
android:padding="12dp"
|
|
android:text="@string/starRepository"
|
|
android:textColor="?attr/primaryTextColor"
|
|
android:textSize="16sp"
|
|
app:drawableStartCompat="@drawable/ic_star_unfilled" />
|
|
|
|
<TextView
|
|
android:id="@+id/unStarRepository"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:background="?android:attr/selectableItemBackground"
|
|
android:focusable="true"
|
|
android:clickable="true"
|
|
android:drawablePadding="24dp"
|
|
android:padding="12dp"
|
|
android:text="@string/unStarRepository"
|
|
android:textColor="?attr/primaryTextColor"
|
|
android:textSize="16sp"
|
|
app:drawableStartCompat="@drawable/ic_star" />
|
|
|
|
<TextView
|
|
android:id="@+id/watchRepository"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:background="?android:attr/selectableItemBackground"
|
|
android:focusable="true"
|
|
android:clickable="true"
|
|
android:drawablePadding="24dp"
|
|
android:padding="12dp"
|
|
android:text="@string/watchRepository"
|
|
android:textColor="?attr/primaryTextColor"
|
|
android:textSize="16sp"
|
|
app:drawableStartCompat="@drawable/ic_unwatch" />
|
|
|
|
<TextView
|
|
android:id="@+id/unWatchRepository"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:background="?android:attr/selectableItemBackground"
|
|
android:focusable="true"
|
|
android:clickable="true"
|
|
android:drawablePadding="24dp"
|
|
android:padding="12dp"
|
|
android:text="@string/unWatchRepository"
|
|
android:textColor="?attr/primaryTextColor"
|
|
android:textSize="16sp"
|
|
app:drawableStartCompat="@drawable/ic_watchers" />
|
|
|
|
<View
|
|
android:layout_width="match_parent"
|
|
android:layout_height="1dp"
|
|
android:layout_marginTop="12dp"
|
|
android:layout_marginBottom="12dp"
|
|
android:layout_marginStart="64dp"
|
|
android:background="?attr/dividerColor" />
|
|
|
|
<TextView
|
|
android:id="@+id/copyRepoUrl"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:background="?android:attr/selectableItemBackground"
|
|
android:focusable="true"
|
|
android:clickable="true"
|
|
android:drawablePadding="24dp"
|
|
android:padding="12dp"
|
|
android:text="@string/genericCopyUrl"
|
|
android:textColor="?attr/primaryTextColor"
|
|
android:textSize="16sp"
|
|
app:drawableStartCompat="@drawable/ic_copy" />
|
|
|
|
<TextView
|
|
android:id="@+id/shareRepository"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:background="?android:attr/selectableItemBackground"
|
|
android:focusable="true"
|
|
android:clickable="true"
|
|
android:drawablePadding="24dp"
|
|
android:padding="12dp"
|
|
android:text="@string/shareRepository"
|
|
android:textColor="?attr/primaryTextColor"
|
|
android:textSize="16sp"
|
|
app:drawableStartCompat="@drawable/ic_share" />
|
|
|
|
<TextView
|
|
android:id="@+id/openWebRepo"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:background="?android:attr/selectableItemBackground"
|
|
android:focusable="true"
|
|
android:clickable="true"
|
|
android:drawablePadding="24dp"
|
|
android:padding="12dp"
|
|
android:text="@string/openWebRepo"
|
|
android:textColor="?attr/primaryTextColor"
|
|
android:textSize="16sp"
|
|
app:drawableStartCompat="@drawable/ic_browser" />
|
|
|
|
<View
|
|
android:id="@+id/repoSettingsDivider"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="1dp"
|
|
android:layout_marginTop="12dp"
|
|
android:layout_marginBottom="12dp"
|
|
android:layout_marginStart="64dp"
|
|
android:background="?attr/dividerColor" />
|
|
|
|
<TextView
|
|
android:id="@+id/repoSettings"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:background="?android:attr/selectableItemBackground"
|
|
android:focusable="true"
|
|
android:clickable="true"
|
|
android:drawablePadding="24dp"
|
|
android:padding="12dp"
|
|
android:text="@string/navSettings"
|
|
android:textColor="?attr/primaryTextColor"
|
|
android:textSize="16sp"
|
|
app:drawableStartCompat="@drawable/ic_settings" />
|
|
|
|
</LinearLayout>
|
|
|
|
</androidx.core.widget.NestedScrollView>
|
|
|
|
</LinearLayout>
|