UI improvements (#699)

UI improvements

Co-authored-by: M M Arif <mmarif@swatian.com>
Reviewed-on: https://codeberg.org/gitnex/GitNex/pulls/699
This commit is contained in:
M M Arif 2020-09-16 20:03:52 +02:00
parent a75ffe0381
commit 78782d159a
4 changed files with 19 additions and 13 deletions

View File

@ -43,6 +43,7 @@
app:hintTextColor="?attr/hintColor"
app:boxStrokeErrorColor="@color/darkRed"
android:layout_marginBottom="8dp"
android:layout_marginTop="8dp"
android:hint="@string/newRepoTintCopy">
<com.google.android.material.textfield.TextInputEditText
@ -77,14 +78,14 @@
android:layout_height="wrap_content"
android:paddingStart="16dp"
android:paddingEnd="16dp"
android:paddingTop="4dp"
android:paddingBottom="4dp"
android:paddingTop="8dp"
android:paddingBottom="8dp"
android:orientation="horizontal" >
<Button
android:id="@+id/cancel"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_height="60dp"
style="?android:attr/button"
android:layout_alignParentStart="true"
android:text="@string/cancelButton"
@ -94,7 +95,7 @@
<Button
android:id="@+id/delete"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_height="60dp"
style="?android:attr/button"
android:layout_alignParentEnd="true"
android:text="@string/menuDeleteText"

View File

@ -62,6 +62,7 @@
app:hintTextColor="?attr/hintColor"
app:boxStrokeErrorColor="@color/darkRed"
android:layout_marginBottom="8dp"
android:layout_marginTop="8dp"
android:hint="@string/websiteText">
<com.google.android.material.textfield.TextInputEditText
@ -83,6 +84,8 @@
android:textColorHint="?attr/hintColor"
app:hintTextColor="?attr/hintColor"
app:boxStrokeErrorColor="@color/darkRed"
android:layout_marginBottom="8dp"
android:layout_marginTop="8dp"
android:hint="@string/newRepoDescTintCopy">
<com.google.android.material.textfield.TextInputEditText
@ -197,14 +200,14 @@
android:layout_height="wrap_content"
android:paddingStart="16dp"
android:paddingEnd="16dp"
android:paddingTop="4dp"
android:paddingBottom="4dp"
android:paddingTop="8dp"
android:paddingBottom="8dp"
android:orientation="horizontal" >
<Button
android:id="@+id/cancel"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_height="60dp"
style="?android:attr/button"
android:layout_alignParentStart="true"
android:text="@string/cancelButton"
@ -214,7 +217,7 @@
<Button
android:id="@+id/save"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_height="60dp"
style="?android:attr/button"
android:layout_alignParentEnd="true"
android:text="@string/saveButton"

View File

@ -44,6 +44,7 @@
app:hintTextColor="?attr/hintColor"
app:boxStrokeErrorColor="@color/darkRed"
android:layout_marginBottom="8dp"
android:layout_marginTop="8dp"
android:hint="@string/newRepoTintCopy">
<com.google.android.material.textfield.TextInputEditText
@ -66,6 +67,7 @@
app:hintTextColor="?attr/hintColor"
app:boxStrokeErrorColor="@color/darkRed"
android:layout_marginBottom="8dp"
android:layout_marginTop="8dp"
android:hint="@string/repoTransferOwnerText">
<com.google.android.material.textfield.TextInputEditText
@ -100,14 +102,14 @@
android:layout_height="wrap_content"
android:paddingStart="16dp"
android:paddingEnd="16dp"
android:paddingTop="4dp"
android:paddingBottom="4dp"
android:paddingTop="8dp"
android:paddingBottom="8dp"
android:orientation="horizontal" >
<Button
android:id="@+id/cancel"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_height="60dp"
style="?android:attr/button"
android:layout_alignParentStart="true"
android:text="@string/cancelButton"
@ -117,7 +119,7 @@
<Button
android:id="@+id/transfer"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_height="60dp"
style="?android:attr/button"
android:layout_alignParentEnd="true"
android:text="@string/repoTransferText"

View File

@ -28,7 +28,7 @@
<Button
android:id="@+id/manageAccounts"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_height="60dp"
android:layout_margin="16dp"
android:paddingStart="4dp"
android:paddingEnd="4dp"