Fixing and improving scaling of images, improving performance by doing work that has to be done once only once and using different terminology. (#831)

remove unknown case for editing

Improve var names and code formatting

Minor improvements.

Restoring ACRA functionality.

Fixing and improving scaling of images, improving performance by doing work that has to be done once only once and using different terminology.

Co-authored-by: M M Arif <mmarif@swatian.com>
Reviewed-on: https://codeberg.org/gitnex/GitNex/pulls/831
Reviewed-by: M M Arif <mmarif@noreply.codeberg.org>
Co-Authored-By: opyale <opyale@noreply.codeberg.org>
Co-Committed-By: opyale <opyale@noreply.codeberg.org>
This commit is contained in:
opyale
2021-02-13 20:31:38 +01:00
committed by M M Arif
parent 711711274e
commit d8a14105c9
36 changed files with 387 additions and 369 deletions

View File

@ -94,7 +94,7 @@
android:id="@+id/organization"
android:layout_width="match_parent"
android:layout_height="60dp"
android:text="@string/navOrgs"
android:text="@string/navOrg"
android:textColor="@color/btnTextColor"
android:textSize="16sp"
android:layout_marginTop="8dp" />

View File

@ -22,7 +22,7 @@
android:layout_marginTop="20dp"
android:layout_marginBottom="20dp"
android:baselineAligned="false"
android:contentDescription="@string/app_name"
android:contentDescription="@string/appName"
android:src="@mipmap/app_logo" />
<TextView

View File

@ -48,7 +48,7 @@
android:id="@+id/tabItemInfo"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/tab_text_info" />
android:text="@string/tabTextInfo" />
<com.google.android.material.tabs.TabItem
android:id="@+id/tabItem_repos"
@ -60,7 +60,7 @@
android:id="@+id/tabItem_labels"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/tab_text_labels" />
android:text="@string/tabTextLabels" />
<com.google.android.material.tabs.TabItem
android:id="@+id/tabItem_teams"

View File

@ -48,13 +48,13 @@
android:id="@+id/tab_item_info"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/tab_text_info" />
android:text="@string/tabTextInfo" />
<com.google.android.material.tabs.TabItem
android:id="@+id/tab_item_files"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/tab_text_files" />
android:text="@string/tabTextFiles" />
<com.google.android.material.tabs.TabItem
android:id="@+id/tab_item_issues"
@ -72,25 +72,25 @@
android:id="@+id/tab_item_releases"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/tab_text_releases" />
android:text="@string/tabTextReleases" />
<com.google.android.material.tabs.TabItem
android:id="@+id/tab_item_ml"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/tab_text_ml" />
android:text="@string/tabTextMl" />
<com.google.android.material.tabs.TabItem
android:id="@+id/tab_item_labels"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/tab_text_labels" />
android:text="@string/tabTextLabels" />
<com.google.android.material.tabs.TabItem
android:id="@+id/tab_item_collaborators"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/tab_text_collaborators" />
android:text="@string/tabTextCollaborators" />
</com.google.android.material.tabs.TabLayout>
</com.google.android.material.appbar.AppBarLayout>

View File

@ -59,7 +59,7 @@
android:layout_marginTop="10dp"
android:layout_marginStart="44dp"
android:layout_marginEnd="24dp"
android:text="@string/settingsFileviewerSourceCodeHeaderText"
android:text="@string/settingsFileViewerSourceCodeHeaderText"
android:textColor="?attr/primaryTextColor"/>
<TextView
@ -69,7 +69,7 @@
android:textSize="14sp"
android:layout_marginStart="44dp"
android:layout_marginEnd="24dp"
android:text="@string/settingsFileviewerSourceCodeSelectedText"
android:text="@string/settingsFileViewerSourceCodeSelectedText"
android:textColor="?attr/selectedTextColor"/>
</LinearLayout>

View File

@ -11,7 +11,7 @@
android:gravity="center"
android:textSize="16sp"
app:textAllCaps="true"
android:text="@string/tab_text_releases"
android:text="@string/tabTextReleases"
android:textColor="@color/lightGray" />
<TextView

View File

@ -24,14 +24,14 @@
android:layout_gravity="center_horizontal"
android:layout_marginTop="20dp"
android:baselineAligned="false"
android:contentDescription="@string/app_name"
android:contentDescription="@string/appName"
android:src="@mipmap/app_logo" />
<TextView
android:id="@+id/appName"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/app_name"
android:text="@string/appName"
android:textIsSelectable="true"
android:layout_marginTop="5dp"
android:textSize="24sp"

View File

@ -11,7 +11,7 @@
android:id="@+id/collaboratorAvatar"
android:layout_width="match_parent"
android:layout_height="110dp"
android:contentDescription="@string/tab_text_collaborators"
android:contentDescription="@string/tabTextCollaborators"
android:src="@drawable/ic_person" />
<TextView
@ -20,7 +20,7 @@
android:layout_height="60dp"
android:gravity="top|center_horizontal"
android:layout_marginTop="1dp"
android:text="@string/tab_text_collaborators"
android:text="@string/tabTextCollaborators"
android:textSize="14sp"
android:textColor="?attr/primaryTextColor" />

View File

@ -107,7 +107,7 @@
android:id="@+id/repoFullName"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/repoFullname"
android:text="@string/repoFullName"
android:textColor="?attr/primaryTextColor"
android:textSize="16sp"
android:textStyle="bold" />