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

index 17b098a..ee1f26a 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 836eccc..40372e3 100644 (file)
@@ -202,9 +202,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
 \r
 \r
                     lastModV.setVisibility(View.VISIBLE);\r
 \r
 \r
                     lastModV.setVisibility(View.VISIBLE);\r
index a72a0ef..af3bdf0 100644 (file)
@@ -132,9 +132,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);