correct text field names
authorAndy Scherzinger <info@andy-scherzinger.de>
Mon, 2 Nov 2015 14:26:00 +0000 (15:26 +0100)
committerAndy Scherzinger <info@andy-scherzinger.de>
Mon, 2 Nov 2015 14:26:00 +0000 (15:26 +0100)
res/layout/list_item.xml
src/com/owncloud/android/ui/adapter/FileListListAdapter.java
src/com/owncloud/android/ui/adapter/LocalFileListAdapter.java

index a72bdaf..71efa7d 100644 (file)
@@ -92,7 +92,7 @@
                 android:orientation="horizontal">\r
 \r
                 <TextView\r
                 android:orientation="horizontal">\r
 \r
                 <TextView\r
-                    android:id="@+id/last_size"\r
+                    android:id="@+id/file_size"\r
                     android:layout_width="wrap_content"\r
                     android:layout_height="wrap_content"\r
                     android:text="Size MB"\r
                     android:layout_width="wrap_content"\r
                     android:layout_height="wrap_content"\r
                     android:text="Size MB"\r
                     android:textSize="@dimen/two_line_secondary_text_size"/>\r
 \r
                 <TextView\r
                     android:textSize="@dimen/two_line_secondary_text_size"/>\r
 \r
                 <TextView\r
-                    android:id="@+id/file_mod"\r
+                    android:id="@+id/last_mod"\r
                     android:layout_width="wrap_content"\r
                     android:layout_height="wrap_content"\r
                     android:gravity="right"\r
                     android:layout_width="wrap_content"\r
                     android:layout_height="wrap_content"\r
                     android:gravity="right"\r
index e9e9614..f561ceb 100644 (file)
@@ -193,9 +193,9 @@ public class FileListListAdapter extends BaseAdapter implements ListAdapter {
 \r
             switch (viewType){\r
                 case LIST_ITEM:\r
 \r
             switch (viewType){\r
                 case LIST_ITEM:\r
-                    TextView fileSizeV = (TextView) view.findViewById(R.id.last_size);\r
+                    TextView fileSizeV = (TextView) view.findViewById(R.id.file_size);\r
                     TextView fileSizeSeparatorV = (TextView) view.findViewById(R.id.file_separator);\r
                     TextView fileSizeSeparatorV = (TextView) view.findViewById(R.id.file_separator);\r
-                    TextView lastModV = (TextView) view.findViewById(R.id.file_mod);\r
+                    TextView lastModV = (TextView) view.findViewById(R.id.last_mod);\r
                     ImageView checkBoxV = (ImageView) view.findViewById(R.id.custom_checkbox);\r
 \r
                     lastModV.setVisibility(View.VISIBLE);\r
                     ImageView checkBoxV = (ImageView) view.findViewById(R.id.custom_checkbox);\r
 \r
                     lastModV.setVisibility(View.VISIBLE);\r
index 54705da..a6839e5 100644 (file)
@@ -120,9 +120,9 @@ public class LocalFileListAdapter extends BaseAdapter implements ListAdapter {
             }
             fileIcon.setTag(file.hashCode());
 
             }
             fileIcon.setTag(file.hashCode());
 
-            TextView fileSizeV = (TextView) view.findViewById(R.id.last_size);
+            TextView fileSizeV = (TextView) view.findViewById(R.id.file_size);
             TextView fileSizeSeparatorV = (TextView) view.findViewById(R.id.file_separator);
             TextView fileSizeSeparatorV = (TextView) view.findViewById(R.id.file_separator);
-            TextView lastModV = (TextView) view.findViewById(R.id.file_mod);
+            TextView lastModV = (TextView) view.findViewById(R.id.last_mod);
             ImageView checkBoxV = (ImageView) view.findViewById(R.id.custom_checkbox);
             if (!file.isDirectory()) {
                 fileSizeSeparatorV.setVisibility(View.VISIBLE);
             ImageView checkBoxV = (ImageView) view.findViewById(R.id.custom_checkbox);
             if (!file.isDirectory()) {
                 fileSizeSeparatorV.setVisibility(View.VISIBLE);