Fix some bugs (#596)

remove redundant casting

Fix edittext layout when typing(reduce size), fix refresh drafts. Minor improvements

Co-authored-by: M M Arif <mmarif@swatian.com>
Reviewed-on: https://codeberg.org/gitnex/GitNex/pulls/596
Reviewed-by: 6543 <6543@noreply.codeberg.org>
This commit is contained in:
M M Arif
2020-07-19 15:44:08 +02:00
committed by 6543
parent e6109ef36d
commit b529f81115
12 changed files with 28 additions and 24 deletions

View File

@ -90,7 +90,7 @@
<com.hendraanggrian.appcompat.widget.SocialAutoCompleteTextView
android:id="@+id/newIssueDescription"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_height="240dp"
android:layout_marginTop="10dp"
android:padding="10dp"
android:completionThreshold="1"
@ -222,4 +222,4 @@
</ScrollView>
</LinearLayout>
</LinearLayout>

View File

@ -139,7 +139,7 @@
<EditText
android:id="@+id/releaseContent"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_height="240dp"
android:layout_marginTop="10dp"
android:padding="10dp"
android:maxLines="8"

View File

@ -89,7 +89,7 @@
<com.hendraanggrian.appcompat.widget.SocialAutoCompleteTextView
android:id="@+id/editIssueDescription"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_height="240dp"
android:layout_marginTop="10dp"
android:padding="10dp"
android:completionThreshold="1"
@ -173,4 +173,4 @@
</ScrollView>
</LinearLayout>
</LinearLayout>

View File

@ -100,7 +100,7 @@
<EditText
android:id="@+id/newFileContent"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_height="240dp"
android:layout_marginTop="10dp"
android:padding="10dp"
android:maxLines="16"

View File

@ -90,7 +90,7 @@
<EditText
android:id="@+id/milestoneDescription"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_height="160dp"
android:layout_marginTop="10dp"
android:padding="10dp"
android:maxLines="8"

View File

@ -90,7 +90,7 @@
<EditText
android:id="@+id/newOrganizationDescription"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_height="160dp"
android:layout_marginTop="10dp"
android:padding="10dp"
android:maxLines="8"

View File

@ -118,7 +118,7 @@
<EditText
android:id="@+id/newRepoDescription"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_height="160dp"
android:layout_marginTop="10dp"
android:padding="10dp"
android:background="@drawable/shape_inputs"

View File

@ -71,7 +71,7 @@
<com.hendraanggrian.appcompat.widget.SocialAutoCompleteTextView
android:id="@+id/addComment"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_height="240dp"
android:padding="10dp"
android:completionThreshold="1"
android:background="@drawable/shape_inputs"