Browse Source

Wording and padding fixes in uploads list

David A. Velasco 9 years ago
parent
commit
ec9b705536

+ 4 - 1
res/layout/upload_list_item.xml

@@ -3,7 +3,10 @@
     android:id="@+id/ListItemLayout"
     android:layout_width="match_parent"
     android:orientation="horizontal"
-    android:layout_height="72dp">
+    android:layout_height="72dp"
+    android:paddingTop="@dimen/standard_half_padding"
+    android:paddingBottom="@dimen/standard_half_padding"
+    >
 
     <FrameLayout
         android:layout_width="72dp"

+ 3 - 2
res/values/strings.xml

@@ -116,8 +116,9 @@
     <string name="uploader_upload_failed_ticker">Upload failed</string>
     <string name="uploader_upload_failed_content_single">Upload of %1$s could not be completed</string>
     <string name="uploader_upload_failed_credentials_error">Upload failed, you need to log in again</string>
+    <string name="uploads_view_title">Uploads</string>
     <string name="uploads_view_group_current_uploads">Current</string>
-    <string name="uploads_view_group_failed_uploads">Failed Uploads</string>
+    <string name="uploads_view_group_failed_uploads">Failed</string>
     <string name="uploads_view_group_finished_uploads">Uploaded</string>
     <string name="uploads_view_upload_status_succeeded">Completed</string>
     <string name="uploads_view_upload_status_cancelled">Cancelled</string>
@@ -427,7 +428,7 @@
     <string name="edit_share_unshare">Stop sharing</string>
     <string name="edit_share_done">done</string>
 
-    <string name="action_retry_uploads">Retry current uploads</string>
+    <string name="action_retry_uploads">Retry failed uploads</string>
     <string name="action_clear_failed_uploads">Clear failed uploads</string>
     <string name="action_clear_finished_uploads">Clear finished uploads</string>
     <string name="action_clear_all_uploads">Clear all uploads</string>

+ 1 - 0
src/com/owncloud/android/ui/activity/UploadListActivity.java

@@ -85,6 +85,7 @@ public class UploadListActivity extends FileActivity implements UploadListFragme
         getSupportActionBar().setHomeButtonEnabled(true);
         mDrawerToggle.setDrawerIndicatorEnabled(true);
         getSupportActionBar().setDisplayHomeAsUpEnabled(true);
+        getSupportActionBar().setTitle(R.string.uploads_view_title);
 
     }