AppListFragment: add title to action mode
This commit is contained in:
parent
b95eed4e46
commit
f5e5e1b8af
|
@ -195,6 +195,7 @@ public class AppListFragment extends Fragment {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean onPrepareActionMode(ActionMode mode, Menu menu) {
|
public boolean onPrepareActionMode(ActionMode mode, Menu menu) {
|
||||||
|
mode.setTitle(R.string.batch_operation);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -15,6 +15,7 @@
|
||||||
<string name="fragment_profile_main">主用户</string>
|
<string name="fragment_profile_main">主用户</string>
|
||||||
<string name="fragment_profile_work">Shelter</string>
|
<string name="fragment_profile_work">Shelter</string>
|
||||||
<string name="list_item_disabled">[已冻结] %s</string>
|
<string name="list_item_disabled">[已冻结] %s</string>
|
||||||
|
<string name="batch_operation">批量操作</string>
|
||||||
|
|
||||||
<!-- App Context Menu -->
|
<!-- App Context Menu -->
|
||||||
<string name="clone_to_work_profile">克隆到 Shelter (工作用户)</string>
|
<string name="clone_to_work_profile">克隆到 Shelter (工作用户)</string>
|
||||||
|
|
|
@ -17,6 +17,7 @@
|
||||||
<string name="fragment_profile_main">Main</string>
|
<string name="fragment_profile_main">Main</string>
|
||||||
<string name="fragment_profile_work">Shelter</string>
|
<string name="fragment_profile_work">Shelter</string>
|
||||||
<string name="list_item_disabled">[Frozen] %s</string>
|
<string name="list_item_disabled">[Frozen] %s</string>
|
||||||
|
<string name="batch_operation">Batch operation</string>
|
||||||
|
|
||||||
<!-- App Context Menu -->
|
<!-- App Context Menu -->
|
||||||
<string name="clone_to_work_profile">Clone to Shelter (Work Profile)</string>
|
<string name="clone_to_work_profile">Clone to Shelter (Work Profile)</string>
|
||||||
|
|
Loading…
Reference in a new issue