diff --git a/res/layout/list_item.xml b/res/layout/list_item.xml index 680efe7f78..a72bdafa5d 100644 --- a/res/layout/list_item.xml +++ b/res/layout/list_item.xml @@ -95,7 +95,7 @@ android:id="@+id/last_size" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:text="TextView" + android:text="Size MB" android:textColor="@color/list_item_lastmod_and_filesize_text" android:textSize="@dimen/two_line_secondary_text_size"/> @@ -113,7 +113,7 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:gravity="right" - android:text="TextView" + android:text="Mod Date" android:textColor="@color/list_item_lastmod_and_filesize_text" android:textSize="@dimen/two_line_secondary_text_size"/> diff --git a/src/com/owncloud/android/ui/adapter/FileListListAdapter.java b/src/com/owncloud/android/ui/adapter/FileListListAdapter.java index f561ceb797..e9e96145ed 100644 --- a/src/com/owncloud/android/ui/adapter/FileListListAdapter.java +++ b/src/com/owncloud/android/ui/adapter/FileListListAdapter.java @@ -193,9 +193,9 @@ public class FileListListAdapter extends BaseAdapter implements ListAdapter { switch (viewType){ case LIST_ITEM: - TextView fileSizeV = (TextView) view.findViewById(R.id.file_size); + TextView fileSizeV = (TextView) view.findViewById(R.id.last_size); TextView fileSizeSeparatorV = (TextView) view.findViewById(R.id.file_separator); - TextView lastModV = (TextView) view.findViewById(R.id.last_mod); + TextView lastModV = (TextView) view.findViewById(R.id.file_mod); ImageView checkBoxV = (ImageView) view.findViewById(R.id.custom_checkbox); lastModV.setVisibility(View.VISIBLE);