diff --git a/scripts/lint/lint-results.txt b/scripts/lint/lint-results.txt
index ac5dcec031..122bbac119 100644
--- a/scripts/lint/lint-results.txt
+++ b/scripts/lint/lint-results.txt
@@ -1,2 +1,2 @@
DO NOT TOUCH; GENERATED BY DRONE
- Lint Report: 511 warnings
+ Lint Report: 509 warnings
diff --git a/src/main/java/com/owncloud/android/ui/adapter/ActivityListAdapter.java b/src/main/java/com/owncloud/android/ui/adapter/ActivityListAdapter.java
index cea515475b..2c467c6025 100644
--- a/src/main/java/com/owncloud/android/ui/adapter/ActivityListAdapter.java
+++ b/src/main/java/com/owncloud/android/ui/adapter/ActivityListAdapter.java
@@ -21,12 +21,16 @@ package com.owncloud.android.ui.adapter;
import android.content.Context;
import android.content.res.Resources;
+import android.graphics.Color;
import android.graphics.drawable.PictureDrawable;
import android.net.Uri;
import android.support.v7.widget.RecyclerView;
import android.text.Spannable;
import android.text.SpannableStringBuilder;
+import android.text.TextPaint;
import android.text.TextUtils;
+import android.text.format.DateFormat;
+import android.text.format.DateUtils;
import android.text.method.LinkMovementMethod;
import android.text.style.ClickableSpan;
import android.text.style.ForegroundColorSpan;
@@ -58,7 +62,6 @@ import com.owncloud.android.lib.resources.files.FileUtils;
import com.owncloud.android.ui.interfaces.ActivityListInterface;
import com.owncloud.android.utils.DisplayUtils;
import com.owncloud.android.utils.MimeTypeUtil;
-import com.owncloud.android.utils.ThemeUtils;
import com.owncloud.android.utils.glide.CustomGlideStreamLoader;
import com.owncloud.android.utils.svg.SvgDecoder;
import com.owncloud.android.utils.svg.SvgDrawableTranscoder;
@@ -66,7 +69,6 @@ import com.owncloud.android.utils.svg.SvgSoftwareLayerSetter;
import java.io.InputStream;
import java.util.ArrayList;
-import java.util.Date;
import java.util.List;
/**
@@ -103,19 +105,16 @@ public class ActivityListAdapter extends RecyclerView.Adapter seconds ago
- else if ((System.currentTimeMillis() - time) < 60 * 1000) {
+ else if ((System.currentTimeMillis() - time) < 60 * 1000 && minResolution == DateUtils.SECOND_IN_MILLIS) {
return c.getString(R.string.file_list_seconds_ago);
} else {
dateString = DateUtils.getRelativeDateTimeString(c, time, minResolution, transitionResolution, flags);
@@ -347,7 +348,7 @@ public class DisplayUtils {
return parts[1];
}
}
- //dateString contains unexpected format. fallback: use relative date time string from android api as is.
+ // dateString contains unexpected format. fallback: use relative date time string from android api as is.
return dateString.toString();
}
diff --git a/src/main/res/layout/activity_list_item.xml b/src/main/res/layout/activity_list_item.xml
index 7db365736b..e6ec5b89a4 100644
--- a/src/main/res/layout/activity_list_item.xml
+++ b/src/main/res/layout/activity_list_item.xml
@@ -26,14 +26,15 @@
android:paddingTop="@dimen/standard_padding"
android:paddingRight="@dimen/standard_padding"
android:paddingBottom="@dimen/standard_padding"
- android:paddingLeft="12dp">
+ android:paddingLeft="@dimen/standard_padding">
+ android:text="@string/placeholder_filename"
+ android:textSize="20sp"/>
\ No newline at end of file
diff --git a/src/main/res/values/strings.xml b/src/main/res/values/strings.xml
index 38a83c4c04..82724387a5 100644
--- a/src/main/res/values/strings.xml
+++ b/src/main/res/values/strings.xml
@@ -710,4 +710,5 @@
Push notifications disabled due to dependencies on proprietary Google Play services.
No push notifications due to outdated login session. Please consider re-adding your account.
Push notifications currently not available.
+ Unknown