Add file size to Files (#292)

Merge branch 'master' into 290-file-size

# Conflicts:
#	app/src/main/res/values/strings.xml

Generic word for size text

Add file size to Files

Reviewed-on: https://gitea.com/gitnex/GitNex/pulls/292
This commit is contained in:
M M Arif
2020-03-16 20:01:49 +00:00
parent ef9a0d57c2
commit 8df11645e8
4 changed files with 58 additions and 7 deletions

View File

@ -43,10 +43,21 @@
android:textColor="?attr/primaryTextColor"
android:textSize="16sp" />
<TextView
android:id="@+id/fileInfo"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight=".20"
android:layout_marginBottom="0dp"
android:text="@string/sizeCopy"
android:visibility="gone"
android:textColor="?attr/primaryTextColor"
android:textSize="12sp" />
<ImageView
android:id="@+id/filesDropdownMenu"
android:layout_width="0dp"
android:layout_weight=".10"
android:layout_weight=".0"
android:layout_height="wrap_content"
android:layout_gravity="end"
android:scaleType="fitEnd"

View File

@ -556,6 +556,7 @@
<string name="downloadFileSaved">File is saved to Download directory</string>
<string name="excludeFilesInFileviewer">This file type is not supported in file viewer. Download it instead from the three dotted menu?</string>
<string name="sizeCopy">Size</string>
<string name="shareIssue">Share Issue</string>
<string name="shareRepository">Share Repository</string>
</resources>