am e3e2c471: Merge "Set ActionMode title to the number of selected files"
* commit 'e3e2c471b2504335e99ed15975c3c5c9dfbf2795': Set ActionMode title to the number of selected files
This commit is contained in:
@@ -436,6 +436,8 @@ public class DirectoryFragment extends Fragment {
|
||||
@Override
|
||||
public boolean onCreateActionMode(ActionMode mode, Menu menu) {
|
||||
mode.getMenuInflater().inflate(R.menu.mode_directory, menu);
|
||||
mode.setTitle(getResources()
|
||||
.getString(R.string.mode_selected_count, mCurrentView.getCheckedItemCount()));
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user