1
0
mirror of https://github.com/sismics/docs.git synced 2026-01-10 15:29:36 +00:00

Android: File(s) download

This commit is contained in:
jendib
2014-11-22 22:18:21 +01:00
parent 92b2219bed
commit bc719b3165
6 changed files with 130 additions and 7 deletions

View File

@@ -15,7 +15,8 @@
<TextView
android:id="@+id/createdDateLabel"
android:layout_width="100dp"
android:layout_height="wrap_content"
android:layout_height="24dp"
android:gravity="center_vertical"
android:layout_alignParentTop="true"
android:layout_marginRight="8dp"
android:layout_marginEnd="8dp"
@@ -27,7 +28,8 @@
android:layout_toRightOf="@id/createdDateLabel"
android:layout_toEndOf="@id/createdDateLabel"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_height="24dp"
android:gravity="center_vertical"
android:layout_alignParentTop="true"
android:fontFamily="sans-serif-light"
android:text="01/12/2014"/>

View File

@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="utf-8"?>
<menu xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto">
<item
android:id="@+id/download_file"
app:showAsAction="collapseActionView"
android:title="@string/download_file">
</item>
<item
android:id="@+id/download_document"
app:showAsAction="collapseActionView"
android:title="@string/download_document">
</item>
</menu>

View File

@@ -26,5 +26,9 @@
<string name="validate_error_length_max">Too long (max. %d)</string>
<string name="validate_error_required">Required</string>
<string name="validate_error_alphanumeric">Only letters and numbers</string>
<string name="download_file">Download current file</string>
<string name="downloading_file">Downloading file number %1s</string>
<string name="download_document">Download all files</string>
<string name="downloading_document">Downloading document</string>
</resources>