android:textAppearance="@style/secondary_text_appearance" />
</TableRow>
- <!-- Date -->
+ <!-- Last Accessed Time -->
<TableRow
android:layout_marginLeft="@dimen/extra_large_margin"
android:layout_marginRight="@dimen/extra_large_margin" >
<TextView
- android:id="@+id/fso_properties_date_label"
+ android:id="@+id/fso_properties_last_accessed_label"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="@dimen/default_margin"
android:gravity="left|center_vertical"
- android:text="@string/fso_properties_dialog_date"
+ android:text="@string/fso_properties_dialog_last_accessed_date"
android:textAppearance="@style/primary_text_appearance" />
<TextView
- android:id="@+id/fso_properties_date"
+ android:id="@+id/fso_properties_last_accessed"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_margin="@dimen/default_margin"
+ android:paddingRight="@dimen/double_margin"
+ android:gravity="left|center_vertical"
+ android:singleLine="false"
+ android:textAppearance="@style/secondary_text_appearance" />
+ </TableRow>
+
+ <!-- Last Modified Time -->
+ <TableRow
+ android:layout_marginLeft="@dimen/extra_large_margin"
+ android:layout_marginRight="@dimen/extra_large_margin" >
+
+ <TextView
+ android:id="@+id/fso_properties_last_modified_label"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_margin="@dimen/default_margin"
+ android:gravity="left|center_vertical"
+ android:text="@string/fso_properties_dialog_last_modified_date"
+ android:textAppearance="@style/primary_text_appearance" />
+
+ <TextView
+ android:id="@+id/fso_properties_last_modified"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_margin="@dimen/default_margin"
+ android:paddingRight="@dimen/double_margin"
+ android:gravity="left|center_vertical"
+ android:singleLine="false"
+ android:textAppearance="@style/secondary_text_appearance" />
+ </TableRow>
+
+ <!-- Last Changed Time -->
+ <TableRow
+ android:layout_marginLeft="@dimen/extra_large_margin"
+ android:layout_marginRight="@dimen/extra_large_margin" >
+
+ <TextView
+ android:id="@+id/fso_properties_last_changed_label"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_margin="@dimen/default_margin"
+ android:gravity="left|center_vertical"
+ android:text="@string/fso_properties_dialog_last_changed_date"
+ android:textAppearance="@style/primary_text_appearance" />
+
+ <TextView
+ android:id="@+id/fso_properties_last_changed"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="@dimen/default_margin"
<string name="fso_properties_dialog_size">Velikost:</string>
<!-- Fso Properties Dialog * Contains Label -->
<string name="fso_properties_dialog_contains">Obsah:</string>
- <!-- Fso Properties Dialog * Date Label -->
- <string name="fso_properties_dialog_date">Poslední přístup:</string>
<!-- Fso Properties Dialog * Owner Label -->
<string name="fso_properties_dialog_owner">Vlastník:</string>
<!-- Fso Properties Dialog * Group Label -->
<string name="fso_properties_dialog_size">Størrelse:</string>
<!-- Fso Properties Dialog * Contains Label -->
<string name="fso_properties_dialog_contains">Indeholder:</string>
- <!-- Fso Properties Dialog * Date Label -->
- <string name="fso_properties_dialog_date">Sidst tilgået:</string>
<!-- Fso Properties Dialog * Owner Label -->
<string name="fso_properties_dialog_owner">Ejer:</string>
<!-- Fso Properties Dialog * Group Label -->
<string name="fso_properties_dialog_size">Größe:</string>
<!-- Fso Properties Dialog * Contains Label -->
<string name="fso_properties_dialog_contains">Beinhaltet:</string>
- <!-- Fso Properties Dialog * Date Label -->
- <string name="fso_properties_dialog_date">Letzter Zugriff:</string>
<!-- Fso Properties Dialog * Owner Label -->
<string name="fso_properties_dialog_owner">Besitzer:</string>
<!-- Fso Properties Dialog * Group Label -->
<string name="fso_properties_dialog_size">Μέγεθος:</string>
<!-- Fso Properties Dialog * Contains Label -->
<string name="fso_properties_dialog_contains">Περιέχει:</string>
- <!-- Fso Properties Dialog * Date Label -->
- <string name="fso_properties_dialog_date">Τελ. προσπέλαση:</string>
<!-- Fso Properties Dialog * Owner Label -->
<string name="fso_properties_dialog_owner">Ιδιοκτήτης:</string>
<!-- Fso Properties Dialog * Group Label -->
<string name="fso_properties_dialog_link">Enlace:</string>
<string name="fso_properties_dialog_size">Tamaño:</string>
<string name="fso_properties_dialog_contains">Contenido:</string>
- <string name="fso_properties_dialog_date">Último acceso:</string>
<string name="fso_properties_dialog_owner">Propietario:</string>
<string name="fso_properties_dialog_group">Grupo:</string>
<string name="fso_properties_dialog_others">Otros:</string>
<string name="fso_properties_dialog_size">Taille\u00A0:</string>
<!-- Fso Properties Dialog * Contains Label -->
<string name="fso_properties_dialog_contains">Contenu\u00A0:</string>
- <!-- Fso Properties Dialog * Date Label -->
- <string name="fso_properties_dialog_date">Dernier accès\u00A0:</string>
<!-- Fso Properties Dialog * Owner Label -->
<string name="fso_properties_dialog_owner">Propriétaire\u00A0:</string>
<!-- Fso Properties Dialog * Group Label -->
<string name="fso_properties_dialog_size">Méret:</string>
<!-- Fso Properties Dialog * Contains Label -->
<string name="fso_properties_dialog_contains">Tartalmaz:</string>
- <!-- Fso Properties Dialog * Date Label -->
- <string name="fso_properties_dialog_date">Utolsó hozzáférés:</string>
<!-- Fso Properties Dialog * Owner Label -->
<string name="fso_properties_dialog_owner">Tulajdonos:</string>
<!-- Fso Properties Dialog * Group Label -->
<string name="fso_properties_dialog_link">Link:</string>
<string name="fso_properties_dialog_size">Dimensioni:</string>
<string name="fso_properties_dialog_contains">Contiene:</string>
- <string name="fso_properties_dialog_date">Ultimo accesso:</string>
<string name="fso_properties_dialog_owner">Proprietario:</string>
<string name="fso_properties_dialog_group">Gruppo:</string>
<string name="fso_properties_dialog_others">Altri:</string>
<string name="fso_properties_dialog_size">サイズ:</string>
<!-- Fso Properties Dialog * Contains Label -->
<string name="fso_properties_dialog_contains">内包数:</string>
- <!-- Fso Properties Dialog * Date Label -->
- <string name="fso_properties_dialog_date">最終アクセス:</string>
<!-- Fso Properties Dialog * Owner Label -->
<string name="fso_properties_dialog_owner">オーナー:</string>
<!-- Fso Properties Dialog * Group Label -->
<string name="fso_properties_dialog_size">Grootte:</string>
<!-- Fso Properties Dialog * Contains Label -->
<string name="fso_properties_dialog_contains">Inhoud:</string>
- <!-- Fso Properties Dialog * Date Label -->
- <string name="fso_properties_dialog_date">Recente toegang:</string>
<!-- Fso Properties Dialog * Owner Label -->
<string name="fso_properties_dialog_owner">Eigenaar:</string>
<!-- Fso Properties Dialog * Group Label -->
<string name="fso_properties_dialog_link">Vínculo:</string>
<string name="fso_properties_dialog_size">Tamanho:</string>
<string name="fso_properties_dialog_contains">Contém:</string>
- <string name="fso_properties_dialog_date">Último acesso:</string>
<string name="fso_properties_dialog_owner">Proprietário:</string>
<string name="fso_properties_dialog_group">Grupo:</string>
<string name="fso_properties_dialog_others">Outros:</string>
<string name="fso_properties_dialog_size">Tamanho:</string>
<!-- Fso Properties Dialog * Contains Label -->
<string name="fso_properties_dialog_contains">Contém:</string>
- <!-- Fso Properties Dialog * Date Label -->
- <string name="fso_properties_dialog_date">Último acesso:</string>
<!-- Fso Properties Dialog * Owner Label -->
<string name="fso_properties_dialog_owner">Dono:</string>
<!-- Fso Properties Dialog * Group Label -->
<string name="fso_properties_dialog_link">Link:</string>\r
<string name="fso_properties_dialog_size">Dimensiune:</string>\r
<string name="fso_properties_dialog_contains">Conţin:</string>\r
- <string name="fso_properties_dialog_date">Ultima accesare:</string>\r
<string name="fso_properties_dialog_owner">Proprietar:</string>\r
<string name="fso_properties_dialog_group">Grup:</string>\r
<string name="fso_properties_dialog_others">Altele:</string>\r
<string name="fso_properties_dialog_link">Ссылка:</string>
<string name="fso_properties_dialog_size">Размер:</string>
<string name="fso_properties_dialog_contains">Содержит:</string>
- <string name="fso_properties_dialog_date">Посл. доступ:</string>
<string name="fso_properties_dialog_owner">Владелец:</string>
<string name="fso_properties_dialog_group">Группа:</string>
<string name="fso_properties_dialog_others">Другое:</string>
<string name="fso_properties_dialog_size">大小:</string>
<!-- Fso Properties Dialog * Contains Label -->
<string name="fso_properties_dialog_contains">包含:</string>
- <!-- Fso Properties Dialog * Date Label -->
- <string name="fso_properties_dialog_date">最后一次访问:</string>
<!-- Fso Properties Dialog * Owner Label -->
<string name="fso_properties_dialog_owner">拥有者:</string>
<!-- Fso Properties Dialog * Group Label -->
<string name="fso_properties_dialog_size">Size:</string>
<!-- Fso Properties Dialog * Contains Label -->
<string name="fso_properties_dialog_contains">Contains:</string>
- <!-- Fso Properties Dialog * Date Label -->
- <string name="fso_properties_dialog_date">Last access:</string>
+ <!-- Fso Properties Dialog * Last Accessed Time Label -->
+ <string name="fso_properties_dialog_last_accessed_date">Accessed:</string>
+ <!-- Fso Properties Dialog * Last Modified Time Label -->
+ <string name="fso_properties_dialog_last_modified_date">Modified:</string>
+ <!-- Fso Properties Dialog * Last Changed Time -->
+ <string name="fso_properties_dialog_last_changed_date">Changed:</string>
<!-- Fso Properties Dialog * Owner Label -->
<string name="fso_properties_dialog_owner">Owner:</string>
<!-- Fso Properties Dialog * Group Label -->
this.mTvSize = (TextView)contentView.findViewById(R.id.fso_properties_size);
View vContatinsRow = contentView.findViewById(R.id.fso_properties_contains_row);
this.mTvContains = (TextView)contentView.findViewById(R.id.fso_properties_contains);
- TextView tvDate = (TextView)contentView.findViewById(R.id.fso_properties_date);
+ TextView tvLastAccessedTime =
+ (TextView)contentView.findViewById(R.id.fso_properties_last_accessed);
+ TextView tvLastModifiedTime =
+ (TextView)contentView.findViewById(R.id.fso_properties_last_modified);
+ TextView tvLastChangedTime =
+ (TextView)contentView.findViewById(R.id.fso_properties_last_changed);
this.mSpnOwner = (Spinner)contentView.findViewById(R.id.fso_properties_owner);
this.mSpnGroup = (Spinner)contentView.findViewById(R.id.fso_properties_group);
this.mInfoMsgView = (TextView)contentView.findViewById(R.id.fso_info_msg);
this.mTvSize.setText(size);
this.mTvContains.setText("-"); //$NON-NLS-1$
DateFormat df = DateFormat.getDateTimeInstance(DateFormat.SHORT, DateFormat.SHORT);
- tvDate.setText(df.format(this.mFso.getLastModifiedTime()));
+ try {
+ tvLastAccessedTime.setText(df.format(this.mFso.getLastAccessedTime()));
+ } catch (Exception e) {
+ tvLastAccessedTime.setText("-"); //$NON-NLS-1$
+ }
+ try {
+ tvLastModifiedTime.setText(df.format(this.mFso.getLastModifiedTime()));
+ } catch (Exception e) {
+ tvLastModifiedTime.setText("-"); //$NON-NLS-1$
+ }
+ try {
+ tvLastChangedTime.setText(df.format(this.mFso.getLastChangedTime()));
+ } catch (Exception e) {
+ tvLastChangedTime.setText("-"); //$NON-NLS-1$
+ }
//- Permissions
String loadingMsg = this.mContext.getString(R.string.loading_message);
theme.setTextColor(this.mContext, (TextView)v, "text_color"); //$NON-NLS-1$
v = this.mContentView.findViewById(R.id.fso_properties_contains);
theme.setTextColor(this.mContext, (TextView)v, "text_color"); //$NON-NLS-1$
- v = this.mContentView.findViewById(R.id.fso_properties_date_label);
+ v = this.mContentView.findViewById(R.id.fso_properties_last_accessed_label);
+ theme.setTextColor(this.mContext, (TextView)v, "text_color"); //$NON-NLS-1$
+ v = this.mContentView.findViewById(R.id.fso_properties_last_accessed);
+ theme.setTextColor(this.mContext, (TextView)v, "text_color"); //$NON-NLS-1$
+ v = this.mContentView.findViewById(R.id.fso_properties_last_modified_label);
+ theme.setTextColor(this.mContext, (TextView)v, "text_color"); //$NON-NLS-1$
+ v = this.mContentView.findViewById(R.id.fso_properties_last_modified);
+ theme.setTextColor(this.mContext, (TextView)v, "text_color"); //$NON-NLS-1$
+ v = this.mContentView.findViewById(R.id.fso_properties_last_changed_label);
theme.setTextColor(this.mContext, (TextView)v, "text_color"); //$NON-NLS-1$
- v = this.mContentView.findViewById(R.id.fso_properties_date);
+ v = this.mContentView.findViewById(R.id.fso_properties_last_changed);
theme.setTextColor(this.mContext, (TextView)v, "text_color"); //$NON-NLS-1$
v = this.mContentView.findViewById(R.id.fso_properties_owner_label);