Make directory up navigation easier to understand

This commit is contained in:
William Brawner 2018-09-04 18:05:10 -05:00
parent de56dd96bf
commit 6be3221bd5
2 changed files with 2 additions and 1 deletions

View file

@ -174,7 +174,7 @@ public class ExplorerActivity extends AppCompatActivity {
};
if (docsDir.getParentFile() != null && docsDir.getParentFile().canRead()) {
HashMap<String, Object> fileHashMap = new HashMap<>();
fileHashMap.put("name", "..");
fileHashMap.put("name", getString(R.string.directory_up));
fileHashMap.put("file", docsDir.getParentFile());
dirs.add(fileHashMap);

View file

@ -40,6 +40,7 @@
<string name="value_explorer_view">File Explorer View</string>
<string name="pref_description_default_root">Default Root Directory</string>
<string name="action_select">Select</string>
<string name="directory_up">\u2191 Go up</string>
<string-array name="pref_entries_default_view">
<item>@string/value_edit_view</item>
<item>@string/value_explorer_view</item>