2020-09-13 06:54:05 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:orientation="vertical"
|
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
android:background="?attr/primaryBackgroundColor">
|
|
|
|
|
|
|
|
<com.google.android.material.appbar.AppBarLayout
|
|
|
|
android:id="@+id/appbar"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:theme="@style/Widget.AppCompat.SearchView">
|
|
|
|
|
|
|
|
<com.google.android.material.appbar.MaterialToolbar
|
|
|
|
android:id="@+id/toolbar"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:background="?attr/primaryBackgroundColor">
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/close"
|
|
|
|
android:layout_width="@dimen/close_button_size"
|
|
|
|
android:layout_height="@dimen/close_button_size"
|
|
|
|
android:layout_marginRight="15dp"
|
|
|
|
android:layout_marginLeft="15dp"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:contentDescription="@string/close"
|
|
|
|
android:src="@drawable/ic_arrow_back" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/toolbarTitle"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:text="@string/repoSettingsTitle"
|
|
|
|
android:textColor="?attr/primaryTextColor"
|
|
|
|
android:maxLines="1"
|
|
|
|
android:textSize="20sp" />
|
|
|
|
|
|
|
|
</com.google.android.material.appbar.MaterialToolbar>
|
|
|
|
|
|
|
|
</com.google.android.material.appbar.AppBarLayout>
|
|
|
|
|
|
|
|
<ScrollView android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:background="?attr/primaryBackgroundColor">
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:layout_height="wrap_content">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/editProperties"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:text="@string/repoSettingsEditProperties"
|
|
|
|
android:drawableStart="@drawable/ic_edit"
|
|
|
|
android:drawablePadding="32dp"
|
|
|
|
android:textColor="?attr/primaryTextColor"
|
|
|
|
android:textSize="16sp"
|
|
|
|
android:padding="16dp" />
|
|
|
|
|
|
|
|
<View
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="1dp"
|
|
|
|
android:background="?attr/dividerColor" />
|
|
|
|
|
2020-09-16 08:53:13 +02:00
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/transferOwnerFrame"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:visibility="gone">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/transferRepositoryOwnership"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:text="@string/repoSettingsTransferOwnership"
|
|
|
|
android:drawableStart="@drawable/ic_arrow_up"
|
|
|
|
android:drawablePadding="32dp"
|
|
|
|
android:textColor="?attr/primaryTextColor"
|
|
|
|
android:textSize="16sp"
|
|
|
|
android:paddingTop="16dp"
|
|
|
|
android:paddingStart="16dp"
|
|
|
|
android:paddingEnd="16dp" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/transferRepositoryOwnershipHint"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:text="@string/repoSettingsTransferOwnershipHint"
|
|
|
|
android:textColor="?attr/hintColor"
|
|
|
|
android:textSize="12sp"
|
|
|
|
android:paddingBottom="16dp"
|
|
|
|
android:paddingStart="72dp"
|
|
|
|
android:paddingEnd="16dp" />
|
|
|
|
|
|
|
|
<View
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="1dp"
|
|
|
|
android:background="?attr/dividerColor" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
2020-09-13 06:54:05 +02:00
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:paddingBottom="16dp">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/deleteRepository"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:text="@string/repoSettingsDelete"
|
|
|
|
android:drawableStart="@drawable/ic_delete"
|
|
|
|
android:drawablePadding="32dp"
|
|
|
|
android:textColor="?attr/primaryTextColor"
|
|
|
|
android:textSize="16sp"
|
|
|
|
android:paddingTop="16dp"
|
|
|
|
android:paddingStart="16dp"
|
|
|
|
android:paddingEnd="16dp" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/deleteRepositoryHint"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:text="@string/repoSettingsDeleteHint"
|
|
|
|
android:textColor="?attr/hintColor"
|
|
|
|
android:textSize="12sp"
|
|
|
|
android:paddingStart="72dp"
|
|
|
|
android:paddingEnd="16dp" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</ScrollView>
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|