Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2fdd20b8 authored by François Degros's avatar François Degros
Browse files

Add 'Browse' and 'Extract here' menu items

These menu items are not visible yet.

Bug: 400829718
Bug: 400830189
Flag: com.android.documentsui.flags.use_material3
Test: Manual
Change-Id: I0bd86580caeddbaea395f3c08e2ee6225275fdc9
parent 72e54720
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -87,11 +87,13 @@
  int cross_profile;
  int cross_profile_content;
  int cross_profile_progress;
  int dir_menu_browse;
  int dir_menu_copy_to_clipboard;
  int dir_menu_create_dir;
  int dir_menu_cut_to_clipboard;
  int dir_menu_delete;
  int dir_menu_deselect_all;
  int dir_menu_extract_here;
  int dir_menu_inspect;
  int dir_menu_open;
  int dir_menu_open_in_new_window;
+9 −0
Original line number Diff line number Diff line
@@ -17,6 +17,15 @@
<!-- Context menu used when user right clicks on a file with a selection that doesn't have folders.
    The selection may be empty. -->
<menu xmlns:android="http://schemas.android.com/apk/res/android">
    <item
        android:id="@+id/dir_menu_extract_here"
        android:title="@string/menu_extract_here"
        android:visible="false" />
    <item
        android:id="@+id/dir_menu_browse"
        android:title="@string/menu_browse"
        android:visible="false" />

    <group
        android:id="@+id/menu_open_group">
        <item
+4 −0
Original line number Diff line number Diff line
@@ -80,6 +80,10 @@
    <string name="menu_extract">Extract to\u2026</string>
    <!-- Menu item title that extracts all the documents in the current directory [CHAR LIMIT=28] -->
    <string name="menu_extract_all">Extract all\u2026</string>
    <!-- Menu item title that extracts the contents of the selected archive [CHAR LIMIT=28] -->
    <string name="menu_extract_here">Extract here</string>
    <!-- Menu item title that browses the contents of the selected archive [CHAR LIMIT=28] -->
    <string name="menu_browse">Browse</string>
    <!-- Menu item that renames the selected document [CHAR LIMIT=28] -->
    <string name="menu_rename">Rename</string>
    <!-- Menu item that displays properties about the selected document [CHAR LIMIT=28] -->