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

Commit efd38421 authored by Wenbo Jie (介文博)'s avatar Wenbo Jie (介文博) Committed by Android (Google) Code Review
Browse files

Merge "[DocsUI M3] Add a string for "clear selection"" into main

parents d9f1e83f 6b72eef0
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -470,6 +470,8 @@
        <item quantity="one"><xliff:g id="count" example="1">%1$d</xliff:g> selected</item>
        <item quantity="other"><xliff:g id="count" example="3">%1$d</xliff:g> selected</item>
    </plurals>
    <!-- Text used as the content description of the cancel button when files are selected. -->
    <string name="clear_selection">Clear selection</string>

    <!-- Label text showing user how many items are being dragged. Can be one or more elements. -->
    <plurals name="elements_dragged">
+1 −1
Original line number Diff line number Diff line
@@ -86,7 +86,7 @@ class SelectionBarController(
                )
        selectionBar.title = title
        selectionBar.setNavigationIcon(getRes(R.drawable.ic_cancel))
        selectionBar.setNavigationContentDescription(android.R.string.cancel)
        selectionBar.setNavigationContentDescription(R.string.clear_selection)
        selectionBar.setOnMenuItemClickListener { menuItemClicker?.accept(it) == true }
        selectionBar.setNavigationOnClickListener { closeSelectionBar() }
        updateSelectionMenu()