AppListFragment: add title to action mode

This commit is contained in:
Peter Cai 2018-10-14 13:46:57 +08:00
parent b95eed4e46
commit f5e5e1b8af
No known key found for this signature in database
GPG key ID: 71F5FB4E4F3FD54F
3 changed files with 3 additions and 0 deletions

View file

@ -195,6 +195,7 @@ public class AppListFragment extends Fragment {
@Override
public boolean onPrepareActionMode(ActionMode mode, Menu menu) {
mode.setTitle(R.string.batch_operation);
return true;
}

View file

@ -15,6 +15,7 @@
<string name="fragment_profile_main">主用户</string>
<string name="fragment_profile_work">Shelter</string>
<string name="list_item_disabled">[已冻结] %s</string>
<string name="batch_operation">批量操作</string>
<!-- App Context Menu -->
<string name="clone_to_work_profile">克隆到 Shelter (工作用户)</string>

View file

@ -17,6 +17,7 @@
<string name="fragment_profile_main">Main</string>
<string name="fragment_profile_work">Shelter</string>
<string name="list_item_disabled">[Frozen] %s</string>
<string name="batch_operation">Batch operation</string>
<!-- App Context Menu -->
<string name="clone_to_work_profile">Clone to Shelter (Work Profile)</string>