Loading res/values/strings.xml +2 −0 Original line number Diff line number Diff line Loading @@ -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"> Loading src/com/android/documentsui/SelectionBarController.kt +1 −1 Original line number Diff line number Diff line Loading @@ -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() Loading Loading
res/values/strings.xml +2 −0 Original line number Diff line number Diff line Loading @@ -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"> Loading
src/com/android/documentsui/SelectionBarController.kt +1 −1 Original line number Diff line number Diff line Loading @@ -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() Loading