remove unnessary files of editor; add 'delete line' and 'copy line' options to editor context menu
This commit is contained in:
11
app/src/main/res/menu/context_menu_editor.xml
Normal file
11
app/src/main/res/menu/context_menu_editor.xml
Normal file
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<menu xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<item
|
||||
android:id="@+id/action_copy_line"
|
||||
android:title="@string/text_copy_line"/>
|
||||
|
||||
<item
|
||||
android:id="@+id/action_delete_line"
|
||||
android:title="@string/text_delete_line"/>
|
||||
</menu>
|
||||
@@ -310,4 +310,7 @@
|
||||
</string-array>
|
||||
<string name="title_activity_log">LogActivity</string>
|
||||
<string name="text_open_main_activity">打开主界面</string>
|
||||
<string name="text_select_all">全选</string>
|
||||
<string name="text_cut">剪切</string>
|
||||
<string name="text_copy">复制</string>
|
||||
</resources>
|
||||
|
||||
@@ -7,6 +7,11 @@
|
||||
|
||||
</style>
|
||||
|
||||
<style name="EditorTheme" parent="AppTheme">
|
||||
<item name="android:windowActionModeOverlay">true</item>
|
||||
<item name="android:actionModeBackground">@color/colorAccent</item>
|
||||
</style>
|
||||
|
||||
<style name="AppTheme.FullScreen" parent="AppTheme">
|
||||
<!-- Customize your theme here. -->
|
||||
<item name="windowNoTitle">true</item>
|
||||
|
||||
Reference in New Issue
Block a user