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:
@@ -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"/>
|
||||
|
||||
17
docs-android/app/src/main/res/menu/document_activity.xml
Normal file
17
docs-android/app/src/main/res/menu/document_activity.xml
Normal 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>
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user